/* ==================== 定制服务页样式 - 极致版 ==================== */

/* 页面整体风格 */
.customization-content {
    padding: 80px 0;
    background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}

/* 服务介绍 */
.service-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.service-intro p {
    font-size: 18px;
    color: #5a6a7a;
    line-height: 1.8;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* 定制类型 */
.customization-types {
    margin-bottom: 80px;
}

.customization-types h3 {
    font-size: 32px;
    color: #1a252f;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.customization-types h3::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #c41e3a, #8b0000);
    border-radius: 2px;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.type-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.type-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #c41e3a, #e84a64);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.type-card:hover::before {
    opacity: 1;
}

.type-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.1) 0%, rgba(196, 30, 58, 0.05) 100%);
    border-radius: 20px;
    margin: 25px auto 15px;
    font-size: 32px;
    color: #c41e3a;
    transition: all 0.4s ease;
}

.type-card:hover .type-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.15) 0%, rgba(196, 30, 58, 0.1) 100%);
}

.type-card h4 {
    font-size: 22px;
    color: #1a252f;
    margin: 25px 25px 15px;
    font-weight: 600;
    text-align: center;
}

.type-card p {
    font-size: 14px;
    color: #7f8c8d;
    margin: 0 25px 20px;
    line-height: 1.6;
    text-align: center;
}

.type-card ul {
    list-style: none;
    padding: 0 25px 25px;
    margin: 0;
}

.type-card ul li {
    font-size: 14px;
    color: #5a6a7a;
    padding: 8px 0 8px 22px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.3s ease;
}

.type-card ul li:last-child {
    border-bottom: none;
}

.type-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #c41e3a, #8b0000);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.type-card:hover ul li::before {
    transform: translateY(-50%) scale(1.2);
}

.type-card:hover ul li {
    color: #2c3e50;
}

/* 定制流程 */
.customization-process {
    margin-bottom: 80px;
    padding: 60px 0;
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    border-radius: 32px;
    position: relative;
    overflow: hidden;
}

.customization-process::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(196, 30, 58, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.customization-process h3 {
    font-size: 32px;
    color: #fff;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.process-step {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.process-step:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
    border-color: rgba(196, 30, 58, 0.5);
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -15px;
    transform: translateY(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), transparent);
}

.step-number {
    width: 56px;
    height: 56px;
    line-height: 56px;
    background: linear-gradient(135deg, #c41e3a 0%, #8b0000 100%);
    color: #fff;
    border-radius: 50%;
    margin: 0 auto 20px;
    font-size: 22px;
    font-weight: 700;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(196, 30, 58, 0.5);
}

.process-step h4 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 12px;
    font-weight: 600;
    text-align: center;
}

.process-step p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    text-align: center;
}

/* 定制案例 */
.customization-cases {
    margin-bottom: 80px;
}

.customization-cases h3 {
    font-size: 32px;
    color: #1a252f;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.customization-cases h3::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #c41e3a, #8b0000);
    border-radius: 2px;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.case-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.case-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.1) 0%, rgba(196, 30, 58, 0.05) 100%);
    border-radius: 16px;
    margin: 20px auto 15px;
    font-size: 30px;
    color: #c41e3a;
    transition: all 0.4s ease;
}

.case-card:hover .case-icon {
    transform: scale(1.1) rotate(5deg);
}

.case-info {
    padding: 20px;
    text-align: center;
}

.case-info h4 {
    font-size: 16px;
    color: #1a252f;
    margin-bottom: 8px;
    font-weight: 600;
    text-align: center;
}

.case-info p {
    font-size: 13px;
    color: #7f8c8d;
    line-height: 1.5;
    text-align: center;
}

/* 定制咨询区域 */
.customization-contact {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    padding: 60px;
    border-radius: 24px;
    border: 1px solid #e8e8e8;
}

.customization-contact h3 {
    font-size: 28px;
    color: #1a252f;
    margin-bottom: 40px;
    text-align: center;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.contact-form h4 {
    font-size: 22px;
    color: #1a252f;
    margin-bottom: 30px;
    font-weight: 600;
}

.contact-form form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-form input,
.contact-form select {
    padding: 16px 20px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    font-size: 15px;
    background-color: #fff;
    transition: all 0.3s ease;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form select:focus {
    outline: none;
    border-color: #c41e3a;
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

.contact-form textarea {
    grid-column: 1 / -1;
    padding: 16px 20px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    font-size: 15px;
    background-color: #fff;
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.contact-form textarea:focus {
    outline: none;
    border-color: #c41e3a;
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

.contact-form .btn-primary {
    grid-column: 1 / -1;
    padding: 18px 40px;
    background: linear-gradient(135deg, #c41e3a 0%, #8b0000 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.contact-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.4);
}

.contact-form .btn-primary:active {
    transform: translateY(-1px);
}

/* 服务优势 */
.service-highlights {
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.highlight-card {
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.4s ease;
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.highlight-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.1) 0%, rgba(196, 30, 58, 0.05) 100%);
    border-radius: 20px;
    margin: 0 auto 20px;
    font-size: 30px;
    color: #c41e3a;
}

.highlight-card h4 {
    font-size: 18px;
    color: #1a252f;
    margin-bottom: 12px;
    font-weight: 600;
    text-align: center;
}

.highlight-card p {
    font-size: 13px;
    color: #7f8c8d;
    line-height: 1.6;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .types-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .customization-content {
        padding: 60px 0;
    }
    
    .service-intro p {
        font-size: 16px;
    }
    
    .types-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .customization-process {
        padding: 40px 20px;
        border-radius: 20px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .process-step:not(:last-child)::after {
        display: none;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 25px;
    }
    
    .contact-form form {
        grid-template-columns: 1fr;
    }
    
    .customization-contact {
        padding: 30px 20px;
    }
    
    .service-highlights {
        grid-template-columns: 1fr;
    }
    
    .customization-types h3,
    .customization-cases h3 {
        font-size: 26px;
    }
}