/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* 头部样式 */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #2c3e50;
    padding: 5px;
}

.logo img {
    height: 40px;
    width: auto;
}

.mobile-nav {
    display: flex;
}

.mobile-nav > ul {
    display: flex;
    gap: 30px;
}

.mobile-nav li {
    position: relative;
}

.mobile-nav > ul > li > a {
    font-size: 16px;
    font-weight: 500;
    color: #2c3e50;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s;
}

.mobile-nav > ul > li > a:hover {
    color: #0066cc;
}

.mobile-nav > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #0066cc;
    transition: width 0.3s;
}

.mobile-nav > ul > li > a:hover::after {
    width: 100%;
}

/* 下拉菜单 */
.mobile-nav > ul > li > ul {
    position: absolute;
    top: 100%;
    left: -20px;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    padding: 10px 0;
    z-index: 100;
}

.mobile-nav > ul > li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav ul ul li {
    padding: 0;
}

.mobile-nav ul ul a {
    display: block;
    padding: 8px 20px;
    font-size: 14px;
    color: #555;
    transition: all 0.3s;
}

.mobile-nav ul ul a:hover {
    background: #f5f5f5;
    color: #0066cc;
}

/* 三级菜单 */
.mobile-nav ul ul ul {
    position: absolute;
    left: 100%;
    top: 0;
    background: #fff;
    min-width: 180px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 移动端样式 */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .mobile-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .mobile-nav.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .mobile-nav > ul {
        flex-direction: column;
        gap: 0;
    }
    
    .mobile-nav > ul > li {
        border-bottom: 1px solid #eee;
    }
    
    .mobile-nav > ul > li > a {
        display: block;
        padding: 15px 20px;
        font-size: 16px;
    }
    
    /* 移动端下拉菜单 */
    .mobile-nav > ul > li > ul {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f9f9f9;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
        padding: 0;
    }
    
    .mobile-nav > ul > li:hover > ul {
        max-height: 300px;
    }
    
    .mobile-nav ul ul a {
        padding-left: 40px;
        padding-top: 12px;
        padding-bottom: 12px;
        font-size: 14px;
    }
    
    /* 移动端三级菜单 */
    .mobile-nav ul ul ul {
        position: static;
        box-shadow: none;
        background: #f0f0f0;
    }
    
    .mobile-nav ul ul ul a {
        padding-left: 60px;
    }
}

/* 尾部样式 */
footer {
    background: #2c3e50;
    color: #fff;
    margin-top: 50px;
}

.ft-top {
    padding: 40px 20px;
}

.ft-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
}

.links .title {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 500;
}

.links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.links-list a {
    color: #ddd;
    transition: color 0.3s;
    font-size: 14px;
}

.links-list a:hover {
    color: #0066cc;
}

.links-list a:not(:last-child)::after {
    content: "|";
    margin-left: 15px;
    color: #666;
}

.qrcode img {
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.contact-info {
    text-align: right;
}

.contact-info p {
    margin-bottom: 8px;
    font-size: 14px;
    color: #ddd;
}

.ft-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    text-align: center;
}

.ft-bottom p {
    font-size: 14px;
    color: #aaa;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .ft-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .links-list {
        justify-content: center;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .links-list a:not(:last-child)::after {
        content: "";
        margin: 0;
    }
}

/* C9页面特有样式 */
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.banner {
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* 主要内容部分 */
.c1 {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    border-radius: 12px;
    padding: 40px 30px;
    margin-bottom: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.c1-title {
    text-align: center;
    margin-bottom: 40px;
}

.c1-title h1 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.c1-title p {
    font-size: 18px;
    color: #666;
    font-style: italic;
    letter-spacing: 1px;
}

.c1-center {
    display: flex;
    align-items: center;
    gap: 40px;
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.c1-center-left {
    flex: 0 0 300px;
    text-align: center;
}

.c1-center-left img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.c1-center-right {
    flex: 1;
}

.c1-center-right p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    text-indent: 2em;
}

/* 功能模块卡片 */
.c2, .c3 {
    margin: 50px 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.c2-center, .c3-center {
    display: flex;
    min-height: 350px;
}

.c2-center-left, .c3-center-right {
    flex: 1;
    padding: 40px;
    background: linear-gradient(135deg, #0066cc 0%, #004488 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.c2-center-right, .c3-center-left {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.c2-center-right img, .c3-center-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.c2-center-right:hover img, .c3-center-left:hover img {
    transform: scale(1.05);
}

.module-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.module-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: rgba(255, 255, 255, 0.7);
}

.module-description {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.9;
}

/* 服务类型 */
.service-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-top: 4px solid #0066cc;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0066cc, #004488);
}

.service-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: #0066cc;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-name {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.service-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

.service-clients {
    font-size: 14px;
    color: #888;
    padding-top: 15px;
    border-top: 1px dashed #eee;
}

/* 联系信息卡片 */
.c4 {
    background: linear-gradient(135deg, #0066cc, #004488);
    color: white;
    border-radius: 12px;
    padding: 50px 40px;
    margin: 50px 0;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.c4-center p:first-child {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
}

.c4-center p {
    font-size: 18px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-item {
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.contact-label {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 8px;
}

.contact-value {
    font-size: 18px;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .content {
        padding: 15px;
    }
    
    .c1 {
        padding: 30px 20px;
        margin-bottom: 40px;
    }
    
    .c1-title h1 {
        font-size: 28px;
    }
    
    .c1-title p {
        font-size: 16px;
    }
    
    .c1-center {
        flex-direction: column;
        padding: 25px;
        gap: 25px;
    }
    
    .c1-center-left {
        flex: 0 0 auto;
    }
    
    .c1-center-left img {
        max-width: 200px;
    }
    
    .c1-center-right p {
        font-size: 15px;
    }
    
    .c2-center, .c3-center {
        flex-direction: column;
        min-height: auto;
    }
    
    .c3-center {
        flex-direction: column-reverse;
    }
    
    .c2-center-left, .c3-center-right, .c2-center-right, .c3-center-left {
        flex: auto;
        width: 100%;
    }
    
    .c2-center-left, .c3-center-right {
        min-height: 250px;
        padding: 30px 25px;
    }
    
    .c2-center-right, .c3-center-left {
        height: 250px;
    }
    
    .module-title {
        font-size: 24px;
    }
    
    .service-types {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .c4 {
        padding: 40px 25px;
    }
    
    .c4-center p:first-child {
        font-size: 24px;
    }
    
    .c4-center p {
        font-size: 16px;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .c1-title h1 {
        font-size: 24px;
    }
    
    .c1-center-left img {
        max-width: 180px;
    }
    
    .module-title {
        font-size: 22px;
    }
    
    .service-icon {
        font-size: 36px;
        height: 50px;
    }
    
    .service-name {
        font-size: 20px;
    }
    
    .c4-center p:first-child {
        font-size: 22px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.c1, .c2, .c3, .service-types, .c4 {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* 分隔装饰 */
.section-divider {
    text-align: center;
    margin: 40px 0;
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ddd, transparent);
}

.divider-text {
    background: white;
    padding: 0 20px;
    color: #666;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    z-index: 1;
}