 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     -webkit-tap-highlight-color: transparent;
 }

body {
    font-family: -apple-system, BlinkMacrosystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background-color: #fff;
}

/*!* 页面加载动画 *!*/
/*.page-loader {*/
/*    position: fixed;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background: linear-gradient(135deg, #1e3c72, #2a5298);*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    z-index: 9999;*/
/*    transition: opacity 0.5s ease;*/
/*}*/

/*.page-loader.hidden {*/
/*    opacity: 0;*/
/*    pointer-events: none;*/
/*}*/

/*.loader-content {*/
/*    text-align: center;*/
/*    color: white;*/
/*}*/

/*.spinner {*/
/*    width: 60px;*/
/*    height: 60px;*/
/*    border: 3px solid rgba(255,255,255,0.3);*/
/*    border-top: 3px solid #fff;*/
/*    border-radius: 50%;*/
/*    animation: spin 1s linear infinite;*/
/*    margin: 0 auto 20px;*/
/*}*/

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

 /* 新材料主题开屏动画 */
 .page-loader {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: linear-gradient(135deg, #1B4FA2 0%, #1B4FA2 50%, #1B4FA2 100%);
     display: flex;
     align-items: center;
     justify-content: center;
     z-index: 9999;
     transition: all 0.8s ease;
     overflow: hidden;
 }

 .page-loader.hidden {
     opacity: 0;
     transform: scale(1.1);
     pointer-events: none;
 }

 .page-loader::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>') repeat;
     animation: gridMove 20s linear infinite;
 }

 @keyframes gridMove {
     0% { transform: translate(0, 0); }
     100% { transform: translate(10px, 10px); }
 }

 .loader-content {
     text-align: center;
     color: white;
     position: relative;
     z-index: 2;
 }

 .company-logo {
     font-size: 1.8rem;
     font-weight: 700;
     margin-bottom: 30px;
     opacity: 0;
     transform: translateY(-20px);
     animation: logoFadeIn 1s ease 0.5s forwards;
     letter-spacing: 2px;
 }

 @keyframes logoFadeIn {
     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 /* 分子结构动画 */
 .molecule-container {
     width: 200px;
     height: 200px;
     margin: 0 auto 40px;
     position: relative;
     animation: moleculeRotate 8s linear infinite;
 }

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

 .atom {
     position: absolute;
     width: 16px;
     height: 16px;
     border-radius: 50%;
     background: linear-gradient(135deg, #64b5f6, #42a5f5);
     box-shadow: 0 0 20px rgba(100, 181, 246, 0.6);
     animation: atomPulse 2s ease-in-out infinite alternate;
 }

 .atom.carbon {
     background: linear-gradient(135deg, #66bb6a, #4caf50);
     box-shadow: 0 0 20px rgba(102, 187, 106, 0.6);
 }

 .atom.oxygen {
     background: linear-gradient(135deg, #ef5350, #f44336);
     box-shadow: 0 0 20px rgba(239, 83, 80, 0.6);
 }

 .atom.hydrogen {
     background: linear-gradient(135deg, #fff, #e0e0e0);
     box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
     width: 12px;
     height: 12px;
 }

 @keyframes atomPulse {
     0% { transform: scale(1); opacity: 0.8; }
     100% { transform: scale(1.2); opacity: 1; }
 }

 /* 原子位置布局 */
 .atom:nth-child(1) { top: 50%; left: 50%; transform: translate(-50%, -50%); animation-delay: 0s; }
 .atom:nth-child(2) { top: 20%; left: 30%; animation-delay: 0.2s; }
 .atom:nth-child(3) { top: 20%; right: 30%; animation-delay: 0.4s; }
 .atom:nth-child(4) { bottom: 20%; left: 30%; animation-delay: 0.6s; }
 .atom:nth-child(5) { bottom: 20%; right: 30%; animation-delay: 0.8s; }
 .atom:nth-child(6) { top: 50%; left: 15%; animation-delay: 1s; }
 .atom:nth-child(7) { top: 50%; right: 15%; animation-delay: 1.2s; }

 /* 分子键连接线 */
 .bond {
     position: absolute;
     height: 2px;
     background: linear-gradient(90deg, rgba(255,255,255,0.3), rgba(255,255,255,0.8), rgba(255,255,255,0.3));
     transform-origin: left center;
     animation: bondGlow 2s ease-in-out infinite alternate;
 }

 @keyframes bondGlow {
     0% { opacity: 0.5; box-shadow: 0 0 5px rgba(255,255,255,0.3); }
     100% { opacity: 1; box-shadow: 0 0 15px rgba(255,255,255,0.8); }
 }

 .bond:nth-child(8) {
     top: 50%; left: 50%;
     width: 60px;
     transform: translate(-50%, -50%) rotate(-45deg);
     animation-delay: 0.3s;
 }
 .bond:nth-child(9) {
     top: 50%; left: 50%;
     width: 60px;
     transform: translate(-50%, -50%) rotate(45deg);
     animation-delay: 0.6s;
 }
 .bond:nth-child(10) {
     top: 50%; left: 50%;
     width: 70px;
     transform: translate(-50%, -50%) rotate(-135deg);
     animation-delay: 0.9s;
 }
 .bond:nth-child(11) {
     top: 50%; left: 50%;
     width: 70px;
     transform: translate(-50%, -50%) rotate(135deg);
     animation-delay: 1.2s;
 }

 /* 进度条 */
 .progress-container {
     width: 280px;
     height: 4px;
     background: rgba(255, 255, 255, 0.2);
     border-radius: 2px;
     margin: 20px auto;
     overflow: hidden;
     position: relative;
 }

 .progress-bar {
     height: 100%;
     background: linear-gradient(90deg, #64b5f6, #42a5f5, #1e88e5);
     border-radius: 2px;
     width: 0%;
     animation: progressLoad 3s ease-in-out forwards;
     position: relative;
 }

 .progress-bar::after {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
     animation: progressShine 1.5s ease-in-out infinite;
 }

 @keyframes progressLoad {
     0% { width: 0%; }
     30% { width: 25%; }
     60% { width: 60%; }
     90% { width: 85%; }
     100% { width: 100%; }
 }

 @keyframes progressShine {
     0% { transform: translateX(-100%); }
     100% { transform: translateX(300%); }
 }

 .loading-text {
     font-size: 14px;
     margin-top: 15px;
     opacity: 0.9;
     animation: textFade 2s ease-in-out infinite alternate;
     font-weight: 300;
     letter-spacing: 1px;
 }

 @keyframes textFade {
     0% { opacity: 0.6; }
     100% { opacity: 1; }
 }

 .tech-specs {
     position: absolute;
     bottom: 50px;
     left: 50%;
     transform: translateX(-50%);
     display: flex;
     gap: 40px;
     opacity: 0.7;
     font-size: 12px;
     color: rgba(255, 255, 255, 0.8);
 }

 .spec-item {
     text-align: center;
     animation: specFadeIn 1s ease forwards;
 }

 .spec-item:nth-child(1) { animation-delay: 1.5s; }
 .spec-item:nth-child(2) { animation-delay: 1.8s; }
 .spec-item:nth-child(3) { animation-delay: 2.1s; }

 @keyframes specFadeIn {
     0% { opacity: 0; transform: translateY(10px); }
     100% { opacity: 0.7; transform: translateY(0); }
 }

 .spec-value {
     font-size: 16px;
     font-weight: 600;
     color: #64b5f6;
     display: block;
     margin-bottom: 2px;
 }

 /* 粒子效果增强 - 增加数量和种类 */
 .loading-particles {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     pointer-events: none;
     overflow: hidden;
 }

 .loading-particle {
     position: absolute;
     border-radius: 50%;
     animation: particleFloat 4s ease-in-out infinite;
 }

 /* 小粒子 */
 .loading-particle.small {
     width: 2px;
     height: 2px;
     background: rgba(100, 181, 246, 0.8);
     box-shadow: 0 0 6px rgba(100, 181, 246, 0.6);
 }

 /* 中等粒子 */
 .loading-particle.medium {
     width: 4px;
     height: 4px;
     background: rgba(102, 187, 106, 0.7);
     box-shadow: 0 0 10px rgba(102, 187, 106, 0.5);
     animation-duration: 5s;
 }

 /* 大粒子 */
 .loading-particle.large {
     width: 6px;
     height: 6px;
     background: rgba(239, 83, 80, 0.6);
     box-shadow: 0 0 15px rgba(239, 83, 80, 0.4);
     animation-duration: 6s;
 }

 /* 发光粒子 */
 .loading-particle.glow {
     width: 3px;
     height: 3px;
     background: rgba(255, 255, 255, 0.9);
     box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
     animation-duration: 3.5s;
 }

 /* 彩色粒子 */
 .loading-particle.purple {
     background: rgba(156, 39, 176, 0.7);
     box-shadow: 0 0 12px rgba(156, 39, 176, 0.5);
     animation-duration: 4.5s;
 }

 .loading-particle.orange {
     background: rgba(255, 152, 0, 0.7);
     box-shadow: 0 0 12px rgba(255, 152, 0, 0.5);
     animation-duration: 5.5s;
 }

 .loading-particle.cyan {
     background: rgba(0, 188, 212, 0.7);
     box-shadow: 0 0 12px rgba(0, 188, 212, 0.5);
     animation-duration: 4.2s;
 }

 /* 不同的粒子运动轨迹 */
 @keyframes particleFloat {
     0%, 100% {
         transform: translateY(100vh) translateX(0) scale(0) rotate(0deg);
         opacity: 0;
     }
     10% {
         opacity: 1;
         transform: translateY(90vh) translateX(10px) scale(1) rotate(45deg);
     }
     50% {
         transform: translateY(50vh) translateX(-20px) scale(1.2) rotate(180deg);
     }
     90% {
         opacity: 1;
         transform: translateY(10vh) translateX(15px) scale(0.8) rotate(315deg);
     }
     100% {
         opacity: 0;
         transform: translateY(0) translateX(0) scale(0) rotate(360deg);
     }
 }

 /* 螺旋运动粒子 */
 .loading-particle.spiral {
     animation-name: particleSpiral;
     animation-duration: 8s;
 }

 @keyframes particleSpiral {
     0% {
         transform: translateY(100vh) translateX(0) rotate(0deg) scale(0);
         opacity: 0;
     }
     10% {
         opacity: 1;
         scale: 1;
     }
     25% {
         transform: translateY(75vh) translateX(50px) rotate(90deg) scale(1.1);
     }
     50% {
         transform: translateY(50vh) translateX(-30px) rotate(180deg) scale(0.9);
     }
     75% {
         transform: translateY(25vh) translateX(40px) rotate(270deg) scale(1.2);
     }
     90% {
         opacity: 1;
     }
     100% {
         transform: translateY(0) translateX(0) rotate(360deg) scale(0);
         opacity: 0;
     }
 }

 /* 波浪运动粒子 */
 .loading-particle.wave {
     animation-name: particleWave;
     animation-duration: 6s;
 }

 @keyframes particleWave {
     0%, 100% {
         transform: translateY(100vh) translateX(0) scale(0);
         opacity: 0;
     }
     10% {
         opacity: 1;
         transform: translateY(90vh) translateX(0) scale(1);
     }
     25% {
         transform: translateY(75vh) translateX(30px) scale(1.1);
     }
     50% {
         transform: translateY(50vh) translateX(-40px) scale(0.8);
     }
     75% {
         transform: translateY(25vh) translateX(25px) scale(1.3);
     }
     90% {
         opacity: 1;
         transform: translateY(10vh) translateX(-15px) scale(0.9);
     }
 }

 /* 闪烁粒子 */
 .loading-particle.twinkle {
     animation-name: particleTwinkle;
     animation-duration: 3s;
 }

 @keyframes particleTwinkle {
     0%, 100% {
         transform: translateY(100vh) scale(0);
         opacity: 0;
     }
     10%, 90% {
         transform: translateY(10vh) scale(1);
         opacity: 1;
     }
     20%, 80% {
         opacity: 0.3;
     }
     30%, 70% {
         opacity: 1;
     }
     40%, 60% {
         opacity: 0.5;
     }
     50% {
         opacity: 1;
         transform: translateY(50vh) scale(1.5);
     }
 }
/* 粒子背景 */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(26, 79, 162, 0.3);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0; }
    50% { transform: translateY(-100px) rotate(180deg); opacity: 1; }
}

/* 鼠标跟随光效 */
.cursor-glow {
    position: fixed;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(26, 79, 162, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.1s ease;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

/* 顶部信息栏 - 优化移动端 */
.top-bar {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 12px 0;
    font-size: 14px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 14px;
}

.language-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-switch {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    padding: 5px 8px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.language-switch::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: left 0.3s ease;
}

.language-switch:hover::before {
    left: 0;
}

.language-switch:hover {
    color: #ffd700;
    transform: translateY(-1px);
}

/* 导航栏增强 */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 20px;
    position: relative;
    width: 100%;
}

.navbar-logo {
    height: 55px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 79, 162, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    color: #1A4FA2;
    background-color: rgba(26, 79, 162, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 79, 162, 0.2);
}

/* 移动端菜单优化 */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    color: #333;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-menu-toggle:hover {
    color: #1A4FA2;
    transform: scale(1.1);
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
    padding: 20px;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
}

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

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
    padding: 5px;
    border-radius: 50%;
}

.mobile-menu-close:hover {
    color: #1A4FA2;
    background: rgba(26, 79, 162, 0.1);
    transform: rotate(90deg);
}

/* 轮播图增强效果 */
.carousel {
    position: relative;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(1.1);
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: filter 0.3s ease;
}

.carousel-slide:hover img {
    filter: brightness(0.8);
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 90%;
}

.carousel-content h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
    font-weight: 600;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease forwards;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-content a {
    display: inline-block;
    background: linear-gradient(135deg, #1A4FA2, #2a5298);
    color: white;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s ease;
    font-size: 18px;
    margin-top: 20px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(26, 79, 162, 0.3);
}

.carousel-content a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.carousel-content a:hover::before {
    left: 100%;
}

.carousel-content a:hover {
    background: linear-gradient(135deg, #153a7a, #1e3c72);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(26, 79, 162, 0.4);
}

/* 特色卡片动画增强 */
.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 79, 162, 0.05), rgba(42, 82, 152, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: #1A4FA2;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #1A4FA2, #2a5298);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 20px rgba(26, 79, 162, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover .feature-icon::before {
    left: 100%;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(26, 79, 162, 0.4);
}

/* 产品卡片动画 */
.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid #f0f0f0;
    position: relative;
    text-decoration: none;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #1A4FA2, #2a5298);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    /*height: 220px;*/
    object-fit: cover;
    transition: all 0.4s ease;
}

.product-card:hover .product-image {
    transform: scale(1.08);
    filter: brightness(1.1);
}

/* 页脚移动端优化 */
.footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 60px 0 30px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/static/public/images/底部导航背景.jpg') no-repeat;
    opacity: 0.3;
    background-size: 100% 88%;
    z-index: -1;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    position: relative;
    z-index: 2;
}

/* 页脚Logo区域 */
.footer-logo-section {
    text-align: center;
    margin-bottom: 30px;
}

.footer-logo {
    height: 60px;
    width: auto;
    max-width: 240px;
    /*filter: brightness(0) invert(1);*/
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.4s ease;
    font-size: 18px;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.3s ease;
}

.social-link:hover::before {
    transform: scale(1);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffd700;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.footer-section {
    text-align: center;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: radial-gradient(circle at 0% 0%, #479A00 0%, #FFFF31 100%);
}

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

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
    padding: 5px 0;
    border-radius: 5px;
    display: inline-block;
}

.footer-section a:hover {
    color: #ffd700;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

/* 优化移动端联系表单 */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 100%;
}

.contact-form input {
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    font-size: 15px;
    transition: all 0.3s ease;
    width: 100%;
}

.contact-form input:focus {
    outline: none;
    border-color: #ffd700;
    background: white;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    transform: translateY(-2px);
}

.contact-form input::placeholder {
    color: #666;
}

.contact-form button {
    padding: 15px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #1e3c72;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.4s ease;
    font-size: 16px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.contact-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.contact-form button:hover::before {
    left: 100%;
}

.contact-form button:hover {
    background: linear-gradient(135deg, #ffed4e, #ffd700);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    display: flex;
    justify-content: center;
    gap: 1rem;
}
.footer-bottom a{
    text-decoration: none;
    color: #FFFFFF;
}
/* 响应式优化 - 移动端 */
@media (max-width: 768px) {
    /* 顶部栏移动端优化 */
    .top-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        font-size: 12px;
        padding: 0 15px;
    }

    .contact-info {
        font-size: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* 导航栏移动端 */
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .mobile-overlay.active {
        display: block;
    }

    .mobile-menu {
        display: block;
    }

    /* 轮播图移动端 */
    .carousel {
        height: 50vh;
        min-height: 300px;
    }

    .carousel-content h2 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .carousel-content a {
        padding: 12px 25px;
        font-size: 14px;
    }

    /* 页脚移动端完全重构 */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }

    .footer-logo-section {
        order: 1;
        margin-bottom: 20px;
    }

    .footer-logo {
        height: 50px;
        margin-bottom: 15px;
    }

    .footer-social-links {
        gap: 12px;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .footer-section {
        order: 2;
        margin-bottom: 25px;
    }

    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .footer-section li {
        margin-bottom: 8px;
    }

    .footer-section a {
        font-size: 14px;
        padding: 8px;
        display: block;
        text-align: center;
    }

    /* 联系表单移动端优化 */
    .contact-form {
        gap: 12px;
    }

    .contact-form input,
    .contact-form button {
        padding: 12px;
        font-size: 14px;
        border-radius: 8px;
    }

    .footer-bottom {
        font-size: 12px;
        margin-top: 30px;
        padding-top: 20px;
        flex-direction: column;
    }

    /* 其他元素移动端优化 */
    .container {
        padding: 0 10px;
    }

    .section {
        padding: 30px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
    .top-bar {
        padding: 8px 0;
        font-size: 11px;
    }

    .top-content {
        padding: 0 10px;
    }

    .navbar-logo {
        height: 35px;
        max-width: 230px;
    }

    .carousel {
        height: 40vh;
        min-height: 250px;
    }

    .carousel-content h2 {
        font-size: 1.0rem;
    }

    .carousel-content a {
        padding: 10px 20px;
        font-size: 13px;
    }

    .footer {
        padding: 30px 0 15px;
    }

    .footer-content {
        padding: 0 10px;
        gap: 20px;
    }

    .footer-logo {
        height: 40px;
    }

    .social-link {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .footer-section h3 {
        font-size: 1rem;
    }

    .footer-section a {
        font-size: 13px;
        padding: 6px;
    }

    .contact-form input,
    .contact-form button {
        padding: 10px;
        font-size: 13px;
    }
}

/* 桌面端响应式 */
@media (min-width: 769px) {
    .top-bar {
        height: 3vh;
        display: flex;
        align-items: center;
    }

    .navbar {
        display: flex;
        align-items: center;
        min-height: 8vh;
    }

    .carousel {
        height: 89vh;
    }

    .about-section {
        grid-template-columns: 1fr 1fr !important;
        gap: 80px;
        align-items: center;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 40px;
    }

    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 35px;
    }

    .footer-content {
        grid-template-columns: 1.8fr 1fr 1fr 1.5fr 1.5fr;
        gap: 50px;
        text-align: left;
    }

    .footer-logo-section {
        text-align: left;
        margin-bottom: 0;
    }

    .footer-social-links {
        justify-content: flex-start;
    }

    .footer-section {
        text-align: left;
        margin-bottom: 0;
    }

    .footer-section h3::after {
        left: 0;
        transform: none;
    }

    .footer-section a {
        display: flex;
        font-size: 17px;
    }

    .footer-section a:hover {
        transform: none;
        padding-left: 10px;
    }
    .news-grid{
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* 滚动动画 */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* 其他样式保持不变... */
.about-us-section {
    background-color: #FDFDFE;
    position: relative;
}

.about-section {
    display: grid;
    gap: 40px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.about-content h3 {
    font-size: clamp(1.6rem, 4vw, 1.9rem);
    color: #1A4FA2;
    margin-bottom: 25px;
    font-weight: 600;
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #666;
}

.about-image {
    width: 100%;
    /*height: 350px;*/
    object-fit: cover;
    border-radius: 15px;
    /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);*/
}

.btn-primary {
    background: linear-gradient(135deg, #1A4FA2, #2a5298);
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #153a7a, #1e3c72);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 79, 162, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

.features-overlay {
    margin-top: -80px;
    position: relative;
    z-index: 10;
    margin-bottom: 40px;
}

.feature-card h4 {
    font-size: 1.4rem;
    margin-bottom: 18px;
    color: #333;
    font-weight: 600;
}

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

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

.product-info {
    padding: 10px 20px;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.certificates-slider {
    overflow: hidden;
    margin-top: 40px;
    padding: 0 15px;
}

.certificates-track {
    display: flex;
    gap: 25px;
    animation: scroll 25s linear infinite;
}

.certificate-item {
    flex: 0 0 220px;
    /*height: 280px;*/
    transition: all  0.3s ease;
}
.certificate-item:hover{
    transform: translateY(-10px);
}
.certificate-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    /*box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);*/
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 35px;
    margin-top: 40px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

.news-featured {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    list-style: none;

}
.news-featured:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}
.news-featured img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.news-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 35px 25px 25px;
}

.news-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.news-overlay p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    opacity: 0.9;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
    list-style: none;
    text-decoration: none;
}

.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: #1A4FA2;
    cursor: pointer;
}

.news-date {
    flex: 0 0 80px;
    text-align: center;
    padding: 15px 8px;
    background: linear-gradient(135deg, #1A4FA2, #2a5298);
    color: white;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-content h4 {
    color: #333;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
}

.news-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.8rem);
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.section-subtitle {
    text-align: center;
    font-size: clamp(1rem, 3vw, 1.3rem);
    color: #666;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: radial-gradient(circle at 0% 0%, #479A00 0%, #FFFF31 100%);
    border-radius: 2px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1001;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s;
}

.dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: #1A4FA2;
}

.mobile-nav-list {
    list-style: none;
}

.mobile-nav-item {
    margin-bottom: 5px;
}

.mobile-nav-link {
    display: block;
    padding: 15px 0;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.3s;
}

.mobile-nav-link:hover {
    color: #1A4FA2;
}

.mobile-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f8f9fa;
    margin-top: 5px;
    border-radius: 5px;
}

.mobile-dropdown.active {
    max-height: 300px;
}

.mobile-dropdown a {
    display: block;
    padding: 10px 20px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.carousel-indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-indicator.active {
    background-color: white;
    transform: scale(1.2);
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    transition: all 0.3s;
    z-index: 3;
}

.carousel-control:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-2px);
}

.carousel-control.prev {
    left: 30px;
}

.carousel-control.next {
    right: 30px;
}

.main-content {
    width: 100%;
}
