/* 服务页面样式 */
.service-page {
    padding-top: 70px;
    background-color: var(--bg-primary);
}

/* 页面标题区域 */
.page-hero {
    height: 400px;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../image/service-hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.5rem;
    opacity: 0.9;
}

/* 通用容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 通用标题样式 */
.section-title {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #ffc801;
    border-radius: 2px;
}

/* 服务介绍 */
.service-intro {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.intro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.intro-content h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.intro-content p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    line-height: 1.6;
}

/* 痛点区域样式 */
.pain-points {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.pain-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.pain-point-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pain-point-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.pain-point-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 200, 1, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.pain-point-icon i {
    font-size: 2.5rem;
    color: #ffc801;
}

/* 服务内容样式 */
.our-services {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #ffc801;
    border-radius: 20px 20px 0 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: rgba(255, 200, 1, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.service-icon i {
    font-size: 2.5rem;
    color: #ffc801;
}

/* 优势部分样式 */
.our-advantages {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.advantage-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 200, 1, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.advantage-icon i {
    font-size: 2.5rem;
    color: #ffc801;
}

/* FAQ部分样式 */
.faq-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 1rem 0;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.faq-question:hover h3 {
    color: #ffc801;
}

.faq-toggle {
    font-size: 1.2rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #666;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(-10px);
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
    color: #ffc801;
}

.faq-item.active .faq-question h3 {
    color: #ffc801;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    opacity: 1;
    transform: translateY(0);
    padding: 1rem 0;
}

.faq-answer p {
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
    padding: 0 1rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .pain-points-grid,
    .services-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pain-point-card,
    .service-card,
    .advantage-card {
        padding: 2rem;
    }

    .faq-item {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }

    .pain-point-icon,
    .service-icon,
    .advantage-icon {
        width: 60px;
        height: 60px;
    }

    .pain-point-icon i,
    .service-icon i,
    .advantage-icon i {
        font-size: 2rem;
    }
}
