* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --primary: #005bac;
    --primary-dark: #004080;
    --primary-light: #0066cc;
    --text: #333;
    --text-light: #666;
    --bg: #f8f8f8;
    --white: #fff;
    --border: #e5e5e5;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
}
body { font-family: 'Microsoft YaHei', 'PingFang SC', Arial, sans-serif; color: var(--text); line-height: 1.6; background: var(--white); }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }
.container { width: 1200px; margin: 0 auto; }
@media (max-width: 1220px) { .container { width: auto; margin: 0 15px; } }

/* Header */
.header-top { background: var(--primary); height: 36px; line-height: 36px; color: #fff; font-size: 13px; }
.header-top .container { display: flex; justify-content: space-between; }
.header-top a { color: #fff; margin-left: 15px; font-size: 12px; }
.header-main { background: #fff; border-bottom: 1px solid var(--border); height: 90px; }
.header-main .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo img { height: 56px; }
.nav { display: flex; height: 100%; }
.nav > li { list-style: none; position: relative; }
.nav > li > a { display: block; padding: 0 22px; height: 90px; line-height: 90px; color: #333; font-size: 15px; font-weight: 700; transition: color 0.2s; }
.nav > li > a:hover, .nav > li.active > a { color: var(--primary); }
.nav > li > a::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; height: 3px; background: var(--primary); transition: width 0.3s; }
.nav > li > a:hover::after, .nav > li.active > a::after { width: 100%; }
.nav .sub-menu { position: absolute; top: 100%; left: 0; background: #fff; min-width: 140px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); border: 1px solid var(--border); z-index: 100; display: none; }
.nav > li:hover .sub-menu { display: block; }
.nav .sub-menu a { display: block; padding: 10px 18px; color: #555; font-size: 14px; border-bottom: 1px solid #f5f5f5; white-space: nowrap; }
.nav .sub-menu a:hover { background: #f8f8f8; color: var(--primary); }
.nav .sub-menu li:last-child a { border-bottom: none; }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; color: #333; cursor: pointer; padding: 8px; }

/* Banner Slider */
.banner { width: 100%; height: 420px; overflow: hidden; position: relative; background: #eee; }
.banner .slide { width: 100%; height: 100%; position: absolute; top: 0; left: 0; opacity: 0; transition: opacity 0.8s; }
.banner .slide.active { opacity: 1; }
.banner .slide img { width: 100%; height: 100%; object-fit: cover; }
.banner .dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.banner .dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; }
.banner .dots span.active { background: #fff; }
.banner-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width: 44px; height: 60px; background: rgba(0,0,0,0.25); color: #fff; font-size: 30px; line-height: 60px; text-align: center; cursor: pointer; transition: background 0.3s; user-select: none; }
.banner-arrow:hover { background: rgba(0,0,0,0.5); }
.banner-arrow.prev { left: 0; border-radius: 0 4px 4px 0; }
.banner-arrow.next { right: 0; border-radius: 4px 0 0 4px; }
@media (max-width: 768px) { .banner-arrow { display: none; } }

/* Inner Banner */
.page-banner { height: 200px; background: var(--primary); display: flex; align-items: center; justify-content: center; color: #fff; }
.page-banner h1 { font-size: 28px; font-weight: 700; letter-spacing: 2px; }
.page-banner p { font-size: 14px; opacity: 0.8; margin-top: 6px; }

/* Breadcrumb */
.breadcrumb { background: #f8f8f8; padding: 12px 0; font-size: 13px; color: #999; border-bottom: 1px solid var(--border); }
.breadcrumb a { color: #999; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { margin: 0 8px; }

/* Content Layout with Sidebar */
.page-wrap { padding: 30px 0 50px; }
.page-wrap .container { display: flex; gap: 30px; }
.sidebar { width: 220px; flex-shrink: 0; }
.sidebar .side-title { background: var(--primary); color: #fff; padding: 14px 18px; font-size: 16px; font-weight: 700; }
.sidebar .side-list { border: 1px solid var(--border); border-top: none; }
.sidebar .side-list li { list-style: none; border-bottom: 1px solid #f0f0f0; }
.sidebar .side-list li:last-child { border-bottom: none; }
.sidebar .side-list a { display: block; padding: 12px 18px; color: #555; font-size: 14px; }
.sidebar .side-list a:hover, .sidebar .side-list a.active { background: #f5f8ff; color: var(--primary); font-weight: 700; }
.sidebar .side-list .sub a { padding-left: 34px; font-size: 13px; }
.main-content { flex: 1; min-width: 0; }

/* Products Grid */
.pro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 768px) { .pro-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pro-grid { grid-template-columns: 1fr; } }
.pro-item { border: 1px solid var(--border); transition: box-shadow 0.3s; }
.pro-item:hover { box-shadow: var(--shadow); }
.pro-item .thumb { height: 200px; background: #f8f8f8; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pro-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.pro-item .info { padding: 16px; }
.pro-item .info h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.pro-item .info h3 a { color: #333; }
.pro-item .info h3 a:hover { color: var(--primary); }
.pro-item .info p { font-size: 13px; color: #999; }

/* Article List */
.art-list { }
.art-item { border-bottom: 1px dashed #eee; padding: 18px 0; display: flex; gap: 18px; }
.art-item:last-child { border-bottom: none; }
.art-item .thumb { width: 140px; height: 100px; flex-shrink: 0; background: #f8f8f8; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.art-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.art-item .info { flex: 1; }
.art-item .info h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.art-item .info h3 a { color: #333; }
.art-item .info h3 a:hover { color: var(--primary); }
.art-item .info .meta { font-size: 12px; color: #aaa; margin-bottom: 6px; }
.art-item .info .meta span { margin-right: 14px; }
.art-item .info p { font-size: 13px; color: #888; line-height: 1.7; }

/* Content Detail */
.content-box { }
.content-box .title { font-size: 22px; font-weight: 700; margin-bottom: 12px; color: #222; }
.content-box .meta { font-size: 13px; color: #aaa; padding-bottom: 16px; border-bottom: 1px solid #eee; margin-bottom: 20px; }
.content-box .meta span { margin-right: 18px; }
.content-box .body { font-size: 14px; line-height: 1.9; color: #444; }
.content-box .body p { margin-bottom: 14px; }
.content-box .body img { max-width: 100%; margin: 10px 0; }
.content-box .body h2, .content-box .body h3, .content-box .body h4 { margin: 24px 0 10px; color: #222; }
.content-box .body table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.content-box .body table td, .content-box .body table th { border: 1px solid #ddd; padding: 8px 12px; }
.content-box .body table th { background: #f8f8f8; font-weight: 700; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 4px; margin-top: 30px; }
.pagination a, .pagination span { display: inline-block; padding: 6px 13px; border: 1px solid var(--border); color: #555; font-size: 13px; }
.pagination a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination .active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Gallery */
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.gal-item { border: 1px solid var(--border); overflow: hidden; }
.gal-item img { width: 100%; height: 180px; object-fit: cover; display: block; transition: transform 0.3s; }
.gal-item:hover img { transform: scale(1.05); }
.gal-item .cap { padding: 10px; font-size: 13px; text-align: center; color: #555; }

/* Download Table */
.dl-table { width: 100%; border-collapse: collapse; }
.dl-table th { background: #f8f8f8; padding: 12px 14px; text-align: left; border-bottom: 2px solid var(--border); font-size: 14px; color: #333; }
.dl-table td { padding: 12px 14px; border-bottom: 1px solid #eee; font-size: 13px; color: #666; }
.dl-table tr:hover td { background: #fafafa; }

/* About Section (Home) */
.home-section { padding: 50px 0; }
.home-section.bg-gray { background: var(--bg); }
.home-section.about-bg { background: linear-gradient(135deg, #f0f4f8 0%, #e8edf5 50%, #f5f5fa 100%); position: relative; }
.home-section.about-bg::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Ccircle cx='30' cy='30' r='1' fill='%23c0cfe0' opacity='0.3'/%3E%3C/svg%3E") repeat; pointer-events: none; }
.section-title { text-align: center; margin-bottom: 36px; }
.section-title h2 { font-size: 26px; font-weight: 700; color: #222; position: relative; display: inline-block; }
.section-title h2::after { content: ''; display: block; width: 40px; height: 3px; background: var(--primary); margin: 10px auto 0; }
.section-title p { color: #999; font-size: 14px; margin-top: 6px; }
.home-about { display: flex; gap: 40px; align-items: center; }
.home-about .pic { width: 480px; flex-shrink: 0; }
.home-about .pic img { width: 100%; border-radius: 4px; }
.home-about .text { flex: 1; }
.home-about .text h3 { font-size: 22px; color: #222; margin-bottom: 14px; }
.home-about .text p { font-size: 14px; color: #666; line-height: 1.9; margin-bottom: 10px; }

/* About Stats */
.about-stats { display: flex; gap: 20px; margin: 18px 0; }
.stat-item { text-align: center; flex: 1; padding: 14px 8px; background: #f5f8ff; border-radius: 6px; }
.stat-num { display: block; font-size: 22px; font-weight: 700; color: var(--primary); }
.stat-label { display: block; font-size: 12px; color: #888; margin-top: 4px; }
.btn.btn-primary { display: inline-block; padding: 10px 30px; background: var(--primary); color: #fff; font-size: 14px; border: none; cursor: pointer; transition: background 0.3s; }
.btn.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn.btn-outline { display: inline-block; padding: 8px 28px; background: transparent; color: var(--primary); font-size: 14px; border: 2px solid var(--primary); cursor: pointer; transition: all 0.3s; }
.btn.btn-outline:hover { background: var(--primary); color: #fff; }

/* Section More Link */
.section-more { text-align: center; margin-top: 30px; }

/* Product Series Tabs + Carousel */
.series-tabs { display: flex; gap: 12px; justify-content: center; margin-bottom: 30px; flex-wrap: wrap; }
.series-btn { padding: 10px 28px; border: none; border-radius: 25px; background: #d4e3f7; color: #333; font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.3s; }
.series-btn:hover { background: linear-gradient(135deg, #a8c8ed, #7dafe0); color: #fff; }
.series-btn.active { background: linear-gradient(135deg, #005bac, #0077cc); color: #fff; box-shadow: 0 2px 8px rgba(0,91,172,0.3); }
.series-carousel { overflow: hidden; position: relative; }
.series-carousel.hide { display: none; }
.carousel-track { display: flex; gap: 20px; transition: transform 0.4s ease; }
.carousel-item { flex: 0 0 calc((100% - 40px) / 3); min-width: 0; border: 1px solid var(--border); background: #fff; transition: box-shadow 0.3s; }
.carousel-item:hover { box-shadow: var(--shadow); }
.carousel-item .thumb { height: 180px; background: #f8f8f8; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.carousel-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.carousel-item .info { padding: 14px; }
.carousel-item .info h3 { font-size: 14px; font-weight: 700; margin-bottom: 4px; color: #333; }
.carousel-item .info p { font-size: 12px; color: #999; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.carousel-dot { width: 10px; height: 10px; border-radius: 50%; background: #ccc; cursor: pointer; transition: background 0.3s; }
.carousel-dot.active { background: var(--primary); }
@media (max-width: 768px) {
    .carousel-item { flex: 0 0 calc((100% - 20px) / 2); }
    .series-btn { padding: 8px 18px; font-size: 13px; }
}
@media (max-width: 480px) {
    .carousel-item { flex: 0 0 100%; }
    .series-tabs { gap: 8px; }
}

/* Product Price */
.pro-price { font-size: 16px; font-weight: 700; color: #ea4335; margin-top: 8px; }

/* Partner Placeholder */
.partner-list { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; }
.partner-item { width: 170px; height: 70px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; background: #fafafa; }
.partner-placeholder { font-size: 14px; color: #bbb; font-weight: 500; letter-spacing: 1px; }

/* Product Detail */
.pro-detail { display: flex; gap: 30px; }
.pro-detail .gallery { width: 480px; flex-shrink: 0; }
.pro-detail .gallery .main-img { width: 100%; height: 380px; background: #f8f8f8; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); overflow: hidden; }
.pro-detail .gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.pro-detail .info { flex: 1; }
.pro-detail .info h1 { font-size: 22px; color: #222; margin-bottom: 10px; }
.pro-detail .info .brief { font-size: 14px; color: #666; line-height: 1.8; margin-bottom: 16px; }
.pro-detail .info .attrs { margin-bottom: 18px; }
.pro-detail .info .attrs li { padding: 8px 0; border-bottom: 1px dotted #eee; font-size: 14px; color: #555; list-style: none; }
.pro-detail .info .attrs li span { color: #999; }
.pro-detail .info .btn-inquiry { display: inline-block; padding: 10px 32px; background: var(--primary); color: #fff; font-size: 14px; border-radius: 2px; }
.pro-detail .info .btn-inquiry:hover { background: var(--primary-dark); }
.pro-content { margin-top: 30px; }

/* Contact Page */
.contact-wrap { display: flex; gap: 40px; }
.contact-info { flex: 1; }
.contact-info .item { margin-bottom: 20px; }
.contact-info .item h4 { font-size: 15px; color: #222; margin-bottom: 4px; }
.contact-info .item p { font-size: 14px; color: #666; }
.contact-form { flex: 1; }
.contact-form .form-group { margin-bottom: 14px; }
.contact-form label { display: block; font-size: 13px; color: #555; margin-bottom: 4px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 9px 12px; border: 1px solid var(--border); font-size: 14px; font-family: inherit; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary); }
.contact-form textarea { height: 120px; resize: vertical; }
.contact-form .btn-submit { padding: 10px 40px; background: var(--primary); color: #fff; border: none; font-size: 14px; cursor: pointer; }
.contact-form .btn-submit:hover { background: var(--primary-dark); }

/* Footer */
.footer { background: #222; color: #ccc; padding: 40px 0 0; }
.footer .container { display: flex; justify-content: space-between; }
.footer-col { flex: 1; }
.footer-col.logo-col { flex: 1.5; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-col p, .footer-col li { font-size: 13px; line-height: 1.8; }
.footer-col ul { list-style: none; }
.footer-col a { color: #aaa; }
.footer-col a:hover { color: #fff; }
.footer-col .logo-foot { margin-bottom: 12px; }
.footer-col .logo-foot img { height: 44px; }
.footer-col .contact-item { margin-bottom: 6px; }
.footer-col .qr img { width: 100px; height: 100px; }
.footer-bottom { background: #1a1a1a; text-align: center; padding: 14px 0; margin-top: 30px; font-size: 12px; color: #888; }
.footer-bottom a { color: #888; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom span { margin: 0 6px; }

/* Back to Top */
.back-top { position: fixed; bottom: 40px; right: 20px; width: 40px; height: 40px; background: var(--primary); color: #fff; text-align: center; line-height: 40px; font-size: 18px; display: none; cursor: pointer; z-index: 99; }
.back-top:hover { background: var(--primary-dark); }

/* Responsive */
@media (max-width: 1024px) {
    .home-about { flex-direction: column; }
    .home-about .pic { width: 100%; }
    .pro-detail { flex-direction: column; }
    .pro-detail .gallery { width: 100%; }
    .footer .container { flex-wrap: wrap; gap: 20px; }
    .footer-col { flex: auto; width: 45%; }
    .gal-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .header-top .container { flex-direction: column; align-items: center; font-size: 12px; }
    .nav { display: none; position: absolute; top: 90px; left: 0; right: 0; background: #fff; flex-direction: column; box-shadow: 0 4px 12px rgba(0,0,0,0.1); z-index: 100; border-top: 1px solid var(--border); }
    .nav.active { display: flex; }
    .nav > li > a { height: auto; line-height: 1.5; padding: 12px 18px; border-bottom: 1px solid #f5f5f5; }
    .nav > li > a::after { display: none; }
    .nav .sub-menu { position: static; box-shadow: none; border: none; display: none; padding-left: 18px; }
    .nav > li:hover .sub-menu { display: none; }
    .nav > li.active .sub-menu { display: block; }
    .nav-toggle { display: block; }
    .banner { height: 220px; }
    .page-banner { height: 140px; }
    .page-banner h1 { font-size: 20px; }
    .page-wrap .container { flex-direction: column; }
    .sidebar { width: 100%; }
    .pro-item .thumb { height: 140px; }
    .art-item { flex-direction: column; }
    .art-item .thumb { width: 100%; height: 160px; }
    .contact-wrap { flex-direction: column; }
    .gal-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-col { width: 100%; }
    .header-main { height: auto; padding: 10px 0; }
}
@media (max-width: 480px) {
    .pro-grid { grid-template-columns: 1fr; }
    .gal-grid { grid-template-columns: 1fr; }
    .banner { height: 160px; }
}
