:root {
    --primary-blue: #0066cc;
    --dark-blue: #004d99;
    --light-blue: #e6f0ff;
    --white: #ffffff;
    --light-gray: #f5f7fa;
    --dark-gray: #333333;
    --text-color: #444444;
    --footer-bg: #1a2a42;
    --footer-border: #2a3a52;
    --tech-blue: #1a73e8;
    --tech-blue-dark: #0d5bb8;
    --tech-blue-light: #4d9aff;
    --accent-color: #ff6b35;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

/* 导航栏样式 */
header {
    background: linear-gradient(135deg, var(--tech-blue), var(--tech-blue-dark));
    color: var(--white);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 5px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
    color: #fff;
    transition: transform 0.3s ease;
}

.logo:hover i {
    transform: rotate(10deg);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 4px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 70%;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
}

/* 主内容区域 */
main {
    margin-top: 70px;
}

section {
    padding: 80px 0;
}

section:nth-child(even) {
    background-color: var(--light-gray);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--tech-blue);
    position: relative;
    font-size: 2.2rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--tech-blue);
    margin: 15px auto;
    border-radius: 2px;
}

/* 公司介绍部分 */
.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image img:hover {
    transform: scale(1.05);
}

/* 广告条幅部分 */
.ad-banner {
    background: linear-gradient(135deg, var(--tech-blue), var(--tech-blue-dark));
    color: var(--white);
    text-align: center;
    padding: 50px 30px;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(26,115,232,0.3);
    position: relative;
    overflow: hidden;
}

.ad-banner::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: rotate(30deg);
}

.ad-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.ad-banner p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    font-weight: 300;
}

/* 主营业务部分 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding: 35px 25px;
    border: 1px solid rgba(26,115,232,0.1);
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(26,115,232,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(26,115,232,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.5rem;
    color: var(--tech-blue);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--tech-blue);
    color: white;
    transform: scale(1.1);
}

.service-card h3 {
    color: var(--tech-blue);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* 其他业务部分 */
.other-services {
    background: linear-gradient(135deg, #1a73e8, #0d5bb8);
    color: var(--white);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.other-services::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #1a73e8);
}

.other-services .section-title {
    color: var(--white);
}

.other-services .section-title::after {
    background: var(--light-blue);
}

.services-scroll-container {
    position: relative;
    padding: 0 50px;
}

.services-scroll {
    display: flex;
    overflow-x: auto;
    padding: 25px 10px;
    gap: 25px;
    scrollbar-width: thin;
    scrollbar-color: var(--light-blue) transparent;
    scroll-behavior: smooth;
}

.services-scroll::-webkit-scrollbar {
    height: 8px;
}

.services-scroll::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}

.services-scroll::-webkit-scrollbar-thumb {
    background: var(--light-blue);
    border-radius: 10px;
}

.scroll-item {
    flex: 0 0 auto;
    width: 320px;
    background: rgba(255,255,255,0.12);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.4s ease;
}

.scroll-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.scroll-item h3 {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    color: var(--light-blue);
    font-size: 1.4rem;
}

.scroll-item h3 i {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.scroll-item:hover h3 i {
    background: var(--light-blue);
    color: var(--tech-blue);
    transform: rotate(10deg);
}

.scroll-item p {
    line-height: 1.7;
    font-size: 1.05rem;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.scroll-btn:hover {
    background: var(--light-blue);
    color: var(--tech-blue);
    transform: translateY(-50%) scale(1.1);
}

.scroll-btn.prev {
    left: 0;
}

.scroll-btn.next {
    right: 0;
}

/* 成功案例部分 */
.cases-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
}

.case-slide {
    position: relative;
    height: 500px;
}

.case-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 68, 136, 0.85);
    color: white;
    padding: 25px;
    text-align: center;
}

.case-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 25px;
}

.case-controls button {
    background: rgba(255,255,255,0.3);
    border: none;
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.case-controls button:hover {
    background: var(--primary-blue);
    transform: scale(1.1);
}

.case-indicators {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--white);
    transform: scale(1.2);
}

/* 联系我们部分 */
.contact-container {
    display: flex;
    gap: 40px;
    align-items: center;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    color: var(--tech-blue);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.contact-info ul {
    list-style: none;
    margin-top: 20px;
}

.contact-info li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    padding: 15px;
    border-radius: 8px;
    background: rgba(26,115,232,0.05);
    transition: all 0.3s ease;
}

.contact-info li:hover {
    background: rgba(26,115,232,0.1);
    transform: translateX(5px);
}

.contact-info i {
    color: var(--tech-blue);
    font-size: 1.3rem;
    margin-right: 15px;
    min-width: 25px;
    margin-top: 3px;
}

.map-container {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
    height: 450px;
    background-color: #eee;
    position: relative;
}

.baidu-map {
    width: 100%;
    height: 100%;
    border: none;
}

.map-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 300px;
}

.map-overlay h4 {
    color: var(--tech-blue);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-overlay p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 55px;
    height: 55px;
    background: var(--tech-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 6px 20px rgba(26,115,232,0.5);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--tech-blue-dark);
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(26,115,232,0.7);
}

/* 页脚样式 - 优化备案链接 */
footer {
    background: linear-gradient(135deg, #0d5bb8, #004d99);
    color: var(--white);
    padding: 70px 0 25px;
    border-top: 3px solid var(--tech-blue);
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column h4 {
    color: var(--light-blue);
    font-size: 1.3rem;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(255,255,255,0.2);
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 50px;
    height: 2px;
    background: var(--light-blue);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #cce0ff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 5px 0;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 8px;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
}

.contact-details i {
    color: var(--light-blue);
    font-size: 1.2rem;
    margin-right: 15px;
    min-width: 22px;
    margin-top: 5px;
}

.friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.15);
    border-bottom: 1px solid rgba(255,255,255,0.15);
    margin: 40px 0 30px;
}

.friend-links a {
    color: #cce0ff;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    padding: 8px 18px;
    border-radius: 30px;
    border: 1px solid rgba(204,224,255,0.3);
    background: rgba(255,255,255,0.08);
}

.friend-links a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.2);
    border-color: var(--light-blue);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    color: #cce0ff;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.copyright-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.copyright-info span {
    display: inline-flex;
    align-items: center;
}

.copyright-divider {
    color: rgba(204,224,255,0.5);
}

.beian-link {
    background: rgba(255,255,255,0.1);
    padding: 8px 20px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #e6f0ff;
    font-size: 0.9rem;
    margin-top: 10px;
    border: 1px solid rgba(255,255,255,0.2);
    margin: 0 5px;
}

.beian-link:hover {
    background: rgba(255,255,255,0.2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.beian-link i {
    color: #4d9aff;
    font-size: 1.1rem;
}

/* 响应式设计 */
@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--tech-blue);
        flex-direction: column;
        padding: 20px 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: all 0.4s ease;
        box-shadow: 0 10px 15px rgba(0,0,0,0.2);
    }
    
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .about-content, .contact-container {
        flex-direction: column;
    }
    
    .about-image, .contact-info, .map-container {
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .case-slide {
        height: 400px;
    }
    
    .services-scroll-container {
        padding: 0 15px;
    }
    
    .scroll-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .copyright-info {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .copyright-divider {
        display: none;
    }
    
    .map-overlay {
        position: relative;
        bottom: auto;
        left: auto;
        width: 100%;
        margin-top: 20px;
    }
    
    .ad-banner h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.9rem;
    }
    
    .ad-banner h2 {
        font-size: 1.7rem;
    }
    
    .ad-banner p {
        font-size: 1rem;
    }
    
    .case-slide {
        height: 300px;
    }
    
    .friend-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}