/* 服务页面通用样式 */
:root {
    --service-gradient: linear-gradient(135deg, rgba(0, 230, 118, 0.1) 0%, rgba(18, 18, 18, 0) 100%);
}

/* 服务页面英雄区域 */
.service-hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
    background: var(--gradient-dark);
}

.service-hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 230, 118, 0.05) 0%, transparent 50%);
}

.service-hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.service-hero-content {
    flex: 1;
    max-width: 600px;
}

.service-hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.service-hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.service-hero-buttons {
    display: flex;
    gap: 15px;
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

.service-hero-image {
    flex: 1;
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-hero-image img {
    max-width: 80%;
    max-height: 80%;
    position: relative;
    z-index: 2;
    animation: float 4s ease-in-out infinite;
}

/* 服务介绍区域 */
.service-intro {
    padding: 100px 0;
    background-color: var(--bg-color);
    position: relative;
}

.service-intro:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--service-gradient);
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.9;
}

.intro-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
}

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

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-text {
    font-size: 18px;
    opacity: 0.9;
}

/* 服务流程区域 */
.service-process {
    padding: 100px 0;
    background-color: var(--secondary-color);
    position: relative;
}

.process-steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
}

.process-step {
    flex: 1;
    max-width: 300px;
    text-align: center;
    position: relative;
    padding: 40px 20px;
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid rgba(0, 230, 118, 0.1);
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0, 230, 118, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-icon i {
    font-size: 36px;
    color: var(--primary-color);
}

.process-step h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.process-step p {
    opacity: 0.8;
}

/* 服务功能区域 */
.service-features {
    padding: 100px 0;
    background-color: var(--bg-color);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    transition: var(--transition);
    border: 1px solid rgba(0, 230, 118, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transform-origin: top;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.feature-card:hover:before {
    transform: scaleY(1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 230, 118, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    opacity: 0.8;
}

/* 案例展示区域 */
.service-cases {
    padding: 100px 0;
    background-color: var(--secondary-color);
    position: relative;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.case-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 230, 118, 0.1);
    transition: var(--transition);
}

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

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 24px;
}

.case-content {
    padding: 30px;
}

.case-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.case-content p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.case-result {
    background: rgba(0, 230, 118, 0.1);
    padding: 15px;
    border-radius: 5px;
    display: flex;
    align-items: center;
}

.result-label {
    font-weight: 600;
    margin-right: 10px;
    color: var(--primary-color);
}

.result-value {
    opacity: 0.9;
}

/* 常见问题区域 */
.service-faq {
    padding: 100px 0;
    background-color: var(--bg-color);
    position: relative;
}

.faq-list {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid rgba(0, 230, 118, 0.1);
    border-radius: 10px;
    overflow: hidden;
    background: var(--card-bg);
}

.faq-question {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(0, 230, 118, 0.05);
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 230, 118, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.faq-toggle i {
    font-size: 12px;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.faq-item.active .faq-question {
    background: rgba(0, 230, 118, 0.05);
}

.faq-item.active .faq-toggle {
    background: var(--primary-color);
}

.faq-item.active .faq-toggle i {
    color: var(--text-dark);
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 20px 30px 30px;
}

/* 价格方案区域 */
.service-pricing {
    padding: 100px 0;
    background-color: var(--secondary-color);
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 230, 118, 0.1);
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    z-index: 1;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--text-dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.pricing-header {
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-header h3 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.price {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
}

.period {
    font-size: 16px;
    opacity: 0.7;
    margin-left: 5px;
}

.pricing-features {
    padding: 30px;
}

.pricing-features ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.pricing-features ul li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 14px;
}

.pricing-features ul li.disabled {
    opacity: 0.5;
}

.pricing-features ul li.disabled i {
    color: #ff5252;
}

.pricing-action {
    padding: 0 30px 30px;
    text-align: center;
}

.pricing-note {
    text-align: center;
    margin-top: 40px;
    opacity: 0.7;
    font-size: 14px;
}

.pricing-note p {
    margin-bottom: 10px;
}

.pricing-note a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* 动画效果 */
@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .service-hero .container,
    .process-steps {
        flex-direction: column;
        text-align: center;
    }

    .service-hero-content {
        margin-bottom: 50px;
    }

    .service-hero-buttons {
        justify-content: center;
    }

    .process-step {
        max-width: 100%;
    }

    .intro-stats {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .service-hero-content h1 {
        font-size: 36px;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 576px) {
    .service-hero-content h1 {
        font-size: 28px;
    }

    .service-hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        width: 100%;
    }
}