/* 全局重置，精简代码，提升加载速度 */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Microsoft YaHei', Arial, sans-serif; }
body { background-color: #f8f9fc; color: #333; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
button { cursor: pointer; border: none; outline: none; }
img { vertical-align: middle; }

/* 头部导航 - 简洁高端，适配多端 */
header { background-color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: fixed; top: 0; left: 0; right: 0; z-index: 999; }
.nav-wrap { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { font-size: 24px; font-weight: 700; color: #165DFF; }
.logo span { color: #333; }
.nav-list { display: flex; gap: 40px; }
.nav-list li a { font-size: 16px; color: #333; font-weight: 500; transition: color 0.3s; }
.nav-list li a:hover, .nav-list li a.active { color: #165DFF; }
.mobile-nav-btn { display: none; font-size: 24px; color: #165DFF; }
.mobile-nav { display: none; position: fixed; top: 80px; left: 0; right: 0; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.1); padding: 20px 0; }
.mobile-nav li { text-align: center; padding: 15px 0; }

/* 底部 - 简洁大气，蓝色点缀 */
footer { background: #333; color: #fff; padding: 60px 0 20px; margin-top: 60px; }
.footer-wrap { display: flex; flex-wrap: wrap; gap: 40px; margin-bottom: 40px; }
.footer-logo { flex: 1; min-width: 250px; }
.footer-logo h2 { font-size: 24px; margin-bottom: 20px; color: #165DFF; }
.footer-logo p { font-size: 14px; opacity: 0.8; line-height: 1.8; }
.footer-nav { flex: 1; min-width: 250px; }
.footer-nav h3 { font-size: 18px; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-nav h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: #165DFF; }
.footer-nav ul { display: flex; flex-direction: column; gap: 12px; }
.footer-nav ul li a { font-size: 14px; opacity: 0.8; transition: opacity 0.3s; }
.footer-nav ul li a:hover { opacity: 1; color: #165DFF; }
.copyright { text-align: center; font-size: 14px; opacity: 0.7; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); }

/* 通用标题样式 */
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 32px; color: #333; font-weight: 700; margin-bottom: 15px; }
.section-title span { display: inline-block; width: 60px; height: 3px; background: #165DFF; }

/* 首页 - banner区域 */
.banner { margin-top: 80px; background: linear-gradient(135deg, #165DFF 0%, #0F4CD0 100%); color: #fff; padding: 80px 0; text-align: center; }
.banner h1 { font-size: 42px; margin-bottom: 20px; font-weight: 700; }
.banner p { font-size: 18px; max-width: 800px; margin: 0 auto 30px; opacity: 0.9; }
.banner-btn { background: #fff; color: #165DFF; font-size: 16px; font-weight: 600; padding: 12px 30px; border-radius: 50px; transition: all 0.3s; }
.banner-btn:hover { background: #f0f5ff; transform: translateY(-2px); }

/* 首页 - 关于我们 */
.about { padding: 40px 0; }
.about-wrap { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.about-left { flex: 1; min-width: 300px; }
.about-left img { width: 100%; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.08); }
.about-right { flex: 1; min-width: 300px; }
.about-right h3 { font-size: 24px; color: #333; margin-bottom: 20px; }
.about-right p { font-size: 16px; color: #666; margin-bottom: 20px; line-height: 1.8; }
.about-right .about-tag { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 30px; }
.about-tag span { background: #e8f1ff; color: #165DFF; padding: 8px 18px; border-radius: 50px; font-size: 14px; }

/* 首页 - 产品中心（精简） */
.product-home { padding: 40px 0; background: #fff; }
.product-wrap-home { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.product-card { background: #f8f9fc; border-radius: 8px; overflow: hidden; transition: all 0.3s; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.product-img { width: 100%; height: 200px; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-info { padding: 20px; }
.product-info h3 { font-size: 18px; color: #333; margin-bottom: 10px; }
.product-info p { font-size: 14px; color: #666; margin-bottom: 15px; }
.product-btn { display: inline-block; font-size: 14px; color: #165DFF; font-weight: 500; transition: color 0.3s; }
.product-btn:hover { color: #0F4CD0; }
.more-product { text-align: center; margin-top: 40px; }
.more-product a { display: inline-block; background: #165DFF; color: #fff; font-size: 16px; padding: 10px 25px; border-radius: 50px; transition: all 0.3s; }
.more-product a:hover { background: #0F4CD0; }

/* 首页 - 技术优势 */
.advantage { padding: 40px 0; }
.advantage-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.advantage-card { text-align: center; padding: 30px; background: #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); transition: all 0.3s; }
.advantage-card:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.advantage-icon { width: 60px; height: 60px; background: #e8f1ff; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.advantage-icon i { font-size: 24px; color: #165DFF; }
.advantage-card h3 { font-size: 18px; color: #333; margin-bottom: 15px; }
.advantage-card p { font-size: 14px; color: #666; }

/* 首页 - 联系我们 */
.contact { padding: 40px 0; background: #fff; }
.contact-wrap { display: flex; flex-wrap: wrap; gap: 40px; }
.contact-left { flex: 1; min-width: 300px; }
.contact-left h3 { font-size: 24px; color: #333; margin-bottom: 20px; }
.contact-left p { font-size: 16px; color: #666; margin-bottom: 30px; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; align-items: center; gap: 15px; }
.contact-item i { font-size: 20px; color: #165DFF; }
.contact-item span { font-size: 16px; color: #333; }
.contact-right { flex: 1; min-width: 300px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-input { width: 100%; padding: 12px 15px; border: 1px solid #e0e0e0; border-radius: 6px; font-size: 16px; outline: none; transition: border 0.3s; }
.form-input:focus { border-color: #165DFF; }
.form-textarea { width: 100%; padding: 12px 15px; border: 1px solid #e0e0e0; border-radius: 6px; font-size: 16px; outline: none; resize: none; height: 150px; transition: border 0.3s; }
.form-textarea:focus { border-color: #165DFF; }
.form-btn { background: #165DFF; color: #fff; font-size: 16px; font-weight: 600; padding: 12px 0; border-radius: 6px; transition: all 0.3s; }
.form-btn:hover { background: #0F4CD0; }

/* 新增 - 产品列表页 */
.product-list { padding: 20px 0; }
.product-filter { background: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); margin-bottom: 30px; }
.filter-wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.filter-title { font-size: 16px; font-weight: 600; color: #333; }
.filter-item { display: flex; gap: 15px; flex-wrap: wrap; }
.filter-item a { padding: 6px 15px; border-radius: 50px; font-size: 14px; transition: all 0.3s; }
.filter-item a.active { background: #165DFF; color: #fff; }
.filter-item a:hover:not(.active) { background: #f0f5ff; color: #165DFF; }
.product-wrap-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }

/* 新增 - 产品详情页 */
.product-detail { padding: 20px 0; background: #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); margin-top: 100px; }
.detail-wrap { display: flex; flex-wrap: wrap; gap: 40px; padding: 30px; }
.detail-img { flex: 1; min-width: 300px; }
.detail-img img { width: 100%; border-radius: 8px; }
/* 产品图片保护样式 - 禁止拖拽、右键保存 */
.detail-img img {
    pointer-events: none; /* 禁止点击、拖拽 */
    user-select: none; /* 禁止选中 */
    -webkit-user-drag: none; /* 禁止拖拽图片 */
}
.detail-info { flex: 2; min-width: 300px; }
.detail-info h2 { font-size: 28px; color: #333; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #eee; }
/* 产品型号样式 */
.detail-model { font-size: 16px; color: #666; margin-bottom: 15px; padding: 8px 0; border-bottom: 1px solid #f5f5f5; }
.detail-model span { color: #333; font-weight: 600; }
.detail-price { font-size: 24px; color: #e53935; margin-bottom: 20px; }
.detail-price span { font-size: 16px; color: #666; font-weight: normal; margin-left: 10px; }
/* 货期样式 */
.detail-delivery { font-size: 16px; color: #333; margin-bottom: 25px; display: flex; align-items: center; gap: 10px; }
.detail-delivery i { color: #165DFF; font-size: 18px; }
.detail-delivery span { font-weight: 500; }
.detail-desc { margin-bottom: 30px; }
.detail-desc h3 { font-size: 18px; color: #333; margin-bottom: 15px; }
.detail-desc p { font-size: 16px; color: #666; line-height: 1.8; margin-bottom: 10px; }
.detail-params { margin-bottom: 30px; }
.detail-params h3 { font-size: 18px; color: #333; margin-bottom: 15px; }
.param-table { width: 100%; border-collapse: collapse; }
.param-table tr { border-bottom: 1px solid #eee; }
.param-table th, .param-table td { padding: 12px 15px; text-align: left; }
.param-table th { background: #f8f9fc; color: #333; font-weight: 600; }
.param-table td { color: #666; }
.detail-btn { display: inline-block; background: #165DFF; color: #fff; font-size: 16px; padding: 12px 30px; border-radius: 6px; transition: all 0.3s; margin-right: 15px; }
.detail-btn:hover { background: #0F4CD0; }
.detail-btn.secondary { background: #f0f5ff; color: #165DFF; }
.detail-btn.secondary:hover { background: #e0e9ff; }

/* 响应式适配 - 手机端优化，保障打开速度 */
@media (max-width: 992px) {
    .banner h1 { font-size: 36px; }
    .about-wrap, .contact-wrap, .detail-wrap { flex-direction: column; }
}
@media (max-width: 768px) {
    .nav-list { display: none; }
    .mobile-nav-btn { display: block; }
    .banner h1 { font-size: 28px; }
    .banner p { font-size: 16px; }
    .section-title h2 { font-size: 28px; }
    .footer-wrap { flex-direction: column; }
    .detail-info h2 { font-size: 24px; }
    .detail-price { font-size: 20px; }
}
@media (max-width: 576px) {
    .banner { padding: 60px 0; }
    .about, .product-home, .advantage, .contact { padding: 20px 0; }
    .product-wrap-home, .product-wrap-list { grid-template-columns: 1fr; }
    .filter-wrap { flex-direction: column; align-items: flex-start; }
    .detail-btn { display: block; width: 100%; margin-bottom: 10px; text-align: center; }
}

/* 轮播图修复样式 */
        .banner {
            padding: 0 !important;
            margin-top: 80px !important;
            height: 500px;
            position: relative;
            overflow: hidden;
        }
        .banner-slider {
            width: 100%;
            height: 100%;
            position: relative;
        }
        .banner-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: #fff;
            background-size: cover;
            background-position: center;
            animation: fade 12s infinite;
        }
        @keyframes fade {
            0% { opacity: 0; z-index: 1; }
            5% { opacity: 1; z-index: 2; }
            33% { opacity: 1; z-index: 2; }
            38% { opacity: 0; z-index: 1; }
            100% { opacity: 0; z-index: 1; }
        }
        .banner-slide:nth-child(1) {
            background: linear-gradient(rgba(22,93,255,0.85), rgba(22,93,255,0.85)), url(https://picsum.photos/id/100/1920/1080);
        }
        .banner-slide:nth-child(2) {
            background: linear-gradient(rgba(0,102,204,0.85), rgba(0,102,204,0.85)), url(https://picsum.photos/id/28/1920/1080);
            animation-delay: -4s;
        }
        .banner-slide:nth-child(3) {
            background: linear-gradient(rgba(0,153,153,0.85), rgba(0,153,153,0.85)), url(https://picsum.photos/id/110/1920/1080);
            animation-delay: -8s;
        }
        .banner h1 {
            font-size: 42px;
            margin-bottom: 20px;
            font-weight: 700;
        }
        .banner p {
            font-size: 18px;
            max-width: 800px;
            margin: 0 auto 30px;
            opacity: 0.9;
        }
        .banner-btn {
            display: inline-block;
            background: #fff;
            color: #165DFF;
            padding: 14px 35px;
            border-radius: 50px;
            font-size: 16px;
            font-weight: 600;
            text-decoration: none;
        }