/* 外包页面样式 */

/* 页面头部 */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

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

.hero-content h1 {
    font-size: 42px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #4318ff;
    color: white;
}

.btn-primary:hover {
    background-color: #3010cc;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid #4318ff;
    color: #4318ff;
    background-color: transparent;
}

.btn-outline:hover {
    background-color: rgba(67, 24, 255, 0.1);
    transform: translateY(-2px);
}

.hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    max-width: 600px;
}

.hero-image img {
    width: 100%;
    height: auto;
}

/* 服务类型 */
.services-section {
    padding: 80px 0;
    background-color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: #666;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 28px;
    color: white;
}

.service-card h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    padding: 8px 0;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.service-features li:last-child {
    border-bottom: none;
}

/* 价格方案 */
.pricing-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    background-color: white;
    border-radius: 8px;
    padding: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.tab {
    padding: 12px 24px;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.tab.active {
    background-color: #4318ff;
    color: white;
}

.pricing-panel {
    display: none;
}

.pricing-panel.active {
    display: block;
}

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

.pricing-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    border: 1px solid #f0f0f0;
}

.pricing-card.featured {
    border: 2px solid #4318ff;
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

.pricing-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #4318ff;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.pricing-header {
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-header h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.price {
    margin-bottom: 15px;
}

.amount {
    font-size: 36px;
    font-weight: 700;
    color: #4318ff;
}

.period {
    font-size: 16px;
    color: #666;
}

.pricing-description {
    color: #666;
    margin: 0;
}

.pricing-features {
    list-style: none;
    padding: 30px;
    margin: 0;
}

.pricing-features li {
    padding: 10px 0;
    color: #555;
    display: flex;
    align-items: center;
}

.pricing-features i {
    color: #4318ff;
    margin-right: 10px;
}

.pricing-card .btn {
    display: block;
    margin: 0 30px 30px;
    text-align: center;
}

.pricing-note {
    text-align: center;
    color: #666;
    font-style: italic;
}

/* 常见问题 */
.faq-section {
    padding: 80px 0;
    background-color: white;
}

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

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 18px;
    color: #333;
    margin: 0;
}

.faq-icon {
    width: 20px;
    height: 20px;
    position: relative;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: #4318ff;
    transition: all 0.3s ease;
}

.faq-icon::before {
    width: 100%;
    height: 2px;
    top: 50%;
    transform: translateY(-50%);
}

.faq-icon::after {
    width: 2px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.faq-item.active .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

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

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

/* 联系我们 */
.contact-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.contact-form {
    background-color: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #4318ff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(67, 24, 255, 0.1);
}

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

.info-item {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.info-icon i {
    font-size: 20px;
    color: white;
}

.info-content h3 {
    font-size: 18px;
    color: #333;
    margin: 0 0 5px;
}

.info-content p {
    color: #666;
    margin: 0;
}

.contact-cta {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-top: auto;
}

.contact-cta h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
}

.contact-cta ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-cta li {
    padding: 8px 0;
    color: #555;
    display: flex;
    align-items: center;
}

.contact-cta i {
    color: #4318ff;
    margin-right: 10px;
}

/* 项目开发流程 */
.process-section {
    padding: 80px 0;
    background-color: white;
}

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

.process-steps::before {
    content: '';
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #4318ff 0%, #6a11cb 100%);
    z-index: 1;
}

.process-step {
    position: relative;
    z-index: 2;
    width: 16%;
    min-width: 160px;
    text-align: center;
    padding: 0 15px;
    margin-bottom: 40px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
    font-weight: bold;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(67, 24, 255, 0.3);
}

.step-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.step-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .process-steps {
        justify-content: center;
        gap: 30px;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .process-step {
        width: 30%;
    }
}

@media (max-width: 768px) {
    .process-step {
        width: 45%;
    }
}

@media (max-width: 576px) {
    .process-step {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 992px) {
    .hero-image {
        position: relative;
        width: 100%;
        max-width: 100%;
        transform: none;
        top: auto;
        margin-top: 40px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
} 