:root {
    --primary-color: #2c6ecb;
    --secondary-color: #36b37e;
    --accent-color: #ff5630;
    --dark-color: #172b4d;
    --light-color: #f5f7fa;
    --text-color: #333333;
    --text-light: #6b7785;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    transition: color var(--transition-normal);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 头部样式 */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
}

.nav-menu ul li {
    margin-left: 30px;
}

.nav-menu ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: all var(--transition-normal);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
}

.nav-menu ul li a:hover {
    color: var(--primary-color);
    background-color: rgba(44, 110, 203, 0.1);
}

.nav-menu ul li a:hover {
    color: #007bff;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 横幅样式 */
.banner {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/banner.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    margin-top: 0;
}

.banner-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 12px 30px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #1a56b8;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
}

.btn:hover {
    background: #0056b3;
}

/* 关于我们 */
.about {
    padding: 100px 0;
    background: #f8f9fa;
}

.about h2, .services h2, .solutions h2, .cases h2, .contact h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
    color: #333;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-content {
    display: flex;
    align-items: stretch;
    gap: 30px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

.about-image {
    flex: 4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    max-width: 120%;
    height: 75%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-slow);
}

.about-image img:hover {
    transform: scale(1.03);
}

.about-text {
    flex: 6;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.achievements {
    display: flex;
    margin-top: 30px;
    gap: 30px;
}

.achievement-item {
    text-align: center;
}

.achievement-item h3 {
    font-size: 2rem;
    color: #007bff;
}

/* 业务范围 */
.services {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-item h3 {
    padding: 20px 20px 10px;
    margin-bottom: 0;
}

.service-item p {
    padding: 0 20px 20px;
    margin-bottom: 0;
}

.service-item h3 {
    margin-bottom: 15px;
}

/* 解决方案 */
.solutions {
    padding: 100px 0;
    background: #f8f9fa;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.solution-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.solution-item:hover {
    transform: translateY(-10px);
}

.solution-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.solution-item h3 {
    padding: 15px 20px 8px;
    font-size: 1.2rem;
}

.solution-item p {
    padding: 0 20px 15px;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* 行业案例 */
.cases {
    padding: 100px 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-item {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.case-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.case-item h3 {
    margin-bottom: 15px;
}

/* 联系我们 */
.contact {
    padding: 100px 0;
    background: #ffffff;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info h3 {
    margin-bottom: 20px;
    text-align: left;
}

.contact-form h3 {
    margin-bottom: 20px;
    text-align: center;
}

/* 客服小程序码样式 */
.qr-code {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    text-align: center;
}

.qr-code img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 15px;
}

.qr-code p {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 0;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-normal);
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 110, 203, 0.1);
}

.contact-form button.btn {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* 页脚 */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

footer .footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 5px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #fff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: 0.3s;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }
    
    .nav-menu ul li {
        margin: 20px 0;
    }
    
    .banner-content h1 {
        font-size: 1.8rem;
    }
    
    .banner-content p {
        font-size: 1rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .achievements {
        flex-direction: column;
        gap: 20px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}