/* 全局变量 */
:root {
    --primary-color: #0056b3; /* 深蓝色主调 */
    --secondary-color: #00a8e8; /* 亮蓝辅助色 */
    --text-color: #333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* 导航栏 */
header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

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

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

/* 汉堡菜单样式 */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

/* 汉堡菜单动画效果 */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* 移动端菜单样式 */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    padding-top: 80px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
    padding: 0 20px;
}

.mobile-menu ul li {
    margin-bottom: 20px;
}

.mobile-menu ul li a {
    display: block;
    padding: 10px 0;
    color: var(--text-color);
    font-size: 1.1rem;
    transition: var(--transition);
}

.mobile-menu ul li a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.nav-links a {
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.btn-consult {
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    transition: var(--transition);
}

.btn-consult:hover {
    background: var(--secondary-color);
    color: white;
}

/* Hero 区域 */
#home {
    height: 100vh;
    background: linear-gradient(rgba(0, 86, 179, 0.8), rgba(0, 168, 232, 0.6)), url('assets/images/hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 70px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1.2s ease;
}

.btn-hero {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    transition: var(--transition);
    animation: fadeInUp 1.4s ease;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 通用板块样式 */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    margin: 10px auto 0;
}

.section-title p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* 服务板块 */
#services {
    background: var(--light-bg);
}

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

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 86, 179, 0.2);
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* 新增：数据统计 */
#stats {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* 科技感背景效果 */
#stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
    z-index: 1;
}

/* 网格线条效果 */
#stats::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
}

/* 渐变背景动画 */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* 发光效果 */
.stat-number {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5),
                 0 0 20px rgba(255, 255, 255, 0.3),
                 0 0 30px rgba(255, 255, 255, 0.2);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.5),
                     0 0 20px rgba(255, 255, 255, 0.3),
                     0 0 30px rgba(255, 255, 255, 0.2);
    }
    to {
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.7),
                     0 0 25px rgba(255, 255, 255, 0.5),
                     0 0 35px rgba(255, 255, 255, 0.3);
    }
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-item {
    margin: 20px;
    position: relative;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    min-width: 200px;
    animation: fadeInUp 0.6s ease-out;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.stat-item:nth-child(1) {
    animation-delay: 0.1s;
}

.stat-item:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-item:nth-child(3) {
    animation-delay: 0.3s;
}

.stat-item:nth-child(4) {
    animation-delay: 0.4s;
}

/* 动画效果对比区域 */
#stats-comparison {
    padding: 80px 0;
    background: var(--light-bg);
}

.comparison-section {
    margin-bottom: 60px;
    padding: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.comparison-section h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.5rem;
}

.comparison-grid {
    justify-content: center;
}

.comparison-section .stat-item {
    background: var(--light-bg);
    border: 1px solid #e0e0e0;
    backdrop-filter: none;
    color: var(--text-color);
}

.comparison-section .stat-label {
    color: var(--text-color);
}

/* 渐变背景动画区域 */
.gradient-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    color: white;
}

.gradient-section h3 {
    color: white;
}

.gradient-section .stat-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.gradient-section .stat-label {
    color: rgba(255, 255, 255, 0.9);
}

.gradient-section .stat-number {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5),
                 0 0 20px rgba(255, 255, 255, 0.3),
                 0 0 30px rgba(255, 255, 255, 0.2);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.5),
                     0 0 20px rgba(255, 255, 255, 0.3),
                     0 0 30px rgba(255, 255, 255, 0.2);
    }
    to {
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.7),
                     0 0 25px rgba(255, 255, 255, 0.5),
                     0 0 35px rgba(255, 255, 255, 0.3);
    }
}

/* 3D效果 */
.comparison-section[data-effect="3d"] .stat-item {
    perspective: 1000px;
}

.comparison-section[data-effect="3d"] .stat-number {
    transform-style: preserve-3d;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
    font-family: 'Arial', sans-serif;
    position: relative;
}

.stat-number::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 3px;
    opacity: 0;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-number::before {
    opacity: 1;
    width: 60px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 10px;
    display: block;
}

/* 关于我们 */
#about {
    background: white;
}

.about-content {
    display: none;
    margin-top: 40px;
    animation: fadeIn 0.6s ease-in-out;
}

.about-content.active {
    display: flex;
    align-items: stretch;
    gap: 50px;
    flex-wrap: wrap;
    animation: fadeIn 0.8s ease-out;
}

.about-text {
    flex: 1;
    min-width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-image {
    flex: 1;
    min-width: 350px;
    max-width: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 86, 179, 0.15);
    object-fit: cover;
}

/* 企业资质特殊样式 */
#about-qualifications.about-content.active {
    display: block;
    animation: fadeIn 0.8s ease-out;
}

#about-qualifications.about-content.active .qualifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* 团队风采特殊样式 */
#about-team.about-content.active {
    display: block;
    animation: fadeIn 0.8s ease-out;
}

#about-team.about-content.active .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* 新增：核心优势 */
#features {
    background: var(--light-bg);
}

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

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
}

.feature-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 5px;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.2);
    color: var(--primary-color);
}

/* 联系我们 */
#contact {
    background: white;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 300px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.info-item i {
    width: 40px;
    height: 40px;
    background: var(--light-bg);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

form input, form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

form input:focus, form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 86, 179, 0.1);
}

form button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

form button:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 86, 179, 0.3);
}

form button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%, -50%);
    transform-origin: 50% 50%;
}

form button:hover::after {
    animation: ripple 1s ease-out;
}

/* 页脚 */
footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 60px 0 20px;
}

/* 桌面端隐藏移动端二维码模态框 */
.qrcode-modal {
    display: none !important;
}

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

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
    border-radius: 1px;
}

.footer-col ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 0;
}

.footer-col ul li a {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    background: rgba(0, 168, 232, 0.2);
    border-color: rgba(0, 168, 232, 0.3);
    transform: translateY(-2px);
}

.social-links a {
    display: inline-flex;
    width: 35px;
    height: 35px;
    background: #333;
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: var(--transition);
}

.social-links {
    position: relative;
}

.social-item {
    position: relative;
    display: inline-block;
    margin-right: 10px;
}

.social-item a {
    display: inline-flex;
    width: 35px;
    height: 35px;
    background: #333;
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-item a:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

/* 二维码样式 */
.qrcode {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    display: none;
    text-align: center;
    min-width: 220px;
}

.qrcode::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: white;
}

.qrcode img {
    width: 180px;
    height: 180px;
    margin-bottom: 10px;
}

.qrcode p {
    color: var(--text-color);
    font-size: 14px;
    margin: 0;
}

/* 悬停显示二维码 */
@media (min-width: 769px) {
    .social-item:hover .qrcode {
        display: block !important;
        animation: fadeIn 0.3s ease;
    }
}

.social-item:hover .qrcode img {
    animation: pulse 0.6s ease;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}

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

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

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* 脉冲动画 */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* 合作客户 */
.clients {
    padding: 100px 0;
    background: var(--light-bg);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.client-logo {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.client-logo.animate {
    opacity: 1;
    transform: translateY(0);
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 86, 179, 0.2);
}

.client-logo img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.client-logo:hover img {
    transform: scale(1.1);
}

/* 关于我们二级菜单 */
.about-nav {
    margin: 30px 0;
    border-bottom: 1px solid #e0e0e0;
}

.about-nav-menu {
    display: flex;
    list-style: none;
    width: 100%;
}

.about-nav-item {
    flex: 1;
    text-align: center;
    margin-right: 0;
}

.about-nav-item a {
    color: var(--text-color);
    text-decoration: none;
    padding: 10px 0;
    display: block;
    position: relative;
    transition: var(--transition);
    font-weight: 500;
}

.about-nav-item a:hover {
    color: var(--primary-color);
}

.about-nav-item.active a {
    color: var(--primary-color);
}

.about-nav-item.active a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

/* 公司简介排版 */
.about-text {
    line-height: 1.8;
    flex: 1;
    min-width: 400px;
    padding: 20px 0;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
    font-weight: 600;
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 2px;
}

.company-intro {
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 86, 179, 0.08);
    border: 1px solid rgba(0, 86, 179, 0.05);
}

.intro-paragraph {
    margin-bottom: 22px;
    text-align: justify;
    font-size: 15px;
    color: #444;
    line-height: 2;
    letter-spacing: 0.3px;
}

.intro-paragraph:last-of-type {
    margin-bottom: 0;
}

.company-mission {
    margin-top: 25px;
    padding: 25px 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 10px;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.3);
}

.company-mission p {
    margin: 0;
    line-height: 1.8;
}

/* 企业资质 */
.qualifications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.qualification-item {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
    cursor: pointer;
}

.qualification-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 86, 179, 0.2);
}

.qualification-item img {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.qualification-item:hover img {
    transform: scale(1.1);
}

.qualification-item p {
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
}

/* 资质证书模态框 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.modal-content {
    position: relative;
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 900px;
    text-align: center;
    background: transparent;
}

.modal-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.modal-caption {
    margin-top: 15px;
    color: #e0e0e0;
    font-size: 16px;
}

.close {
    position: absolute;
    top: -10px;
    right: 10px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.7);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.close:hover {
    color: var(--primary-color);
    background: rgba(0, 0, 0, 0.9);
}

/* 团队风采 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.team-item {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
    cursor: pointer;
}

.team-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 86, 179, 0.2);
}

.team-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-item:hover img {
    transform: scale(1.15);
}

.team-item p {
    padding: 15px;
    color: var(--text-color);
    text-align: center;
    font-weight: 500;
}

/* 团队风采轮播模态框 */
.team-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
    box-sizing: border-box;
}

.team-modal-content {
    position: relative;
    margin: 1% auto;
    padding: 5px;
    width: 98%;
    max-width: 1400px;
    text-align: center;
}

.team-modal-close {
    position: absolute;
    top: -10px;
    right: 10px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.7);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.team-modal-close:hover {
    color: var(--primary-color);
    background: rgba(0, 0, 0, 0.9);
}

.team-modal-slider {
    position: relative;
    margin: 10px 0;
}

.team-modal-img {
    max-width: 100%;
    max-height: 95vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.team-modal-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.team-modal-prev,
.team-modal-next {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.team-modal-prev:hover,
.team-modal-next:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.team-modal-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.team-modal-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.team-modal-indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* 团队风采特殊样式 */
#about-team.about-content.active {
    display: block;
}

#about-team.about-content.active .team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
}

/* 企业资质特殊样式 */
#about-qualifications.about-content.active {
    display: block;
}

#about-qualifications.about-content.active .qualifications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* 隐藏桌面端导航 */
    }
    .btn-consult {
        display: none; /* 隐藏桌面端咨询按钮 */
    }
    .hamburger {
        display: block; /* 显示汉堡菜单 */
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .stats-grid {
        flex-direction: column;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content.active {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    
    .about-image {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        order: -1;
    }
    
    .about-text {
        min-width: 100%;
        padding: 0;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
    
    #about-team.about-content.active .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #about-qualifications.about-content.active .qualifications-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .qualifications-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    /* 移动端页脚优化 */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .footer-col {
        margin-bottom: 15px;
        padding: 0 15px;
    }
    
    .footer-col h4 {
        font-size: 1.1rem;
        margin-bottom: 15px;
        color: rgba(255, 255, 255, 0.9);
        position: relative;
        display: inline-block;
    }
    
    .footer-col h4::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 50%;
        transform: translateX(-50%);
        width: 30px;
        height: 2px;
        background: var(--secondary-color);
        border-radius: 1px;
    }
    
    .footer-col:first-child {
        order: 2;
        padding-top: 10px;
    }
    
    .footer-col:nth-child(2) {
        order: 1;
    }
    
    .footer-col:nth-child(3) {
        order: 3;
        padding-bottom: 20px;
    }
    
    /* 快速链接优化 */
    .footer-col ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0;
        margin: 0;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .footer-col ul li {
        margin-bottom: 0;
    }
    
    .footer-col ul li a {
        display: block;
        background: rgba(255, 255, 255, 0.08);
        padding: 10px 15px;
        border-radius: 8px;
        font-size: 14px;
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .footer-col ul li a:hover {
        background: rgba(0, 168, 232, 0.2);
        color: var(--secondary-color);
        border-color: rgba(0, 168, 232, 0.3);
        transform: translateY(-2px);
    }
    
    /* 社交图标区域 */
    .social-links {
        display: flex;
        justify-content: center;
        gap: 25px;
        position: relative;
        z-index: 100;
        padding: 15px 0;
    }
    
    .social-item {
        position: relative;
        z-index: 100;
    }
    
    .social-item a {
        width: 45px;
        height: 45px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.15);
    }
    
    .social-item a:hover {
        background: var(--primary-color);
        transform: scale(1.1);
        border-color: var(--primary-color);
    }
    
    .social-links-wrapper {
        position: relative;
    }
    
    /* 移动端二维码使用全屏模态框 */
    .qrcode-modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.9);
        z-index: 9999;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }
    
    .qrcode-modal.active {
        display: flex !important;
        animation: fadeIn 0.3s ease;
    }
    
    .qrcode-modal-content {
        background: white;
        padding: 25px;
        border-radius: 12px;
        text-align: center;
        max-width: 300px;
        width: 100%;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    
    .qrcode-modal-content img {
        width: 180px;
        height: 180px;
        margin-bottom: 12px;
        border-radius: 8px;
    }
    
    .qrcode-modal-content p {
        color: #333;
        font-size: 14px;
        margin: 0 0 8px 0;
        font-weight: 500;
    }
    
    .qrcode-modal-content .save-tip {
        font-size: 12px;
        color: #888;
        margin: 0;
        font-weight: normal;
    }
    
    .qrcode-modal-close {
        display: none;
    }
    
    /* 点击模态框背景关闭 */
    .qrcode-modal.active {
        cursor: pointer;
    }
    
    .qrcode-modal-content {
        cursor: default;
    }
    
    /* 移动端隐藏原有的二维码弹出（使用模态框替代） */
    .social-item .qrcode {
        display: none !important;
    }
}

@media (max-width: 480px) {
    #about-team.about-content.active .team-grid {
        grid-template-columns: 1fr;
    }
}

/* 返回顶部按钮 */
#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

/* 页面加载动画 */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid var(--light-bg);
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}