/* 全局基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', '微软雅黑', sans-serif;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    color: #1e293b;
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* 页面加载动画 */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: all 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
}

/* 页眉样式 - 专业优化版 */
header {
    position: sticky;
    top: 0;
    z-index: 1001;
    height: 85px;
    padding: 0 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    height: 75px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 250, 252, 0.99) 100%);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 2px 6px rgba(0, 0, 0, 0.08);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.logo {
    height: 58px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

header.scrolled .logo {
    height: 48px;
}

.company-name {
    font-size: 26px;
    color: #1e293b;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

header.scrolled .company-name {
    font-size: 24px;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    padding: 12px 20px;
    color: #475569;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    position: relative;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.3px;
}

.nav-links a:hover {
    color: #1e40af;
    background: rgba(59, 130, 246, 0.08);
    transform: translateY(-1px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 80%;
}

.nav-links a.active {
    color: #1e40af;
    background: rgba(59, 130, 246, 0.1);
}

.nav-links a.active::after {
    width: 80%;
}

/* 页眉右侧容器 */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* 语言选择器样式 */
.language-selector {
    position: relative;
    display: flex;
    align-items: center;
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(37, 99, 235, 0.08) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.language-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
}

.language-toggle:hover::before {
    left: 100%;
}

.language-toggle:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(37, 99, 235, 0.12) 100%);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    color: #1e40af;
}

.language-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.language-toggle:hover .language-icon {
    transform: scale(1.1);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.1),
        0 4px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1002;
    min-width: 140px;
    overflow: hidden;
}

.language-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: white;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-bottom: none;
    border-right: none;
    transform: rotate(45deg);
}

.language-selector:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #475569;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(37, 99, 235, 0.08) 100%);
    color: #1e40af;
    transform: translateX(2px);
}

.language-option.active {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
    color: #1e40af;
    font-weight: 600;
}

.flag-icon {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* 导航项和下拉菜单容器样式 */
.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

/* 创建一个不可见的悬停区域，连接导航项和下拉框 */
.nav-item::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 8px;
    background: transparent;
    z-index: 999;
}

.nav-links a.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    padding-right: 8px;
}

/* 下拉菜单样式 - 修复版 */
.dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 8px 16px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    width: 260px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
    z-index: 1000;
    overflow: hidden;
    pointer-events: none;
    margin-top: 8px;
    will-change: opacity, visibility;
}

/* 优雅的小三角形指示器 */
.dropdown-content::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-bottom: none;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 1001;
}

/* PC端悬停效果由JavaScript控制，这里只保留基础样式 */

.dropdown-content a {
    color: #475569;
    padding: 14px 20px;
    display: block;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(147, 197, 253, 0.12) 100%);
    color: #1e40af;
    transform: none;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

.dropdown-content a:first-child {
    border-radius: 12px 12px 0 0;
}

.dropdown-content a:last-child {
    border-radius: 0 0 12px 12px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, 22px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* 防止下拉框超出屏幕边界 */
@media (max-width: 1024px) and (min-width: 769px) {
    .dropdown-content {
        left: 0 !important;
        transform: translateX(0) !important;
        width: 220px;
    }

    .dropdown-content::before {
        left: 24px;
        transform: rotate(45deg);
    }
}

/* 确保下拉框位置稳定性 */
.nav-item {
    position: relative;
}

.nav-item .dropdown-content {
    position: absolute !important;
}

/* 调整原有导航链接样式（合并重复的选择器） */
.nav-links a {
    padding: 8px 12px;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.2; /* 统一行高（1.2倍字号），确保文字垂直居中 */
    display: inline-flex; /* 配合align-items实现精准垂直对齐 */
    align-items: center; /* 文字在链接块内垂直居中 */
    height: 100%; /* 继承父级高度（header高度80px，实际导航项高度由内容决定） */
}

.nav-links a:hover {
    color: #2c5f8d;
}

/* 页脚样式 - 专业优化版 */
footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    margin-top: auto;
    width: 100%;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 5% 30px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    border-radius: 2px;
}

.footer-section p,
.footer-section li {
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 12px;
    font-size: 15px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.footer-section a:hover {
    color: #60a5fa;
    transform: translateX(4px);
}

.company-info {
    padding-right: 20px;
}

.company-info .company-name {
    color: #ffffff;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.company-description {
    color: #94a3b8;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: #94a3b8;
    font-size: 14px;
    margin: 0;
}

/* 新的页脚导航样式 */
.footer-navigation {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 5% 30px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.footer-nav-section h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-nav-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    border-radius: 1px;
}

.footer-nav-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-section li {
    margin-bottom: 10px;
}

.footer-nav-section a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
    transition: all 0.3s ease;
    display: block;
    padding: 4px 0;
}

.footer-nav-section a:hover {
    color: #60a5fa;
    transform: translateX(4px);
}

.footer-company-info {
    color: #cbd5e1;
}

.footer-company-info h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-company-info p {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 8px;
}

.footer-social {
    margin-top: 0;
}

/* 关注我们栏目现在使用h3标题，样式已在.footer-nav-section h3中定义 */

.footer-qr-codes {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-qr-item {
    text-align: center;
    flex-direction: column;
    align-items: center;
}

.footer-qr-item img {
    width: 70px;
    height: 70px;
    border-radius: 6px;
    margin-bottom: 6px;
    background: #ffffff;
    padding: 3px;
    display: block;
}

.footer-qr-item span {
    display: block;
    color: #cbd5e1;
    font-size: 12px;
    line-height: 1.4;
}

/* 已删除footer-bottom相关样式 */

/* 兼容旧页脚结构的样式 */
.footer-contacts {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 5% 30px;
    text-align: center;
    color: #cbd5e1;
    line-height: 1.8;
}

.footer-contacts p {
    color: #cbd5e1;
    font-size: 16px;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.footer-contacts p:hover {
    color: #60a5fa;
}

/* 悬浮按钮样式 - 专业优化版 */
.fixed-buttons {
    position: fixed;
    right: 24px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 1000;
}

.fixed-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.15),
        0 4px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.fixed-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fixed-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow:
        0 16px 32px rgba(0, 0, 0, 0.2),
        0 8px 16px rgba(0, 0, 0, 0.15);
}

.fixed-btn:hover::before {
    opacity: 1;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.email-btn {
    background: linear-gradient(135deg, #ea4335 0%, #d33b2c 100%);
}

.fixed-btn:active {
    transform: translateY(-2px) scale(1.02);
}


/* 移动端适配 - 专业优化版 */
@media (max-width: 768px) {
    header {
        height: 65px;
        padding: 0 20px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 250, 252, 0.99) 100%);
    }

    .header-left {
        gap: 16px;
    }

    .header-right {
        gap: 15px;
    }

    .language-toggle {
        padding: 6px 12px;
        font-size: 13px;
    }

    .language-icon {
        width: 16px;
        height: 16px;
    }

    .language-dropdown {
        right: -10px;
        min-width: 120px;
    }

    .nav-links {
        display: none;
    }

    .logo {
        height: 40px;
    }

    .company-name {
        font-size: 18px;
        letter-spacing: -0.4px;
        white-space: normal;
        line-height: 1.2;
        max-width: calc(100vw - 200px);
    }

    /* 现代汉堡菜单样式 */
    .hamburger-menu {
        display: block;
        width: 32px;
        height: 24px;
        position: relative;
        cursor: pointer;
        z-index: 1002;
    }

    .hamburger-menu span {
        position: absolute;
        height: 3px;
        width: 100%;
        background: #1e293b;
        border-radius: 3px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        transform-origin: center;
    }

    .hamburger-menu span:nth-child(1) { top: 0; }
    .hamburger-menu span:nth-child(2) { top: 10px; }
    .hamburger-menu span:nth-child(3) { top: 20px; }

    /* 页脚移动端优化 */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-container {
        padding: 40px 5% 20px;
    }

    .company-info {
        padding-right: 0;
    }

    .social-links {
        justify-content: center;
    }

    /* 新页脚导航移动端优化 */
    .footer-navigation {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 5% 20px;
        text-align: center;
    }

    .footer-nav-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* 关注我们栏目在移动端的h3样式已在上面的规则中处理 */

    .footer-qr-codes {
        justify-content: center;
        gap: 15px;
    }

    .footer-qr-item img {
        width: 60px;
        height: 60px;
    }
    
    /* 移动端导航链接样式 */
    .nav-links a {
        padding: 16px 24px;
        width: 100%;
        text-align: center;
        border-radius: 12px;
        margin: 4px 0;
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(226, 232, 240, 0.8);
        font-weight: 600;
        color: #475569;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links a:hover {
        background: rgba(59, 130, 246, 0.1);
        color: #1e40af;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
    }

    /* 移动端下拉菜单调整 */
    .dropdown-content {
        position: static !important;
        box-shadow: none !important;
        transform: none !important;
        background: rgba(248, 250, 252, 0.95) !important;
        backdrop-filter: blur(15px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(15px) saturate(180%) !important;
        margin: 12px 0 0 0 !important;
        width: 100% !important;
        border-radius: 12px !important;
        border: 1px solid rgba(226, 232, 240, 0.6) !important;
        overflow: hidden !important;
        left: auto !important;
        top: auto !important;
        min-width: auto !important;
        opacity: 0 !important;
        visibility: hidden !important;
        max-height: 0 !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        pointer-events: auto !important;
    }

    .dropdown-content::before {
        display: none !important;
    }

    .nav-item:hover .dropdown-content {
        transform: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .dropdown-content a {
        padding: 16px 24px !important;
        background: transparent !important;
        text-align: center !important;
        border-radius: 0 !important;
        border: none !important;
        border-bottom: 1px solid rgba(226, 232, 240, 0.4) !important;
        margin: 0 !important;
        font-size: 15px !important;
        font-weight: 500 !important;
        color: #374151 !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .dropdown-content a:first-child {
        border-top-left-radius: 12px !important;
        border-top-right-radius: 12px !important;
    }

    .dropdown-content a:last-child {
        border-bottom: none !important;
        border-bottom-left-radius: 12px !important;
        border-bottom-right-radius: 12px !important;
    }

    .dropdown-content a:hover,
    .dropdown-content a:active {
        background: rgba(59, 130, 246, 0.12) !important;
        transform: none !important;
        color: #1d4ed8 !important;
    }

    /* 移动端下拉框切换功能 */
    .nav-item.mobile-dropdown-active .dropdown-content {
        opacity: 1 !important;
        visibility: visible !important;
        max-height: 400px !important;
        pointer-events: auto !important;
    }

    @keyframes mobileDropdownSlide {
        from {
            opacity: 0;
            max-height: 0;
            padding-top: 0;
            padding-bottom: 0;
        }
        to {
            opacity: 1;
            max-height: 400px;
            padding-top: 12px;
            padding-bottom: 12px;
        }
    }

    /* 移动端下拉箭头旋转动画 */
    .nav-item.mobile-dropdown-active .dropdown-arrow {
        transform: rotate(180deg) !important;
    }
}
    
    @keyframes mobileFadeIn {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* 汉堡菜单激活状态 - 优雅动画 */
    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
        top: 10px;
    }
    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }
    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
        top: 10px;
    }

    /* 移动端导航菜单 - 现代设计 */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
        backdrop-filter: blur(20px) saturate(180%);
        padding: 30px 20px;
        box-shadow:
            0 20px 40px rgba(0, 0, 0, 0.15),
            0 8px 16px rgba(0, 0, 0, 0.1);
        animation: mobileSlideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    }

    .nav-links.active .nav-item {
        margin: 8px 0;
        opacity: 0;
        animation: mobileItemFadeIn 0.3s ease forwards;
        width: 100%;
    }

    /* 确保移动端下拉框在nav-links.active状态下正确显示 */
    .nav-links.active .nav-item .dropdown-content {
        position: static !important;
        opacity: 0 !important;
        visibility: hidden !important;
        max-height: 0 !important;
        overflow: hidden !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .nav-links.active .nav-item.mobile-dropdown-active .dropdown-content {
        opacity: 1 !important;
        visibility: visible !important;
        max-height: 400px !important;
    }

    .nav-links.active .nav-item:nth-child(1) { animation-delay: 0.1s; }
    .nav-links.active .nav-item:nth-child(2) { animation-delay: 0.2s; }
    .nav-links.active .nav-item:nth-child(3) { animation-delay: 0.3s; }
    .nav-links.active .nav-item:nth-child(4) { animation-delay: 0.4s; }

    @keyframes mobileSlideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes mobileItemFadeIn {
        from {
            opacity: 0;
            transform: translateX(-20px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    /*页眉下图片格式*/
    .banner-container {
        position: relative;
        width: 100%;
        height: 400px;
        overflow: hidden;
        margin-top: 0;
        background-color: #000;
    }

    .banner-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
        filter: brightness(0.7);
        transform: scale(1.02);
    }

    .banner-container:hover .banner-image {
        transform: scale(1.05);
    }

    .banner-text {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
        font-size: 3.5rem;
        font-weight: 600;
        text-align: center;
        width: 100%;
        padding: 0 20px;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
        opacity: 0;
        animation: fadeInUp 0.8s ease forwards;
        white-space: nowrap;
    }

    .banner-text::after {
        content: '';
        display: block;
        width: 80px;
        height: 4px;
        background: #fff;
        margin: 20px auto 0;
        transform: scaleX(0);
        animation: lineExpand 0.8s ease 0.4s forwards;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translate(-50%, -30%);
        }
        to {
            opacity: 1;
            transform: translate(-50%, -50%);
        }
    }

    @keyframes lineExpand {
        from {
            transform: scaleX(0);
        }
        to {
            transform: scaleX(1);
        }
    }

    /* Banner响应式优化 */
    @media (max-width: 1200px) {
        .banner-container {
            height: 350px;
        }
        
        .banner-text {
            font-size: 3rem;
        }
    }

    @media (max-width: 768px) {
        .banner-container {
            height: 250px;
        }
        
        .banner-text {
            font-size: 2.2rem;
        }
        
        .banner-text::after {
            width: 60px;
            height: 3px;
            margin: 15px auto 0;
        }
    }

    @media (max-width: 480px) {
        .banner-container {
            height: 200px;
        }
        
        .banner-text {
            font-size: 1.8rem;
        }
        
        .banner-text::after {
            width: 50px;
            margin: 10px auto 0;
        }
    }

    .sub-nav {
        display: flex;
        justify-content: center;
        background: #f5f5f5;
        padding: 20px 0;
    }

    .sub-nav a {
        padding: 12px 30px;
        margin: 0 15px;
        background: #fff;
        border-radius: 25px;
        text-decoration: none;
        color: #333;
        transition: all 0.3s;
        border: 1px solid #ddd;
    }

    .sub-nav a:hover {
        background: #007bff;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    @media (max-width: 768px) {
        .sub-nav {
            flex-wrap: wrap;
            padding: 10px;
        }
        
        .sub-nav a {
            margin: 5px;
            padding: 8px 15px;
            font-size: 0.9rem;
        }
        
        .banner-text {
            font-size: 2rem;
        }
        
        .banner-image {
            height: 200px;
        }
    }

.image-gallery {
    margin: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    width: 100%;
    margin-bottom: 30px;
}

.gallery-item img {
    width: 100%;
    max-width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover img {
    transform: scale(1.1);
    z-index: 1;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.gallery-item {
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    margin: 20px 0;
}
    

.image-caption {
    text-align: center;
    margin-top: 15px;
    font-size: 16px;
    color: #666;
}

.magnifier-container {
    position: relative;
    overflow: hidden;
}

.magnifier-glass {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: none;
    background: rgba(255,255,255,0.1);
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.3s;
}

.magnifier-container:hover .magnifier-glass {
    opacity: 1;
}

.magnifier-container:hover img {
    transform: scale(1.5);
    transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.header-left .company-name {
    font-size: 24px; /* 统一字体大小 */
    margin: 0;
    line-height: 1.2;
}

/* 联系我们页面样式 */
.contact-main {
    min-height: calc(100vh - 200px);
    padding: 40px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-header p {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* 联系信息样式 */
.contact-info {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 8px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 30px;
    text-align: center;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(147, 197, 253, 0.05) 100%);
    transform: translateY(-2px);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.info-text h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.info-text p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* 联系表单样式 */
.contact-form-section {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 8px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.contact-form-section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 30px;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    padding: 18px 32px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.submit-btn:hover .submit-icon {
    transform: translateX(4px);
}

/* 联系页面响应式设计 */
@media (max-width: 768px) {
    .contact-main {
        padding: 20px 0;
    }

    .contact-container {
        padding: 0 16px;
    }

    .contact-header h1 {
        font-size: 2.2rem;
    }

    .contact-header p {
        font-size: 1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info,
    .contact-form-section {
        padding: 24px;
        border-radius: 16px;
    }

    .contact-info h2,
    .contact-form-section h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .info-item {
        padding: 16px;
        margin-bottom: 20px;
    }

    .info-icon {
        width: 40px;
        height: 40px;
    }

    .info-icon svg {
        width: 20px;
        height: 20px;
    }

    .info-text h3 {
        font-size: 1.1rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 0.95rem;
    }

    .submit-btn {
        padding: 16px 28px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-header h1 {
        font-size: 1.8rem;
    }

    .contact-info,
    .contact-form-section {
        padding: 20px;
    }

    .info-item {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .info-icon {
        align-self: center;
    }
}

/* 联系我们悬浮按钮 */
.contact-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2c5f8d 0%, #4a90c2 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow:
        0 8px 25px rgba(44, 95, 141, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    color: white;
    font-size: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.contact-float-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow:
        0 15px 35px rgba(44, 95, 141, 0.4),
        0 8px 20px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #4a90c2 0%, #2c5f8d 100%);
    border-color: rgba(255, 255, 255, 0.2);
}

.contact-float-btn:active {
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 10px 25px rgba(44, 95, 141, 0.35),
        0 6px 15px rgba(0, 0, 0, 0.18);
}

.contact-float-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-float-btn:hover::before {
    opacity: 1;
}

/* 联系图标 */
.contact-float-btn .contact-icon {
    width: 28px;
    height: 28px;
    fill: currentColor;
    transition: all 0.3s ease;
}

.contact-float-btn:hover .contact-icon {
    transform: scale(1.1);
}

/* 悬浮提示 */
.contact-float-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact-float-btn:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-5px);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .contact-float-btn {
        width: 55px;
        height: 55px;
        bottom: 25px;
        right: 25px;
        font-size: 22px;
    }

    .contact-float-btn .contact-icon {
        width: 26px;
        height: 26px;
    }

    .contact-float-btn::after {
        display: none; /* 移动端隐藏提示文字 */
    }

    .contact-float-btn:hover {
        transform: translateY(-3px) scale(1.05);
    }
}

@media (max-width: 480px) {
    /* 页眉针对小屏幕的优化 */
    header {
        height: 60px;
        padding: 0 15px;
    }

    .header-left {
        gap: 12px;
    }

    .logo {
        height: 35px;
    }

    .company-name {
        font-size: 16px;
        letter-spacing: -0.3px;
        white-space: normal;
        line-height: 1.1;
        max-width: calc(100vw - 150px);
    }

    .header-right {
        gap: 10px;
    }

    .language-toggle {
        padding: 4px 8px;
        font-size: 12px;
        border-radius: 20px;
    }

    .language-icon {
        width: 14px;
        height: 14px;
    }

    .language-dropdown {
        right: -5px;
        min-width: 100px;
        font-size: 12px;
    }

    .contact-float-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 20px;
    }

    .contact-float-btn .contact-icon {
        width: 24px;
        height: 24px;
    }
}

/* 超小屏幕优化 (360px以下) */
@media (max-width: 360px) {
    header {
        height: 55px;
        padding: 0 10px;
    }

    .header-left {
        gap: 8px;
    }

    .logo {
        height: 30px;
    }

    .company-name {
        font-size: 14px;
        letter-spacing: -0.2px;
        white-space: normal;
        line-height: 1.1;
        max-width: calc(100vw - 120px);
    }

    .header-right {
        gap: 8px;
    }

    .language-toggle {
        padding: 3px 6px;
        font-size: 11px;
        border-radius: 18px;
    }

    .language-icon {
        width: 12px;
        height: 12px;
    }

    .language-dropdown {
        right: 0;
        min-width: 90px;
        font-size: 11px;
    }
}