/* 服务页面专用样式 */

/* 页面头部 */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0 60px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/service-header-bg.svg') center/cover no-repeat;
    opacity: 0.1;
}

.header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-header .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.breadcrumb {
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    display: inline-block;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    color: white;
    font-weight: 500;
}

/* 服务概览 */
.service-overview {
    margin-bottom: 60px;
}

.service-overview h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: var(--text-primary);
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.overview-item {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid var(--border-light);
}

.overview-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.overview-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

.overview-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.overview-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 表格样式 */
.standards-table, .parameter-table, .standards-comparison {
    overflow-x: auto;
    margin-bottom: 40px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

th {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: white;
    font-weight: 600;
    padding: 16px 20px;
    text-align: left;
    border: none;
}

td {
    padding: 14px 20px;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
}

tr:nth-child(even) {
    background-color: var(--bg-accent);
}

tr:hover {
    background-color: rgba(37, 99, 235, 0.05);
}

/* 设计要点网格 */
.design-grid, .system-components, .quality-grid, .quality-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.design-item, .component-item, .quality-item, .service-item {
    background: white;
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.design-item h3, .component-item h3, .quality-item h3, .service-item h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.design-item ul, .component-item ul, .quality-item ul, .service-item ul {
    list-style-type: none;
    padding: 0;
}

.design-item li, .component-item li, .quality-item li, .service-item li {
    padding: 8px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
}

.design-item li::before, .component-item li::before {
    content: '✓';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.quality-item li::before, .service-item li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 施工流程 */
.process-steps, .process-flow {
    margin-bottom: 40px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    position: relative;
}

.process-step::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 50px;
    bottom: -25px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-light), transparent);
    z-index: 0;
}

.process-step:last-child::before {
    display: none;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.step-content {
    flex: 1;
    padding-top: 5px;
}

.step-content h3 {
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.step-content p {
    color: var(--text-secondary);
    margin-bottom: 10px;
}

/* CTA区域 */
.service-cta, .lab-cta, .cleanroom-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 60px 40px;
    border-radius: var(--radius-xl);
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: white;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: white;
    color: var(--primary);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* 实验室页面特定样式 */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.category-card {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 1.5rem;
}

.category-card h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.category-card ul {
    list-style-type: none;
    padding: 0;
    margin-bottom: 20px;
}

.category-card li {
    padding: 6px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
}

.category-card li::before {
    content: '→';
    color: var(--primary);
    position: absolute;
    left: 0;
}

.category-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* 时间线样式 */
.process-timeline {
    margin-bottom: 40px;
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 90px;
    top: 50px;
    bottom: -30px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-light), transparent);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-date {
    width: 100px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: white;
    padding: 12px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    position: relative;
    z-index: 1;
}

.timeline-content {
    flex: 1;
    background: white;
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.timeline-content h3 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.timeline-content p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

/* 洁净厂房页面特定样式 */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.industry-card {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.industry-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 1.5rem;
}

.industry-card h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.industry-card ul {
    list-style-type: none;
    padding: 0;
    margin-bottom: 20px;
}

.industry-card li {
    padding: 6px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
}

.industry-card li::before {
    content: '✓';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.industry-spec {
    background: rgba(37, 99, 235, 0.05);
    padding: 12px 20px;
    border-radius: var(--radius);
    margin-top: 15px;
    border-left: 4px solid var(--primary);
}

.spec-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-right: 8px;
}

.spec-value {
    color: var(--primary);
    font-weight: 600;
}

/* 案例卡片 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.case-card {
    background: white;
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.case-header h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin: 0;
}

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

.case-content p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.6;
}

.case-content ul {
    list-style-type: none;
    padding: 0;
}

.case-content li {
    padding: 6px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
}

.case-content li::before {
    content: '→';
    color: var(--primary);
    position: absolute;
    left: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .page-header {
        padding: 60px 0 40px;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .breadcrumb {
        font-size: 0.85rem;
        padding: 10px 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .timeline-item::before {
        left: 20px;
        top: 110px;
    }
    
    .process-step::before {
        left: 25px;
        top: 80px;
    }
}

@media (max-width: 480px) {
    .overview-grid,
    .design-grid,
    .category-grid,
    .industry-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        flex-direction: column;
        gap: 15px;
    }
    
    .process-step::before {
        left: 25px;
        top: 60px;
    }
}