/* 首页专用样式 */

/* Hero Slider */
.hero-slider {
    height: 100vh;
    min-height: 650px;
    position: relative;
    overflow: hidden;
    margin-top: 60px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    padding: 0 50px;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 48, 87, 0.85) 0%, rgba(0, 88, 122, 0.75) 100%);
    z-index: -1;
}

.slide:nth-child(1)::before {
    background: linear-gradient(90deg, rgba(15, 48, 87, 0.85) 0%, rgba(0, 88, 122, 0.75) 100%), url('/template/jia/images/bangongshi.jpg') center/cover no-repeat;
}

.slide:nth-child(2)::before {
    background: linear-gradient(90deg, rgba(15, 48, 87, 0.85) 0%, rgba(0, 88, 122, 0.75) 100%), url('/template/jia/images/bangongshi1.jpg') center/cover no-repeat;
}

.slide:nth-child(3)::before {
    background: linear-gradient(90deg, rgba(15, 48, 87, 0.85) 0%, rgba(0, 88, 122, 0.75) 100%), url('/template/jia/images/bangongshi2.jpg') center/cover no-repeat;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    max-width: 650px;
    color: var(--text-light);
    padding-left: 50px;
}

.slide-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.slide-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--surface);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, var(--primary-light), var(--primary-main));
    opacity: 0.05;
    transition: var(--transition);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: var(--primary-main);
    background: rgba(0, 136, 145, 0.05);
    position: relative;
    overflow: hidden;
}

.service-icon::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(20px);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.service-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Pain Points Section */
.pain-points-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f6f9fc 0%, #e9f2f8 100%);
    position: relative;
    overflow: hidden;
}

.pain-points-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

.pain-points-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-main) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

.pain-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.pain-point-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    border-left: 4px solid var(--accent);
}

.pain-point-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, var(--primary-light), var(--primary-main));
    opacity: 0.03;
    transition: var(--transition);
    z-index: -1;
}

.pain-point-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pain-point-card:hover::before {
    height: 100%;
}

.pain-point-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-main), var(--primary-dark));
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-right: 25px;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.pain-point-card:hover .pain-point-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.pain-point-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--primary-dark);
    position: relative;
}

.pain-point-content h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    transition: var(--transition);
}

.pain-point-card:hover .pain-point-content h3::after {
    width: 50px;
}

.pain-point-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Process Section */
.process-section {
    background: linear-gradient(to bottom, var(--primary-dark), var(--primary-main));
    color: var(--text-light);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/template/jia/images/bangongshi1.jpg') center/cover no-repeat;
    opacity: 0.1;
    z-index: 0;
}

.process-section .section-title h2 {
    color: var(--text-light);
}

.process-section .section-title p {
    color: rgba(255, 255, 255, 0.8);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 0 20px;
    position: relative;
    margin-bottom: 30px;
}

.step-number {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 700;
    margin: 0 auto 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    transition: var(--transition);
}

.step:hover .step-number {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.1);
}

.step-number::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
    opacity: 0;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    70% {
        transform: scale(1.5);
        opacity: 0;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.step h3 {
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 22px;
}

.step p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* Advantages Section */
.advantages-section {
    padding: 100px 0;
    background: var(--surface);
    position: relative;
}

.advantages-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
    border-radius: 50%;
    opacity: 0.05;
    z-index: 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.advantage-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, var(--primary-light), var(--primary-main));
    opacity: 0.03;
    transition: var(--transition);
    z-index: -1;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.advantage-card:hover::before {
    height: 100%;
}

.advantage-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-main));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.advantage-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.advantage-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* About Us Section */
.about-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #f9fafb, #f1f5f9);
    position: relative;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.8;
}

.about-image {
    flex: 1;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-main), var(--primary-dark));
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    text-align: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/template/jia/images/bangongshi.jpg') center/cover no-repeat;
    opacity: 0.8;
}

/* Knowledge Base */
.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.knowledge-card {
    background: var(--surface);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    position: relative;
}

.knowledge-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.knowledge-image {
      text-decoration: none;
    background: linear-gradient(to right, var(--primary-dark), var(--primary-main));
    background-size: cover;
    background-position: center;
    position: relative;
}
.knowledge-image img{
    width: 100%;
height: 100%;

}


.knowledge-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
	text-decoration: none;
}

.knowledge-content {
    padding: 25px;
}

.knowledge-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.knowledge-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.knowledge-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 14px;
}

/* 响应式样式 */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
    }
    
    .about-image {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 500px;
    }
    
    .slide-content {
        padding-left: 20px;
    }
    
    .slide-content h2 {
        font-size: 32px;
    }
    
    .slide-content p {
        font-size: 16px;
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .pain-points-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        height: 450px;
    }
    
    .slide {
        padding: 0 20px;
    }
    
    .slide-content h2 {
        font-size: 28px;
    }
}