﻿body {
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0066cc;
    --dark-blue: #004d99;
    --light-blue: #e6f2ff;
    --dark-gray: #333333;
    --medium-gray: #666666;
    --light-gray: #f5f5f5;
    --white: #ffffff;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
}

/* 头部样式 */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
}

    .logo h1 {
        font-size: 24px;
        color: var(--primary-blue);
        font-weight: bold;
    }

.nav-menu {
    display: flex;
    list-style: none;
}

    .nav-menu li {
        margin-left: 30px;
    }

    .nav-menu a {
        text-decoration: none;
        color: var(--dark-gray);
        font-weight: 500;
        transition: color 0.3s;
    }

        .nav-menu a:hover {
            color: var(--primary-blue);
        }

/* 英雄区域样式 */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 150px 20px 100px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: var(--white);
    color: var(--primary-blue);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

    .cta-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }

/* 服务区域样式 */
.services {
    padding: 80px 20px;
    background: var(--light-gray);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

    .section-title h3 {
        font-size: 36px;
        color: var(--dark-gray);
        margin-bottom: 15px;
    }

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

    .service-card:hover {
        transform: translateY(-5px);
    }

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-blue);
    font-size: 24px;
}

/* 案例区域样式 */
.cases {
    padding: 80px 20px;
}

.cases-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.case-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.case-image {
    height: 200px;
    background: var(--medium-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
}

.case-content {
    padding: 20px;
}

/* 底部样式 */
footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 50px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section ul {
    list-style: none;
}

    .footer-section ul li {
        margin-bottom: 10px;
    }

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

    .footer-section a:hover {
        color: var(--white);
    }
/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero h2 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }
}


.float-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2rem;
    background: #fff;
    color: #999;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.row-center {
    display: flex;
    justify-content: center;
    align-items: center;
    
}
    .row-center ul {
        list-style: none;
    }
    .row-center a {
        color: #ccc;
        text-decoration: none;
        transition: color 0.3s;
    }
        .row-center a:hover {
            color: var(--white);
        }