/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo h1 {
    color: #1a365d;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: #2b6cb0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links li a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 0;
}

.nav-links li a:hover {
    color: #2b6cb0;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2b6cb0;
    transition: width 0.3s ease;
}

.nav-links li a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #1a365d;
    border-radius: 2px;
    transition: 0.3s;
}

/* 英雄区域样式 */
.hero {
    background: linear-gradient(135deg, #1a365d 0%, #2a4365 100%);
    color: #ffffff;
    padding: 160px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    color: #e2e8f0;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: #2b6cb0;
    color: #ffffff;
    border-color: #2b6cb0;
}

.btn-primary:hover {
    background-color: #2c5282;
    border-color: #2c5282;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: #1a365d;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* 通用章节样式 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    color: #1a365d;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

/* 服务介绍样式 */
.services {
    padding: 120px 0;
    background-color: #ffffff;
}

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

.service-card {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border-color: #2b6cb0;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2b6cb0, #4299e1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: #ffffff;
    font-size: 28px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 22px;
    color: #1a365d;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-card p {
    color: #718096;
    line-height: 1.7;
    font-size: 15px;
}

/* 解决方案样式 */
.solutions {
    padding: 120px 0;
    background-color: #f7fafc;
}

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

.solution-card {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.solution-image {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #1a365d, #2a4365);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: #ffffff;
    font-size: 40px;
    transition: all 0.3s ease;
}

.solution-card:hover .solution-image {
    transform: scale(1.1);
}

.solution-card h3 {
    font-size: 20px;
    color: #1a365d;
    font-weight: 600;
    margin-bottom: 15px;
}

.solution-card p {
    color: #718096;
    line-height: 1.7;
    font-size: 15px;
}

/* 公司优势样式 */
.advantages {
    padding: 120px 0;
    background-color: #ffffff;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.advantage-item {
    padding: 40px 20px;
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2b6cb0, #4299e1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #ffffff;
    font-size: 24px;
}

.advantage-item h3 {
    font-size: 18px;
    color: #1a365d;
    font-weight: 600;
    margin-bottom: 10px;
}

.advantage-item p {
    color: #718096;
    line-height: 1.6;
    font-size: 14px;
}

/* 客户案例样式 */
.cases {
    padding: 120px 0;
    background-color: #f7fafc;
}

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

.case-card {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.case-content h3 {
    font-size: 20px;
    color: #1a365d;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.case-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #2b6cb0;
    border-radius: 2px;
}

.case-content p {
    color: #718096;
    line-height: 1.7;
    font-size: 15px;
}

/* 联系我们样式 */
.contact {
    padding: 120px 0;
    background-color: #ffffff;
}

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

.contact-info h3 {
    font-size: 24px;
    color: #1a365d;
    font-weight: 600;
    margin-bottom: 30px;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-label {
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 5px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-label i {
    color: #2b6cb0;
    width: 20px;
    text-align: center;
}

.contact-item p {
    color: #718096;
    font-size: 15px;
    margin-left: 30px;
}

.contact-form h3 {
    font-size: 24px;
    color: #1a365d;
    font-weight: 600;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #1a365d;
    font-size: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    font-size: 15px;
    font-family: inherit;
    background-color: #f7fafc;
    color: #333;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2b6cb0;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.1);
}

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

/* 页脚样式 */
.footer {
    background-color: #1a365d;
    color: #ffffff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-info h3 i {
    color: #2b6cb0;
}

.footer-info p {
    color: #e2e8f0;
    line-height: 1.7;
    font-size: 14px;
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #2b6cb0;
}

.footer-social h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #2b6cb0;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: #cbd5e0;
    font-size: 13px;
}

.footer-bottom a {
    color: #2b6cb0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #4299e1;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 导航栏响应式 */
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #ffffff;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        gap: 20px;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li a {
        font-size: 18px;
    }

    /* 英雄区域响应式 */
    .hero {
        padding: 140px 0 100px;
    }

    .hero h2 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    /* 通用响应式 */
    .section-header h2 {
        font-size: 30px;
    }

    /* 服务卡片响应式 */
    .services-grid,
    .solutions-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }

    /* 联系我们响应式 */
    .contact-content {
        gap: 40px;
    }

    /* 页脚响应式 */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* 英雄区域响应式 */
    .hero h2 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    /* 通用响应式 */
    .section-header h2 {
        font-size: 24px;
    }

    .section-header p {
        font-size: 16px;
    }

    /* 卡片响应式 */
    .service-card,
    .solution-card,
    .case-card {
        padding: 30px 20px;
    }
}

/* 滚动动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* 加载动画 */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}