:root {
    /* 主色调 */
    --primary: #0052cc;     /* 经典科技蓝 */
    --secondary: #172b4d;   /* 深色背景 */
    --accent: #36b37e;      /* 点缀绿色 */
    
    /* 文字颜色 */
    --text-dark: #253858;   /* 主要文字 */
    --text-light: #5e6c84;  /* 次要文字 */
    --text-white: #ffffff;  /* 白色文字 */
    
    /* 背景色 */
    --bg-light: #f4f5f7;    /* 浅色背景 */
    --bg-white: #ffffff;    /* 纯白背景 */
    
    /* 功能色 */
    --border: rgba(0,0,0,0.1);
    --shadow: rgba(9,30,66,0.15);
}

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 全局样式 */
body {
    font-family: "微軟正黑體", -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    line-height: 1.5;
    background: var(--bg-light);
}

/* 导航栏样式优化 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: var(--bg-white);
    box-shadow: 0 1px 0 var(--border);
    z-index: 100;
}

.nav-brand {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    height: 36px;
    width: auto;
}

.brand-name {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand-name .cn {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.brand-name .en {
    font-size: 13px;
    color: var(--text-light);
    letter-spacing: 0.02em;
}

/* 导航链接样式重设计 */
.nav-links {
    display: flex;
    gap: 40px; /* 增加按钮间距 */
    align-items: center;
}

.nav-links a {
    position: relative;
    text-decoration: none;
    color: #2d3436;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 0;
    transition: all 0.3s ease;
}

/* 导航链接悬停效果 */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

/* 主视觉区域 - 固定高度 */
.hero {
    height: 800px;  /* 固定高度为800px */
    position: relative;
    overflow: hidden;
    margin-top: 72px; /* 为固定导航栏留出空间 */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary); /* 添加背景色,防止图片加载前白屏 */
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(23, 43, 77, 0.7) 50%
    ); /* 渐变遮罩,让文字更清晰 */
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* 添加文字阴影提高可读性 */
}

.hero-content p {
    font-size: 18px;
    color: var(--text-white);
    max-width: 600px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 服务区域样式 */
.services {
    padding: 80px 0;
    background: var(--bg-light);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

/* 标签按钮样式 */
.service-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    background: var(--bg-white);
    color: var(--text-dark);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tab-btn i {
    font-size: 1.2rem;
}

.tab-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.tab-btn.active {
    background: var(--primary);
    color: white;
}

/* 内容区域样式 */
.service-content {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
}

.content-wrapper {
    padding: 30px;
}

.service-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
}

.content-wrapper ul {
    list-style: none;
    padding: 0;
}

.content-wrapper li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
}

.content-wrapper li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* 公司简介区域样式 */
.about {
    padding: 100px 5%;
    background: var(--bg-white);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    text-align: center;
}

.about h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about .subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 50px;
}

.about-text {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: left;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-light);
}

.company-features {
    display: flex;
    justify-content: center;
    gap: 80px;
}

.feature {
    text-align: center;
}

.feature-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.feature-text {
    color: var(--text-light);
    font-size: 16px;
}

/* 服务切换效果 */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 联络信息区域样式 */
.contact {
    padding: 80px 0;
    background: var(--secondary);
    color: var(--text-white);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-white);
}

.contact-section {
    text-align: center;
    padding: 20px;
}

.contact-section h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.contact-section p,
.contact-section a {
    color: var(--text-white);
    line-height: 1.8;
    opacity: 0.9;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-section a:hover {
    opacity: 1;
}

.contact-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 15px;
}

/* 页脚样式 */
.footer {
    background: var(--secondary);
    color: var(--text-white);
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* 调整为两列 */
    gap: 60px; /* 增加列间距 */
    justify-content: center;
    margin-bottom: 40px;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section h3 {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-item i {
    color: var(--accent);
    font-size: 1.1rem;
    margin-top: 4px;
}

.contact-item a {
    color: var(--text-white);
    text-decoration: none;
    transition: opacity 0.3s;
}

.contact-item a:hover {
    opacity: 0.8;
}

.address p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.en-address {
    font-size: 0.9rem;
    opacity: 0.8;
}

.partner-links {
    list-style: none;
    padding: 0;
}

.partner-links li {
    margin-bottom: 15px;
}

.partner-links a {
    color: var(--text-white);
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.partner-links a:hover {
    color: var(--accent);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero {
        height: 600px; /* 移动端降低高度 */
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
        max-width: 100%;
        padding: 0 20px;
    }
    
    .service-tabs {
        flex-direction: column;
        padding: 0 20px;
    }
    
    .tab-btn {
        width: 100%;
        justify-content: center;
    }
    
    .nav-links {
        display: none; /* 移动端先隐藏，后续可添加汉堡菜单 */
    }
    
    .brand-name .cn {
        font-size: 18px;
    }
    
    .brand-name .en {
        font-size: 12px;
    }
    
    .about {
        padding: 60px 20px;
    }

    .company-features {
        flex-direction: column;
        gap: 40px;
    }

    .about h2 {
        font-size: 28px;
    }

    .about .subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .about-text {
        padding: 0;
    }

    .services h2 {
        font-size: 2rem;
    }
    
    .service-tabs {
        flex-direction: column;
        padding: 0 10px;
    }
    
    .tab-btn {
        width: 100%;
        justify-content: center;
    }
    
    .service-header {
        flex-direction: column;
        text-align: center;
    }
    
    .service-icon {
        margin-bottom: 15px;
    }
    
    .content-wrapper {
        padding: 20px;
    }

    .contact {
        padding: 60px 0;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-section {
        padding: 15px;
    }

    .contact-info h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .services {
        padding: 40px 0;
    }
    
    .services h2 {
        font-size: 1.75rem;
    }
}