/* ===== 温州代生 - 深紫科技风格 ===== */
/* 配色：紫色(#6F42C1) + 深紫(#4A1D8E) */

/* Banner with tech pattern */
.page-banner-purple {
    background: linear-gradient(135deg, #4A1D8E 0%, #6F42C1 50%, #9B59B6 100%);
    color: #FFF;
    padding: 60px 0;
    text-align: center;
    position: relative;
}
.page-banner-purple::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6F42C1, #9B59B6, #6F42C1);
}
.page-banner-purple h1 {
    color: #FFF;
    font-size: 34px;
    margin-bottom: 15px;
}
.page-banner-purple p {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Timeline Layout */
.timeline-section {
    padding: 60px 0;
}
.timeline-section h2 {
    text-align: center;
    font-size: 28px;
    color: #4A1D8E;
    margin-bottom: 40px;
}
.timeline {
    position: relative;
    padding: 20px 0;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #E4E7ED;
    transform: translateX(-50%);
}
.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding: 0 5%;
}
.timeline-item:nth-child(odd) {
    text-align: right;
    padding-right: 55%;
}
.timeline-item:nth-child(even) {
    text-align: left;
    padding-left: 55%;
}
.timeline-item .timeline-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 20px;
    height: 20px;
    background: #6F42C1;
    border: 3px solid #FFF;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 3px #6F42C1;
    z-index: 1;
}
.timeline-item .timeline-content {
    background: #FFF;
    border: 1px solid #E4E7ED;
    border-radius: 8px;
    padding: 20px;
    text-align: left;
}
.timeline-item .timeline-content h4 {
    font-size: 16px;
    color: #4A1D8E;
    margin-bottom: 8px;
}
.timeline-item .timeline-content p {
    font-size: 14px;
    color: #8D99AE;
    line-height: 1.8;
}

/* Service Grid with Icon */
.tech-service-grid {
    padding: 60px 0;
    background: #F8F5FC;
}
.tech-service-item {
    background: #FFF;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
    border: 1px solid #E8E0F0;
    transition: 0.3s;
}
.tech-service-item:hover {
    box-shadow: 0 8px 25px rgba(111,66,193,0.15);
    transform: translateY(-5px);
}
.tech-service-item .tech-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #6F42C1 0%, #9B59B6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.tech-service-item .tech-icon i {
    font-size: 30px;
    color: #FFF;
}
.tech-service-item h4 {
    font-size: 17px;
    color: #4A1D8E;
    margin-bottom: 10px;
}
.tech-service-item p {
    font-size: 14px;
    color: #8D99AE;
    line-height: 1.8;
}
.tech-service-item .tech-tag {
    display: inline-block;
    margin-top: 12px;
    padding: 4px 14px;
    background: #F0E8F8;
    border-radius: 20px;
    font-size: 12px;
    color: #6F42C1;
    font-weight: 600;
}

/* Qualification Badges */
.qualification-section {
    padding: 40px 0;
}
.qual-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: #F0E8F8;
    border-radius: 8px;
    margin: 5px;
    font-size: 14px;
    color: #4A1D8E;
    font-weight: 600;
}
.qual-badge i {
    margin-right: 8px;
    color: #6F42C1;
}

/* Override header colors */
#header { background-color: #4A1D8E !important; }
#navigation { background-color: #3A1570 !important; }
.main-nav > li > a:hover,
.main-nav > li.active > a {
    color: #9B59B6 !important;
}

/* Responsive timeline */
@media (max-width: 768px) {
    .timeline::before { left: 20px; }
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        text-align: left;
        padding-left: 50px;
        padding-right: 0;
    }
    .timeline-item .timeline-dot {
        left: 20px;
    }
}
