/* ==========================================
   文件说明：网站全局样式文件
   包含：全局重置、导航栏、轮播图、产品中心、解决方案、服务支持、联系我们、页脚、客服栏等模块样式
   ========================================== */

/* ============ 柔和背景动画效果 ============ */
@keyframes bg-gradient-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes bg-float-gentle {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(1%, -0.5%) scale(1.01); }
    66% { transform: translate(-0.5%, 0.5%) scale(0.995); }
}

@keyframes bg-pulse-subtle {
    0%, 100% { opacity: 0.03; }
    50% { opacity: 0.06; }
}

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

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    0%, 50% { border-color: transparent; }
    51%, 100% { border-color: #fff; }
}

@keyframes scroll-indicator {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(8px); opacity: 1; }
}

/* ============ 全局通用样式 ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; font-size: 14px; line-height: 1.6; color: #333; background: #fff; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; }

/* ============ 导航栏样式 ============ */
header { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.06); position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: all 0.3s ease; }
.header-content { max-width: 1400px; margin: 0 auto; padding: 0 30px; display: flex; justify-content: space-between; align-items: center; height: 75px; }
.logo { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.logo-img { height: 55px; width: auto; object-fit: contain; }
.logo-text { font-size: 22px; font-weight: 700; color: #1a1a1a; }
.logo-pinyin { font-size: 12px; color: #666; }
.logo-text-wrapper { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1px; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav li { list-style: none; position: relative; }
.main-nav li a { display: block; padding: 0 22px; line-height: 75px; color: #333; font-size: 15px; font-weight: 500; text-decoration: none; transition: color 0.3s ease; }
.main-nav li a:hover, .main-nav li a.active { color: #0066cc; }
.main-nav li a i { margin-left: 4px; font-size: 12px; }

.sub-menu { display: none; position: absolute; top: 75px; left: 0; background: #fff; border: 1px solid #eee; border-top: 3px solid #0066cc; box-shadow: 0 6px 20px rgba(0,0,0,0.1); min-width: 150px; z-index: 999; animation: fadeInUp 0.2s ease; }
.sub-menu li { list-style: none; }
.sub-menu li a { display: block; padding: 12px 20px; color: #555; font-size: 14px; text-decoration: none; text-align: left; line-height: 1.5; transition: all 0.2s ease; }
.sub-menu li a:hover { background: #f0f7ff; color: #0066cc; padding-left: 24px; }
.main-nav li:hover .sub-menu { display: block; }

.header-icons { display: flex; align-items: center; gap: 18px; }
.header-icons a { width: 42px; height: 42px; background: #f5f8fc; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #333; font-size: 18px; cursor: pointer; transition: all 0.3s ease; }
.header-icons a:hover { background: #0066cc; color: #fff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3); }
.mobile-menu-btn { display: none; font-size: 26px; color: #333; cursor: pointer; }

/* 移动端菜单 */
.mobile-nav-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); z-index: 9998; }
.mobile-nav-overlay.active { display: block; }
.mobile-nav { display: none; position: fixed; top: 0; right: -280px; width: 280px; height: 100vh; background: #fff; z-index: 9999; padding-top: 80px; transition: right 0.3s ease; overflow-y: auto; }
.mobile-nav.active { right: 0; }
.mobile-nav li { list-style: none; border-bottom: 1px solid #f0f0f0; }
.mobile-nav li a { display: block; padding: 18px 25px; color: #333; font-size: 16px; font-weight: 500; text-decoration: none; transition: background 0.2s; }
.mobile-nav li a:hover, .mobile-nav li a.active { background: #f0f7ff; color: #0066cc; }
.mobile-nav li a i { margin-right: 10px; }
.mobile-sub-menu { display: none; background: #f8fafc; }
.mobile-sub-menu li { border-bottom: 1px solid #eee; }
.mobile-sub-menu li a { padding-left: 45px; font-size: 14px; color: #666; }
.mobile-close-btn { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; background: #f0f0f0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #666; cursor: pointer; }

/* ============ 首页轮播图样式 ============ */
.banner-carousel { position: relative; height: 100vh; width: 100%; overflow: hidden; }
.carousel-wrapper { position: relative; height: 100%; }
.carousel-slide { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background-size: cover; 
    background-position: center; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    opacity: 0; 
    transition: opacity 0.6s ease-in-out; 
    z-index: 1; 
}
.carousel-slide.active { 
    opacity: 1; 
    z-index: 10; 
}
/* 去掉蓝色全屏蒙版，让工厂和仪器实景完全展示 */
.carousel-slide::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: transparent; }
.banner-content { 
    text-align: center; 
    color: #fff; 
    z-index: 10; 
    max-width: 900px; 
    padding: 0 30px; 
    animation: fadeInUp 1s ease;
    /* 圆角12px、透明度50%的超轻半透黑底 */
    background: rgba(0,0,0,0.5);
    padding: 15px 35px;
    border-radius: 12px;
    display: inline-block;
    backdrop-filter: blur(2px);
}
.banner-content h1 { 
    font-size: 56px; 
    font-weight: 900; 
    margin-bottom: 22px; 
    line-height: 1.2; 
    color: #fff;
    /* 粗白字+1px黑描边 */
    text-shadow: 
        1px 1px 0 #000,
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        0 0 8px rgba(0,0,0,0.3);
}
.banner-content p { 
    font-size: 22px; 
    margin-bottom: 40px; 
    opacity: 1; 
    font-weight: 600;
    color: #fff;
    /* 粗白字+1px黑描边 */
    text-shadow: 
        1px 1px 0 #000,
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        0 0 8px rgba(0,0,0,0.3);
}
.banner-btn { display: inline-block; padding: 18px 50px; background: #fff; color: #0066cc; border-radius: 12px; font-size: 16px; font-weight: 600; text-decoration: none; transition: all 0.3s ease; box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.banner-btn:hover { transform: translateY(-4px); box-shadow: 0 15px 40px rgba(0,0,0,0.25); }

/* ============ 特殊轮播图优化 ============ */

/* 2026新品重磅上线 - 仪器图：大屏幕下移25px */
@media (min-width: 1200px) {
    #banner-instruments .banner-content {
        transform: translateY(25px);
    }
}

/* 全场景适配美业门店 - 鎏金图：衬底透明度45% */
#banner-gold .banner-content {
    background: rgba(0,0,0,0.45);
}

.banner-indicators { position: absolute; bottom: 50px; left: 50%; transform: translateX(-50%); display: flex; gap: 14px; z-index: 20; }
.banner-indicators .dot { width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: all 0.3s ease; border: 2px solid rgba(255,255,255,0.6); }
.banner-indicators .dot.active { background: #fff; transform: scale(1.4); box-shadow: 0 0 12px rgba(255,255,255,0.5); }

/* 轮播图左右箭头 */
.carousel-controls { position: absolute; top: 50%; transform: translateY(-50%); left: 30px; right: 30px; display: flex; justify-content: space-between; z-index: 20; }
.carousel-control { width: 50px; height: 50px; background: rgba(255,255,255,0.2); backdrop-filter: blur(5px); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; cursor: pointer; transition: all 0.3s ease; }
.carousel-control:hover { background: rgba(255,255,255,0.9); color: #0066cc; }

/* 滚动提示 */
.scroll-indicator { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 20; }
.scroll-indicator i { font-size: 24px; color: rgba(255,255,255,0.8); animation: scroll-indicator 2s ease-in-out infinite; }

/* 通用区块样式 */
.section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 36px; font-weight: 700; color: #1a1a1a; margin-bottom: 15px; position: relative; display: inline-block; }
.section-title h2::after { content: ''; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); width: 60px; height: 4px; background: linear-gradient(90deg, #0066cc, #00aaff); border-radius: 2px; }
.section-title p { font-size: 16px; color: #666; margin-top: 20px; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 30px; }

/* 关于我们样式 */
.about-section { background: #f8fafc; }
.about-content { max-width: 1100px; margin: 0 auto; }
.about-content p { font-size: 16px; color: #555; line-height: 2; margin-bottom: 20px; text-align: justify; text-indent: 2em; }
.about-content strong { color: #0066cc; font-weight: 600; }

/* 产品中心样式 */
.products-section { 
    background: #fff; 
    position: relative; 
    overflow: hidden;
}
.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 80% 20%, rgba(0, 102, 204, 0.04) 0%, transparent 50%),
                radial-gradient(ellipse at 20% 80%, rgba(0, 150, 255, 0.03) 0%, transparent 50%);
    animation: bg-float-gentle 35s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}
.products-section .container {
    position: relative;
    z-index: 1;
}
.product-tabs { display: flex; justify-content: center; gap: 18px; margin-bottom: 55px; }
.product-tab { padding: 14px 45px; font-size: 15px; font-weight: 500; border-radius: 40px; cursor: pointer; transition: all 0.3s ease; border: 2px solid #0066cc; background: #fff; color: #0066cc; }
.product-tab.active { background: #0066cc; color: #fff; box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3); }
.product-tab:not(.active):hover { background: #f0f7ff; transform: translateY(-2px); }

.product-category { display: none; }
.product-category.active { display: block; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; max-width: 1200px; margin: 0 auto; }
.product-item { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid #e8e8e8; box-shadow: 0 4px 25px rgba(0,0,0,0.08); transition: all 0.4s ease; cursor: pointer; }
.product-item:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.15); }
.product-img { width: 100%; padding-top: 100%; position: relative; background: #f8fafc; }
.product-item h4 { font-size: 15px; font-weight: 600; color: #1a1a1a; padding: 20px 20px 8px; margin: 0; }
.product-item p { font-size: 13px; color: #666; line-height: 1.5; padding: 0 20px 20px; margin: 0; }

.product-carousel { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 60px; overflow: hidden; }
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; background: #fff; border: 2px solid #0066cc; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; font-size: 20px; color: #0066cc; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.carousel-arrow:hover { background: #0066cc; color: #fff; transform: translateY(-50%) scale(1.1); }
.carousel-prev { left: 0; }
.carousel-next { right: 0; }
.carousel-track { display: flex; transition: transform 0.5s ease; }
.carousel-page { flex: 0 0 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.carousel-dots { display: flex; justify-content: center; gap: 14px; margin-top: 45px; }
.carousel-dots .dot { width: 16px; height: 16px; border-radius: 50%; background: #ddd; cursor: pointer; transition: all 0.3s ease; }
.carousel-dots .dot.active { background: #0066cc; transform: scale(1.4); }

/* 解决方案样式 */
.solutions-section { 
    background: #f8fafc; 
    position: relative; 
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f0f7ff 50%, #f8fafc 100%);
    background-size: 400% 400%;
    animation: bg-gradient-flow 40s ease infinite;
}
.solutions-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 20% 80%, rgba(0, 102, 204, 0.03) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 20%, rgba(0, 150, 255, 0.04) 0%, transparent 50%);
    animation: bg-float-gentle 45s ease-in-out infinite reverse;
    pointer-events: none;
    z-index: 0;
}
.solutions-section .container {
    position: relative;
    z-index: 1;
}
.solutions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.solution-card { background: #fff; padding: 35px 25px; border-radius: 16px; box-shadow: 0 6px 20px rgba(0,0,0,0.08); text-align: center; transition: all 0.4s ease; }
.solution-card:hover { transform: translateY(-8px); box-shadow: 0 12px 35px rgba(0,0,0,0.12); }
.solution-card i { font-size: 42px; color: #0066cc; margin-bottom: 20px; transition: transform 0.3s ease; }
.solution-card:hover i { transform: scale(1.1); }
.solution-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 14px; }
.solution-card p { font-size: 14px; color: #666; line-height: 1.7; }

/* 服务支持样式 */
.services-section { 
    background: #fff; 
    position: relative; 
    overflow: hidden;
}
.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 180, 216, 0.03) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 100%, rgba(0, 102, 204, 0.02) 0%, transparent 50%);
    animation: bg-pulse-subtle 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}
.services-section .container {
    position: relative;
    z-index: 1;
}
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.service-card { background: linear-gradient(135deg, #f8fafc 0%, #f0f7ff 100%); padding: 40px 25px; border-radius: 16px; text-align: center; transition: all 0.3s ease; }
.service-card:hover { background: linear-gradient(135deg, #f0f7ff 0%, #e6f0ff 100%); transform: translateY(-5px); }
.service-card i { font-size: 46px; color: #0066cc; margin-bottom: 20px; }
.service-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 14px; }
.service-card p { font-size: 14px; color: #666; line-height: 1.7; }

/* 联系我们样式 */
.contact-section { 
    background: linear-gradient(135deg, #0066cc 0%, #0088ff 100%); 
    padding: 90px 0;
    position: relative; 
    overflow: hidden;
    background-size: 200% 200%;
    animation: bg-gradient-flow 35s ease infinite;
}
.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    animation: bg-float-gentle 40s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}
.contact-section .container {
    position: relative;
    z-index: 1;
}
.contact-section .section-title h2, .contact-section .section-title p { color: #fff; }
.contact-section .section-title h2::after { background: rgba(255,255,255,0.8); }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.contact-item { background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); padding: 35px 25px; border-radius: 16px; text-align: center; color: #fff; transition: all 0.3s ease; }
.contact-item:hover { background: rgba(255,255,255,0.2); transform: translateY(-5px); }
.contact-item i { font-size: 32px; margin-bottom: 18px; }
.contact-item h4 { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.contact-item p { font-size: 14px; opacity: 0.95; }

/* 页脚样式 */
footer { 
    background: #1a1a1a; 
    color: #fff; 
    padding: 40px 0;
    position: relative; 
    overflow: hidden;
}
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 102, 204, 0.03) 0%, transparent 60%);
    animation: bg-pulse-subtle 25s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}
footer .footer-content-wrapper {
    position: relative;
    z-index: 1;
    text-align: center;
}
.footer-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
}
.footer-company {
    font-size: 15px;
    color: #fff;
    font-weight: 500;
}
.footer-icp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
}
.icp-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    transition: opacity 0.3s ease;
}
.icp-link:hover {
    opacity: 0.8;
    text-decoration: none;
}
.icp-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    flex-shrink: 0;
}
.footer-copyright {
    font-size: 13px;
    color: #888;
}

/* 悬浮客服按钮组样式 */
.float-service-bar {
    position: fixed;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* 客服组容器 */
.service-group {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* 子按钮容器 */
.service-sub-items {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: -1;
}

.service-sub-items.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* 子按钮样式 */
.service-sub-btn {
    display: block;
    padding: 12px 20px;
    background: #ffffff;
    border: 1px solid #0066cc;
    border-radius: 10px;
    color: #333333;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-sub-btn:hover {
    background: #0066cc;
    color: #fff;
    transform: translateX(-5px);
}

/* 主按钮容器 */
.service-main-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* 主按钮样式 */
.service-main-btn {
    width: 54px;
    height: 54px;
    background: #0066cc;
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-main-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 10px 35px rgba(0, 102, 204, 0.5);
}

.service-main-btn.active {
    background: #0055aa;
}

/* 微信咨询按钮样式 */
#wechat-btn {
    background: #07c160;
    box-shadow: 0 6px 20px rgba(7, 193, 96, 0.4);
}

#wechat-btn:hover {
    box-shadow: 0 10px 35px rgba(7, 193, 96, 0.5);
}

#wechat-btn.active {
    background: #06ad56;
}

/* 淘宝店铺按钮样式 */
#taobao-btn {
    background: #ff6600;
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

#taobao-btn:hover {
    box-shadow: 0 10px 35px rgba(255, 102, 0, 0.5);
}

#taobao-btn.active {
    background: #e65c00;
}

/* 按钮文字标注 */
.service-btn-label {
    font-size: 12px;
    color: #0066cc;
    font-weight: 500;
    white-space: nowrap;
}

/* 二维码弹窗样式 */
.qrcode-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.qrcode-modal.active {
    display: flex;
}

/* 弹窗遮罩层 */
.qrcode-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    cursor: pointer;
    backdrop-filter: blur(4px);
}

/* 弹窗内容 */
.qrcode-content {
    position: relative;
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    max-width: 340px;
    width: 90%;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
    animation: scaleIn 0.3s ease;
}

/* 关闭按钮 */
.qrcode-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: #f0f0f0;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.qrcode-close:hover {
    background: #0066cc;
    color: #fff;
}

/* 弹窗标题 */
.qrcode-title {
    font-size: 19px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 22px;
}

/* 二维码图片容器 */
.qrcode-image-wrap {
    width: 220px;
    height: 220px;
    margin: 0 auto 18px;
    background: #f8fafc;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.qrcode-image-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* 弹窗描述 */
.qrcode-desc {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* 产品详情弹窗样式 */
.product-detail-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.product-detail-modal.active {
    display: flex;
}

.product-detail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    cursor: pointer;
    backdrop-filter: blur(4px);
}

.product-detail-content {
    position: relative;
    background: #fff;
    border-radius: 20px;
    max-width: 950px;
    width: 92%;
    max-height: 88vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
    animation: scaleIn 0.3s ease;
}

.product-detail-close {
    position: sticky;
    top: 15px;
    float: right;
    width: 40px;
    height: 40px;
    background: #f0f0f0;
    border: none;
    border-radius: 50%;
    font-size: 26px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    margin: 15px;
}

.product-detail-close:hover {
    background: #0066cc;
    color: #fff;
}

.product-detail-body {
    display: flex;
    gap: 35px;
    padding: 30px;
}

.product-detail-left {
    flex-shrink: 0;
    width: 340px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.product-detail-image {
    width: 100%;
    height: 340px;
    background: #f8fafc;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 左侧资质区样式 */
.product-detail-cert {
    background: #f8fafc;
    border-radius: 16px;
    padding: 22px;
}

.product-detail-cert h4 {
    font-size: 15px;
    font-weight: 600;
    color: #0066cc;
    margin-bottom: 15px;
}

.cert-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #ddd;
}

.cert-item:last-of-type {
    border-bottom: none;
}

.cert-label {
    font-size: 13px;
    color: #666;
}

.cert-item span:last-child {
    font-size: 13px;
    color: #333;
    font-weight: 600;
}

.cert-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #ddd;
}

.product-detail-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-detail-info {
    flex: 1;
}

.product-detail-info h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.product-detail-info #detail-model {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
}

.detail-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 30px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    padding: 15px 18px;
    background: #f8fafc;
    border-radius: 10px;
}

.spec-label {
    font-size: 13px;
    color: #999;
    margin-bottom: 6px;
}

.spec-item span:last-child {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.detail-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* 新增内容样式 */
.detail-certificate,
.detail-tech-specs,
.detail-standard {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.detail-certificate h4,
.detail-tech-specs h4,
.detail-standard h4 {
    font-size: 16px;
    font-weight: 600;
    color: #0066cc;
    margin-bottom: 15px;
}

.detail-certificate p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

.detail-tech-specs ul,
.detail-standard ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-tech-specs li,
.detail-standard li {
    font-size: 14px;
    color: #555;
    line-height: 1.9;
    padding: 6px 0;
}

.detail-tech-specs li span:first-child {
    color: #999;
}

.detail-tech-specs li span:last-child {
    color: #333;
    font-weight: 500;
}

/* ============ 响应式适配 - 平板端 (768px - 1024px) ============ */
@media (min-width: 768px) and (max-width: 1024px) {
    .header-content { padding: 0 25px; height: 70px; }
    .logo-img { height: 50px; }
    .main-nav li a { padding: 0 18px; font-size: 14px; }
    .banner-content { 
        background: rgba(0,0,0,0.5);
        padding: 15px 30px;
        border-radius: 12px;
        backdrop-filter: blur(2px);
    }
    .banner-content h1 { font-size: 42px; }
    .banner-content p { font-size: 19px; }
    .banner-btn { padding: 15px 40px; font-size: 15px; border-radius: 12px; }
    .container { padding: 0 25px; }
    .section { padding: 70px 0; }
    .section-title h2 { font-size: 30px; }
    .product-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
    .carousel-page { grid-template-columns: repeat(3, 1fr); gap: 22px; }
    .solutions-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
    .contact-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
    .product-detail-body { flex-direction: column; }
    .product-detail-left { width: 100%; }
    .detail-specs { grid-template-columns: repeat(2, 1fr); }
    /* 平板端特殊轮播图优化 */
    #banner-gold .banner-content {
        background: rgba(0,0,0,0.45);
    }
}

/* ============ 响应式适配 - 平板竖屏/大屏手机 (600px - 768px) ============ */
@media (min-width: 600px) and (max-width: 768px) {
    .header-content { padding: 0 20px; height: 65px; }
    .main-nav, .header-icons a:not(:last-child) { display: none; }
    .mobile-menu-btn { display: block; }
    .logo-img { height: 45px; }
    .banner-carousel { height: 80vh; }
    .banner-content { 
        background: rgba(0,0,0,0.5);
        padding: 14px 25px;
        border-radius: 12px;
        backdrop-filter: blur(2px);
    }
    .banner-content h1 { 
        font-size: 36px; 
        font-weight: 800;
    }
    .banner-content p { 
        font-size: 17px; 
        font-weight: 500;
    }
    .banner-btn { padding: 14px 35px; font-size: 14px; border-radius: 12px; }
    .container { padding: 0 20px; }
    .section { padding: 60px 0; }
    .section-title h2 { font-size: 28px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .carousel-page { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .product-tab { padding: 12px 30px; font-size: 14px; }
    .solutions-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
    .contact-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
    .contact-item { padding: 25px 20px; }
    .footer-icp { gap: 20px; }
    /* 大屏手机端特殊轮播图优化 */
    #banner-gold .banner-content {
        background: rgba(0,0,0,0.45);
    }
    .float-service-bar { right: 15px; gap: 18px; }
    .service-main-btn { width: 48px; height: 48px; font-size: 20px; }
    .service-sub-items { right: 60px; }
    .qrcode-content { padding: 25px; max-width: 300px; }
    .qrcode-image-wrap { width: 200px; height: 200px; }
    .product-detail-content { width: 95%; }
    .product-detail-body { flex-direction: column; padding: 25px; }
    .product-detail-left { width: 100%; }
    .detail-specs { grid-template-columns: repeat(2, 1fr); }
}

/* ============ 响应式适配 - 手机端 (320px - 600px) ============ */
@media (max-width: 600px) {
    .header-content { padding: 0 15px; height: 60px; }
    .main-nav, .header-icons a:not(:last-child) { display: none; }
    .mobile-menu-btn { display: block; font-size: 24px; }
    .logo-img { height: 40px; }
    .banner-carousel { height: 70vh; }
    .banner-content { 
        background: rgba(0,0,0,0.5);
        padding: 12px 20px;
        border-radius: 12px;
        backdrop-filter: blur(2px);
    }
    .banner-content h1 { 
        font-size: 28px; 
        margin-bottom: 15px; 
        font-weight: 700;
    }
    .banner-content p { 
        font-size: 15px; 
        margin-bottom: 30px; 
        font-weight: 500;
    }
    .banner-btn { padding: 12px 30px; font-size: 14px; border-radius: 12px; }
    .banner-indicators .dot { width: 14px; height: 14px; }
    .carousel-controls { left: 15px; right: 15px; }
    .carousel-control { width: 40px; height: 40px; font-size: 16px; }
    .container { padding: 0 15px; }
    .section { padding: 50px 0; }
    .section-title { margin-bottom: 45px; }
    .section-title h2 { font-size: 24px; }
    .section-title p { font-size: 14px; }
    .about-content p { font-size: 14px; line-height: 1.8; }
    .product-tabs { gap: 12px; margin-bottom: 40px; }
    .product-tab { padding: 10px 22px; font-size: 13px; }
    .product-grid { grid-template-columns: 1fr; gap: 20px; }
    .carousel-page { grid-template-columns: 1fr; gap: 20px; }
    .product-item h4 { font-size: 16px; }
    .product-item p { font-size: 14px; }
    .solutions-grid { grid-template-columns: 1fr; gap: 20px; }
    .solution-card { padding: 28px 20px; }
    .solution-card i { font-size: 36px; }
    /* 手机端特殊轮播图优化 */
    #banner-gold .banner-content {
        background: rgba(0,0,0,0.45);
    }
    .solution-card h3 { font-size: 16px; }
    .solution-card p { font-size: 14px; }
    .services-grid { grid-template-columns: 1fr; gap: 20px; }
    .service-card { padding: 30px 20px; }
    .service-card i { font-size: 40px; }
    .service-card h3 { font-size: 16px; }
    .service-card p { font-size: 14px; }
    .contact-section { padding: 60px 0; }
    .contact-grid { grid-template-columns: 1fr; gap: 20px; }
    .contact-item { padding: 25px 20px; }
    .contact-item i { font-size: 28px; }
    .contact-item h4 { font-size: 15px; }
    .contact-item p { font-size: 13px; }
    footer { padding: 30px 0; }
    .footer-content-wrapper { gap: 12px; }
    .footer-company { font-size: 13px; }
    .footer-icp { flex-direction: column; gap: 15px; }
    .icp-link { font-size: 12px; }
    .footer-copyright { font-size: 12px; }
    .float-service-bar { right: 10px; gap: 15px; }
    .service-main-btn { width: 44px; height: 44px; font-size: 18px; }
    .service-sub-items { right: 55px; }
    .service-sub-btn { padding: 8px 14px; font-size: 12px; }
    .service-btn-label { font-size: 11px; }
    .qrcode-content { padding: 20px; max-width: 280px; }
    .qrcode-title { font-size: 17px; }
    .qrcode-image-wrap { width: 180px; height: 180px; }
    .product-detail-content { width: 96%; }
    .product-detail-body { flex-direction: column; padding: 20px; gap: 25px; }
    .product-detail-left { width: 100%; }
    .product-detail-image { height: 280px; }
    .product-detail-info h3 { font-size: 22px; }
    .detail-specs { grid-template-columns: 1fr; }
    .spec-item { padding: 12px 15px; }
    .detail-certificate h4, .detail-tech-specs h4, .detail-standard h4 { font-size: 14px; }
    .detail-tech-specs li, .detail-standard li { font-size: 13px; }
}

/* ============ 响应式适配 - 小屏手机 (< 320px) ============ */
@media (max-width: 320px) {
    .banner-content h1 { font-size: 24px; }
    .banner-content p { font-size: 13px; }
    .banner-btn { padding: 10px 25px; font-size: 13px; }
    .section-title h2 { font-size: 22px; }
    .product-tab { padding: 8px 18px; font-size: 12px; }
    .solution-card i { font-size: 32px; }
    .service-card i { font-size: 36px; }
}

/* ============ 性能优化样式 ============ */
img { will-change: transform; }
.banner-carousel { will-change: transform; }
.product-item { will-change: transform; }
.solution-card { will-change: transform; }
.service-card { will-change: transform; }
.contact-item { will-change: transform; }

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    .banner-content h1, .banner-content p { text-shadow: 0 1px 3px rgba(0,0,0,0.3); }
}

/* 减少动画模式支持 */
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* 触摸优化 */
@media (hover: none) {
    .main-nav li:hover .sub-menu { display: none; }
    .main-nav li:active .sub-menu { display: block; }
}