/* ============================================
   COMPLETE STYLES - No external dependencies
   ============================================ */

/* RESET & BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei","PingFang SC",Arial,sans-serif; color: #333; background: #f8f9fa; line-height: 1.6; padding-top: 70px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* HEADER */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: #1a2a6c; box-shadow: 0 2px 20px rgba(0,0,0,0.2); }
.header .container { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 22px; font-weight: 900; }
.logo img { height: 40px; border-radius: 4px; width: 40px; object-fit: contain; }
.logo span { color: #ffd700; }
.nav-menu { display: flex; list-style: none; gap: 5px; align-items: center; }
.nav-menu li a { color: rgba(255,255,255,0.85); padding: 8px 18px; border-radius: 6px; font-size: 15px; transition: all 0.3s ease; display: block; }
.nav-menu li a:hover, .nav-menu li a.active { color: #fff; background: rgba(255,255,255,0.15); }
.nav-menu li .wechat-nav-btn { background: #07c160; color: #fff; border-radius: 50px; padding: 8px 20px; font-weight: bold; cursor: pointer; }
.nav-menu li .wechat-nav-btn:hover { background: #06ad56; transform: scale(1.05); }
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 5px; }
.menu-toggle span { display: block; width: 28px; height: 3px; background: #fff; border-radius: 3px; }

/* BANNER SLIDER */
.banner-slider { position: relative; overflow: hidden; height: 550px; background: #1a2a6c; }
.banner-slider .slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.8s ease; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 20px; }
.banner-slider .slide.active { opacity: 1; }
.banner-slider .slide .slide-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; }
.banner-slider .slide .slide-content { position: relative; z-index: 2; }
.banner-slider .slide .slide-content h1 { font-size: 42px; font-weight: 900; margin-bottom: 15px; text-shadow: 0 2px 20px rgba(0,0,0,0.5); }
.banner-slider .slide .slide-content p { font-size: 18px; opacity: 0.9; max-width: 600px; margin: 0 auto 20px; }
.slider-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 10px; }
.slider-dots .dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; border: none; transition: all 0.3s ease; }
.slider-dots .dot.active { background: #ff6b35; transform: scale(1.2); }

/* BUTTONS */
.btn-consult, .btn-consult-small, .btn-consult-banner { display: inline-block; background: linear-gradient(135deg, #ff6b35, #ff4500); color: #fff; padding: 12px 35px; border-radius: 50px; font-size: 16px; font-weight: bold; border: none; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(255,69,0,0.3); }
.btn-consult:hover, .btn-consult-small:hover, .btn-consult-banner:hover { transform: translateY(-3px); box-shadow: 0 6px 25px rgba(255,69,0,0.5); background: linear-gradient(135deg, #ff7a4a, #ff4500); }
.btn-consult-small { padding: 8px 20px; font-size: 13px; }
.btn-consult-banner { padding: 14px 45px; font-size: 18px; box-shadow: 0 4px 20px rgba(255,69,0,0.4); }

/* FEATURED PRODUCT - Mobile: Title first, then image */
.featured-product { padding: 10px 0; background: #fff; }
.product-display { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.product-image { flex: 1; min-width: 300px; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.1); background: #f0f0f0; }
.product-image img { width: 100%; height: 350px; object-fit: cover; transition: transform 0.5s ease; }
.product-image img:hover { transform: scale(1.03); }
.product-info { flex: 1; min-width: 280px; padding: 0px; }
.product-title { font-size: 30px; font-weight: 800; color: #1a2a6c; margin-bottom: 20px; }
.product-details { margin-bottom: 25px; }
.product-details p { font-size: 17px; padding: 8px 0; border-bottom: 1px dashed #eee; }
.product-details .price { color: #ff4500; font-size: 24px; font-weight: 700; }
.product-details .brand { color: #2d4373; }

/* Q&A */
.qa-section { padding: 50px 0; background: #f8f9fa; }
.section-title { font-size: 28px; font-weight: 800; text-align: center; margin-bottom: 30px; color: #1a2a6c; position: relative; padding-bottom: 15px; }
.section-title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 4px; background: linear-gradient(135deg, #ff6b35, #ff4500); border-radius: 2px; }
.qa-list { max-width: 800px; margin: 0 auto; }
.qa-item { background: #fff; margin-bottom: 15px; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.05); transition: all 0.3s ease; }
.qa-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.qa-item .qa-question { padding: 18px 25px; font-weight: 700; color: #1a2a6c; cursor: pointer; border-left: 4px solid #ff6b35; font-size: 16px; }
.qa-item .qa-question::before { content: '❓ '; }
.qa-item .qa-answer { padding: 0 25px 18px; color: #555; display: none; font-size: 15px; line-height: 1.8; }
.qa-item .qa-answer.show { display: block; }
.qa-item .qa-answer::before { content: '💡 '; }

/* PRODUCT GALLERY - Unlimited products */
.product-gallery { padding: 50px 0; background: #fff; }
.gallery-scroll { display: flex; gap: 20px; overflow-x: auto; padding: 10px 5px 20px; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
.gallery-scroll::-webkit-scrollbar { height: 8px; }
.gallery-scroll::-webkit-scrollbar-track { background: #f0f0f0; border-radius: 10px; }
.gallery-scroll::-webkit-scrollbar-thumb { background: linear-gradient(135deg, #ff6b35, #ff4500); border-radius: 10px; }
.product-card { flex: 0 0 220px; background: #f8f9fa; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.06); transition: all 0.3s ease; text-align: center; padding-bottom: 15px; }
.product-card:hover { transform: translateY(-8px); box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.product-card img { width: 100%; height: 180px; object-fit: cover; background: #e0e0e0; }
.product-card h4 { font-size: 16px; color: #1a2a6c; margin: 12px 0 5px; padding: 0 10px; }
.product-card .gallery-price { color: #ff4500; font-size: 18px; font-weight: 700; }
.product-card .gallery-brand { color: #888; font-size: 13px; }

/* PRODUCTS PAGE */
.page-content { padding: 50px 0; background: #fff; min-height: 400px; }
.page-content h1 { font-size: 36px; color: #1a2a6c; margin-bottom: 25px; text-align: center; }
.page-content h1::after { content: ''; display: block; width: 60px; height: 4px; background: linear-gradient(135deg, #ff6b35, #ff4500); margin: 15px auto 0; border-radius: 2px; }
.products-intro { font-size: 16px; color: #555; line-height: 1.9; max-width: 800px; margin: 0 auto 40px; text-align: center; }
.service-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; max-width: 1000px; margin: 0 auto; }
.service-item { background: #fff; padding: 25px; border-radius: 16px; transition: all 0.3s ease; border: 1px solid #eee; box-shadow: 0 4px 15px rgba(0,0,0,0.06); text-align: center; }
.service-item:hover { transform: translateY(-8px); box-shadow: 0 8px 30px rgba(0,0,0,0.12); border-color: #ff6b35; }
.service-item img { width: 100%; height: 200px; object-fit: cover; border-radius: 12px; margin-bottom: 15px; }
.service-item h3 { color: #1a2a6c; font-size: 20px; margin-bottom: 10px; }
.service-item p { color: #555; font-size: 15px; padding: 4px 0; }
.service-item p strong { color: #1a2a6c; }

/* CONTACT PAGE */
.contact-info { max-width: 600px; margin: 0 auto; background: #f8f9fa; padding: 30px 40px; border-radius: 16px; border-left: 5px solid #ff6b35; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.contact-info p { padding: 12px 0; border-bottom: 1px solid #eee; font-size: 17px; color: #333; }
.contact-info p:last-child { border-bottom: none; }
.contact-info strong { color: #1a2a6c; display: inline-block; width: 100px; font-weight: 700; }
.contact-cta { text-align: center; margin-top: 30px; }

/* FOOTER */
footer { background: #0f1a3a; color: #aab4d0; padding: 40px 0 20px; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; margin-bottom: 30px; }
.footer-content h4 { color: #fff; font-size: 18px; margin-bottom: 15px; position: relative; padding-bottom: 10px; }
.footer-content h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 3px; background: #ff6b35; border-radius: 2px; }
.footer-content p, .footer-content a { font-size: 14px; padding: 4px 0; color: #8a9bb8; display: block; }
.footer-content a:hover { color: #ff6b35; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.06); font-size: 14px; color: #6a7b98; }

/* WECHAT FLOATING BUTTON & POPUP */
.wechat-float-btn { position: fixed; right: 20px; bottom: 100px; z-index: 999; background: #07c160; color: #fff; width: 60px; height: 60px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(7,193,96,0.4); cursor: pointer; transition: all 0.3s ease; animation: pulse 2s infinite; }
.wechat-float-btn:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(7,193,96,0.6); }
.wechat-float-btn .icon { font-size: 28px; line-height: 1; }
.wechat-float-btn .label { font-size: 10px; margin-top: 2px; }
@keyframes pulse { 0%,100% { box-shadow: 0 4px 20px rgba(7,193,96,0.4); } 50% { box-shadow: 0 4px 40px rgba(7,193,96,0.7); } }

.erx-weixin-open { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.65); z-index: 9999; justify-content: center; align-items: center; backdrop-filter: blur(4px); }
.erx-weixin-open.erxact { display: flex; }
.erx-wx-box { background: #fff; border-radius: 20px; padding: 35px 30px 30px; max-width: 400px; width: 92%; position: relative; animation: popIn 0.4s ease; box-shadow: 0 30px 80px rgba(0,0,0,0.4); }
@keyframes popIn { from { transform: scale(0.8) translateY(30px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }
.erx-wx-box .erx-wx-icon-success { display: block; text-align: center; font-size: 48px; color: #07c160; margin-bottom: 5px; }
.erx-wx-box h5 { font-size: 20px; color: #1a2a6c; text-align: center; margin-bottom: 15px; }
.erx-wx-ow { text-align: center; }
.erx-wx-ow .erx-wx-ts { font-size: 15px; color: #555; margin-bottom: 15px; line-height: 1.6; }
.erx-wx-ow .erx-wx-ts em { color: #ff4500; font-style: normal; font-weight: 700; font-size: 18px; }
.erx-wx-ow .qrcode-ez { width: 160px; height: 160px; margin: 0 auto 18px; border: 3px solid #f0f0f0; border-radius: 12px; display: none; object-fit: cover; }
.erx-wx-ow .qrcode-ez.erxshow { display: block; }
.erx-wx-ow .erx-wx-btn { display: inline-block; background: linear-gradient(135deg, #07c160, #06ad56); color: #fff; padding: 12px 40px; border-radius: 50px; font-size: 16px; font-weight: bold; cursor: pointer; border: none; transition: all 0.3s ease; margin-top: 5px; }
.erx-wx-ow .erx-wx-btn:hover { transform: scale(1.05); box-shadow: 0 4px 20px rgba(7,193,96,0.4); }
.erx-wx-close { position: absolute; top: 12px; right: 16px; font-size: 28px; color: #999; cursor: pointer; transition: all 0.3s ease; line-height: 1; background: none; border: none; }
.erx-wx-close:hover { color: #333; transform: rotate(90deg); }

/* RESPONSIVE - Mobile First */
@media (max-width: 992px) {
    .product-display { flex-direction: column-reverse; text-align: center; }
    .product-details p strong { display: inline; width: auto; }
    .product-title { font-size: 28px; }
}
@media (max-width: 768px) {
    body { padding-top: 60px; }
    .menu-toggle { display: flex; }
    .nav-menu { display: none; flex-direction: column; width: 100%; background: #1a2a6c; padding: 15px 0; border-top: 1px solid rgba(255,255,255,0.1); }
    .nav-menu.open { display: flex; }
    .nav-menu li a { padding: 12px 20px; text-align: center; }
    .banner-slider { height: 300px; }
    .banner-slider .slide .slide-content h1 { font-size: 28px; }
    .banner-slider .slide .slide-content p { font-size: 15px; }
    .product-display { flex-direction: column-reverse; text-align: center; }
    .product-image img { height: 220px; }
    .product-title { font-size: 24px; }
    .product-card { flex: 0 0 170px; }
    .product-card img { height: 140px; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-content h4::after { left: 50%; transform: translateX(-50%); }
    .contact-info { padding: 20px; }
    .page-content h1 { font-size: 28px; }
    .service-list { grid-template-columns: 1fr; }
    .wechat-float-btn { width: 50px; height: 50px; right: 15px; bottom: 80px; }
    .wechat-float-btn .icon { font-size: 22px; }
    .erx-wx-box { padding: 25px 20px; }
}
@media (max-width: 480px) {
    .logo { font-size: 18px; }
    .logo img { height: 32px; width: 32px; }
    .banner-slider { height: 250px; }
    .banner-slider .slide .slide-content h1 { font-size: 22px; }
    .banner-slider .slide .slide-content .btn-consult-banner { padding: 10px 30px; font-size: 15px; }
    .product-card { flex: 0 0 150px; }
    .product-card img { height: 120px; }
    .btn-consult { padding: 10px 25px; font-size: 14px; }
    .contact-info strong { width: 70px; }
}
.empty-state { grid-column: 1 / -1; text-align: center; padding: 50px; color: #999; font-size: 16px; }