/* 服务体系页面专用样式 */

.services-intro {
    padding: 80px 0;
}

.intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
    text-align: center;
}

.service-card h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--text-dark);
    text-align: center;
}

.service-content h4 {
    font-size: 16px;
    font-weight: bold;
    margin: 20px 0 10px;
    color: var(--primary-color);
}

.service-content ul,
.service-content ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.service-content li {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 8px;
}

.service-content ol li {
    list-style-type: decimal;
}

/* 价格体系 */
.pricing-section {
    padding: 80px 0;
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.pricing-tab {
    padding: 12px 30px;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
}

.pricing-tab:hover,
.pricing-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pricing-content {
    position: relative;
}

.pricing-package {
    display: none;
}

.pricing-package.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.pricing-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.05) 0%, rgba(30, 136, 229, 0.02) 100%);
}

.pricing-card .badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.pricing-card h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.price {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.price-note {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
}

.pricing-card li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
}

.pricing-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* 套餐推荐工具 */
.recommendation-section {
    padding: 80px 0;
}

.recommendation-tool {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.tool-form {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.tool-form .form-group {
    margin-bottom: 0;
}

.tool-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.tool-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}

.tool-form select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.recommendation-result {
    display: none;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 8px;
    margin-top: 30px;
}

.recommendation-result.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.recommendation-result h4 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.recommendation-result p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.recommendation-result ul {
    list-style: none;
    padding-left: 0;
}

.recommendation-result li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
}

.recommendation-result li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 20px;
}

/* 响应式 */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .pricing-tab {
        width: 100%;
    }

    .recommendation-tool {
        padding: 20px;
    }
}
