/* ====== 独享CSS部分 ====== */

/* ====== 英雄区域 ====== */
.hero {
    position: relative;
    height: 90vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.8) 100%), url('/template/giaxi/images/2.jpg') center/cover no-repeat;
    overflow: hidden;
    padding-top: 200px;
}

.hero-content {
    max-width: 850px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    margin-bottom: 30px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    color: var(--gray-color);
    max-width: 700px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 70px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 10px;
    display: block;
}

.hero-stat-label {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1.1rem;
}

/* ====== 服务区域 ====== */
.services {
    position: relative;
    overflow: hidden;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.service-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 50px 40px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(0, 102, 204, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.service-card:hover:before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 25px 60px rgba(0, 102, 204, 0.15);
    border-color: rgba(0, 102, 204, 0.2);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.service-icon:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0, 160, 233, 0.1);
    border-radius: 50%;
    z-index: -1;
}

.service-card h3 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

.service-desc {
    color: var(--gray-color);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* ====== 服务流程区域 ====== */
.process {
    position: relative;
    overflow: hidden;
    background: var(--light-bg);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 80px;
    position: relative;
}

.process-steps:before {
    content: '';
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0, 102, 204, 0.1);
    z-index: 1;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
    padding: 0 20px;
}

.step-number {
    width: 120px;
    height: 120px;
    background: white;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    font-weight: 800;
    margin: 0 auto 35px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.1);
    transition: var(--transition);
    border: 5px solid white;
}

.process-step:hover .step-number {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1) rotate(10deg);
    border-color: rgba(0, 102, 204, 0.2);
}

.step-content h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

/* ====== 关于我们区域 ====== */
.about {
    position: relative;
    overflow: hidden;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.about-image:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    mix-blend-mode: overlay;
}

.about-image:hover:before {
    opacity: 0.1;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.about-image:hover img {
    transform: scale(1.1);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.about-stat {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.about-stat:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.about-stat:hover:before {
    transform: scaleX(1);
}

.about-stat:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 102, 204, 0.2);
}

.about-stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 10px;
    display: block;
}

.about-stat-label {
    color: var(--dark-color);
    font-weight: 700;
    font-size: 1.1rem;
}

/* ====== 知识库区域 ====== */
.knowledge {
    position: relative;
    overflow: hidden;
    background: white;
}

.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 50px;
}

.article-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.article-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 102, 204, 0.12);
    border-color: rgba(0, 102, 204, 0.2);
}

.article-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.article-image:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    mix-blend-mode: overlay;
}

.article-card:hover .article-image:before {
    opacity: 0.2;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-content {
    padding: 35px;
}

.article-content h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.article-content a {
    color: var(--dark-color);
    font-weight: 700;
}

.article-content a:hover {
    color: var(--secondary-color);
}

.article-meta {
    display: flex;
    justify-content: space-between;
    color: var(--gray-color);
    font-size: 0.95rem;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 102, 204, 0.05);
}

/* ====== 联系方式区域 ====== */
.contact {
    position: relative;
    overflow: hidden;
    background: var(--light-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
    border: 1px solid rgba(0, 102, 204, 0.2);
}

.contact-details h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.contact-details p {
    color: var(--gray-color);
    margin-bottom: 5px;
}

.wechat-section {
    background: white;
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 102, 204, 0.1);
    text-align: center;
}

.wechat-qr {
    margin: 30px 0;
}

.wechat-qr img {
    max-width: 250px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 102, 204, 0.2);
    background: white;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.wechat-desc {
    color: var(--gray-color);
    margin-top: 20px;
    font-size: 1.1rem;
}

/* ====== 响应式调整（独享部分） ====== */
@media (max-width: 1200px) {
    .services-grid, .knowledge-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content, .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .process-steps {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .process-step {
        flex: 0 0 calc(50% - 40px);
        margin-bottom: 60px;
    }
    
    .process-steps:before {
        display: none;
    }
}

@media (max-width: 992px) {
    .hero {
        height: auto;
        min-height: auto;
        padding: 150px 0 100px;
        padding-top: 100px;
    }
    
    .process-step {
        flex: 0 0 100%;
    }
}

@media (max-width: 768px) {
    .services-grid, .knowledge-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
        margin-top: 50px;
    }
    
    .wechat-section {
        padding: 30px;
    }
        .hero {
        padding-top: 80px;
    }
}