/* 服务页面专用样式 */

/* 页面头部 */
.page-header {
    background: linear-gradient(135deg, var(--light-purple) 0%, var(--primary-purple) 100%);
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    animation: rotateBg 20s linear infinite;
}

@keyframes rotateBg {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.page-header-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* 主内容区 */
.services-main {
    padding: 80px 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 服务类型卡片 */
.service-types {
    margin-bottom: 100px;
}

.service-type-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    background: var(--pure-white);
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 15px 50px rgba(168, 134, 200, 0.15);
    transition: all 0.4s ease;
}

.service-type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px rgba(168, 134, 200, 0.25);
}

.service-type-card.reverse {
    direction: rtl;
}

.service-type-card.reverse > * {
    direction: ltr;
}

.type-image img {
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(168, 134, 200, 0.2);
    width: 100%;
    height: auto;
}

.type-info h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.type-info > p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.8;
}

.type-features {
    margin-bottom: 30px;
}

.type-features li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-dark);
    font-size: 1rem;
}

.type-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 10px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--champagne-gold), #A67C00);
    color: var(--pure-white);
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 服务流程 */
.service-process {
    padding: 80px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    background: var(--pure-white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(168, 134, 200, 0.12);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--champagne-gold), var(--primary-purple));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.process-step:hover::before {
    transform: scaleX(1);
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(168, 134, 200, 0.25);
}

.step-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--light-purple), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .service-type-card,
    .service-type-card.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .type-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 60px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .container {
        padding: 0 20px;
    }

    .service-type-card {
        padding: 30px 20px;
        gap: 30px;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .step-number {
        font-size: 2.5rem;
    }
}
