/* ==============================================
   数字化环境工程信息平台 - 主样式表
   ============================================== */

/* 重置 */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; color: #333; background: #f5f5f5; line-height: 1.6; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
a:hover { color: #1a5276; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
input, button, select, textarea { font-family: inherit; font-size: inherit; outline: none; border: none; }
button { cursor: pointer; }

/* 通用 */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-header { text-align: center; margin-bottom: 40px; position: relative; }
.section-header h2 { font-size: 28px; color: #1a5276; margin-bottom: 10px; }
.section-header p { color: #666; font-size: 14px; }
.section-more { position: absolute; right: 0; top: 5px; color: #2980b9; font-size: 14px; }
.btn { display: inline-block; padding: 10px 24px; border-radius: 4px; font-size: 14px; text-align: center; transition: all 0.3s; border: 2px solid transparent; }
.btn-primary { background: #1a5276; color: #fff; }
.btn-primary:hover { background: #2980b9; color: #fff; }
.btn-outline { background: transparent; border-color: #1a5276; color: #1a5276; }
.btn-outline:hover { background: #1a5276; color: #fff; }
.btn-small { padding: 6px 16px; font-size: 12px; }
.btn-large { padding: 14px 36px; font-size: 16px; }
.btn-block { display: block; width: 100%; }

/* 顶部导航 */
.site-header { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.06); position: sticky; top: 0; z-index: 100; }
.header-top { background: #f8f9fa; border-bottom: 1px solid #e9ecef; font-size: 12px; color: #6c757d; padding: 6px 0; }
.header-top .container { display: flex; justify-content: space-between; align-items: center; }
.header-top-right a { margin-left: 16px; }
.header-top-right .highlight { color: #e74c3c; font-weight: 500; }
.header-main { padding: 16px 0; }
.header-main .container { display: flex; align-items: center; gap: 30px; }
.header-logo a { display: flex; align-items: center; gap: 4px; }
.logo-img { height: 50px; width: auto; }
.logo-text { font-size: 24px; font-weight: 700; color: #1a5276; }
.logo-accent { color: #e74c3c; }
.logo-sub { font-size: 12px; color: #999; margin-left: 2px; }
.header-search { flex: 1; max-width: 500px; }
.header-search form { display: flex; }
.header-search input { flex: 1; padding: 10px 16px; border: 2px solid #1a5276; border-right: none; border-radius: 4px 0 0 4px; }
.header-search button { padding: 10px 24px; background: #1a5276; color: #fff; border-radius: 0 4px 4px 0; font-weight: 500; }
.header-nav { display: flex; gap: 20px; }
.nav-link { font-size: 15px; font-weight: 500; color: #333; padding: 6px 0; position: relative; }
.nav-link:hover { color: #1a5276; }
.nav-highlight { color: #e74c3c; }
.nav-highlight:hover { color: #c0392b; }
.nav-user-menu { position: relative; display: inline-block; }
.nav-user-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 6px 16px; border-radius: 20px; font-size: 14px; font-weight: 600; color: #fff; background: linear-gradient(135deg, #1a5276, #2980b9); border: none; cursor: pointer; transition: all 0.3s; }
.nav-user-toggle:hover { transform: translateY(-1px); box-shadow: 0 3px 10px rgba(26,82,118,0.3); }
.nav-user-arrow { font-size: 12px; }
.nav-user-dropdown { display: none; position: absolute; right: 0; top: 100%; margin-top: 6px; background: #fff; border-radius: 10px; box-shadow: 0 4px 20px rgba(0,0,0,0.15); min-width: 140px; z-index: 1000; overflow: hidden; }
.nav-user-item { display: block; padding: 10px 16px; font-size: 14px; color: #555; text-decoration: none; transition: all 0.2s; border-bottom: 1px solid #f5f5f5; }
.nav-user-item:last-child { border-bottom: none; }
.nav-user-item:hover { background: #f0f7ff; color: #1a5276; }
.nav-user-logout { color: #e74c3c; }
.nav-user-logout:hover { background: #fef5f5; color: #c0392b; }
.nav-user-upgrade { color: #e67e22; font-weight: 600; }
.nav-user-upgrade:hover { background: #fef9f0; color: #d35400; }
.header-category { border-top: 1px solid #f0f0f0; padding: 8px 0; }
.category-nav { display: flex; gap: 24px; overflow-x: auto; }
.cate-link { font-size: 13px; color: #666; white-space: nowrap; }
.cate-link:hover { color: #1a5276; }

/* 轮播图 */
.banner-section { padding: 20px 0; }
.banner-wrapper { position: relative; height: 400px; border-radius: 8px; overflow: hidden; }
.banner-item { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.5s; background-size: cover; background-position: center; display: flex; align-items: center; }
.banner-item.active { opacity: 1; }
.banner-content { padding: 0 40px; color: #fff; display: flex; justify-content: space-between; align-items: center; width: 100%; box-sizing: border-box; }
.banner-content h2 { font-size: 36px; margin-bottom: 12px; margin-left: 4em; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.banner-content p { font-size: 16px; margin-bottom: 20px; text-shadow: 0 1px 2px rgba(0,0,0,0.3); }
.banner-btn { display: inline-block; padding: 10px 30px; background: rgba(255,255,255,0.9); color: #1a5276; border-radius: 30px; font-weight: 600; transition: all 0.3s; }
.banner-btn:hover { background: #fff; transform: translateY(-2px); }
.banner-btn-blue { display: inline-block; padding: 12px 36px; background: #2980b9; color: #fff; border-radius: 30px; font-size: 16px; font-weight: 600; text-decoration: none; transition: all 0.3s; box-shadow: 0 4px 16px rgba(41,128,185,0.4); }
.banner-btn-blue:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 10px 30px rgba(212,175,55,0.8); color: #1a1a2e; }
.banner-prev, .banner-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.3); color: #fff; width: 40px; height: 40px; border-radius: 50%; font-size: 24px; display: flex; align-items: center; justify-content: center; }
.banner-prev { left: 15px; }
.banner-next { right: 15px; }
.banner-prev:hover, .banner-next:hover { background: rgba(0,0,0,0.5); }
.banner-dots { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.banner-dots .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; }
.banner-dots .dot.active { background: #fff; }

/* 数据统计条 */
.stats-bar { background: #1a5276; color: #fff; padding: 8px 0; }
.stats-bar-inner { display: flex; justify-content: center; align-items: center; gap: 6px; font-size: 13px; }
.stats-bar-item b { font-size: 16px; font-weight: 700; margin-right: 2px; }
.stats-bar-sep { color: rgba(255,255,255,0.3); }

/* 紧凑双栏布局 */
.compact-services-section { padding: 20px 0; background: #fff; }
.compact-bottom-section { padding: 20px 0; background: #f8f9fa; }
.compact-merchant-article { padding: 20px 0; background: #fff; }
.compact-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compact-col { background: #fff; border-radius: 8px; padding: 15px 20px; border: 1px solid #f0f0f0; }
.compact-bottom-section .compact-col { background: #fff; }
.compact-col-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 2px solid #1a5276; }
.compact-col-header h3 { font-size: 16px; color: #1a5276; }
.compact-more { font-size: 13px; color: #2980b9; }

/* 服务长条列表 */
.service-bar-list { list-style: none; }
.service-bar-item { border-bottom: 1px solid #f5f5f5; }
.service-bar-item:last-child { border-bottom: none; }
.service-bar-item a { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: #333; transition: all 0.2s; }
.service-bar-item a:hover { color: #1a5276; padding-left: 4px; }
.service-bar-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; flex-shrink: 0; }
.svc-ai { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.svc-ai::before { content: 'AI'; font-weight: 700; font-size: 13px; }
.svc-purchase { background: linear-gradient(135deg, #3498db, #2980b9); }
.svc-purchase::before { content: '🛒'; }
.svc-logistics { background: linear-gradient(135deg, #27ae60, #2ecc71); }
.svc-logistics::before { content: '🚚'; }
.svc-project { background: linear-gradient(135deg, #9b59b6, #8e44ad); }
.svc-project::before { content: '📋'; }
.svc-batch { background: linear-gradient(135deg, #f39c12, #e67e22); }
.svc-batch::before { content: '📦'; }
.svc-club { background: linear-gradient(135deg, #1abc9c, #16a085); }
.svc-club::before { content: '👥'; }
.service-bar-text { flex: 1; display: flex; flex-direction: column; }
.service-bar-text strong { font-size: 14px; color: #333; }
.svc-tag-sm { font-style: normal; font-size: 10px; background: #e74c3c; color: #fff; padding: 1px 6px; border-radius: 8px; margin-left: 4px; }
.service-bar-text span { font-size: 12px; color: #999; }
.service-bar-arrow { color: #ccc; font-size: 18px; }

/* AI模块长条列表 */
.ai-mod-bar-list { list-style: none; }
.ai-mod-bar-item { border-bottom: 1px solid #f5f5f5; }
.ai-mod-bar-item:last-child { border-bottom: none; }
.ai-mod-bar-item a { display: flex; align-items: center; gap: 10px; padding: 7px 0; color: #333; transition: all 0.2s; }
.ai-mod-bar-item a:hover { color: #1a5276; padding-left: 4px; }
.ai-mod-bar-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; font-weight: 700; flex-shrink: 0; }
.ai-mod-bar-text { flex: 1; display: flex; flex-direction: column; }
.ai-mod-bar-text strong { font-size: 13px; color: #333; }
.ai-mod-bar-text span { font-size: 11px; color: #999; }

/* 工程类目标签 */
.eng-tag-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.eng-tag { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border: 1px solid #ddd; border-radius: 20px; font-size: 13px; color: #555; transition: all 0.2s; }
.eng-tag:hover { background: #f0f7ff; color: #1a5276; }
.eng-tag-dot { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 11px; font-weight: 700; }

/* 会员体系长条 */
.member-bar-wrap { }
.member-bar-row { display: flex; margin-bottom: 8px; border-radius: 6px; overflow: hidden; border: 1px solid #f0f0f0; }
.member-bar-row:last-child { margin-bottom: 0; }
.member-bar-left { width: 110px; padding: 10px; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; }
.member-bar-left strong { font-size: 14px; }
.member-bar-left span { font-size: 11px; opacity: 0.9; margin-top: 2px; }
.member-bar-right { flex: 1; padding: 10px 15px; font-size: 12px; color: #666; display: flex; align-items: center; line-height: 1.6; }

/* 商户长条列表 */
.merchant-bar-list { list-style: none; }
.merchant-bar-item { border-bottom: 1px solid #f5f5f5; }
.merchant-bar-item:last-child { border-bottom: none; }
.merchant-bar-item a { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: #333; }
.merchant-bar-item a:hover { color: #1a5276; }
.merchant-bar-avatar { width: 36px; height: 36px; border-radius: 50%; background: #1a5276; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.merchant-bar-text { flex: 1; display: flex; flex-direction: column; }
.merchant-bar-text strong { font-size: 14px; color: #333; }
.merchant-bar-text span { font-size: 12px; color: #999; }
.merchant-bar-arrow { color: #ccc; font-size: 18px; }

/* 资讯长条列表 */
.article-bar-list { list-style: none; }
.article-bar-item { border-bottom: 1px solid #f5f5f5; }
.article-bar-item:last-child { border-bottom: none; }
.article-bar-item a { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: #333; }
.article-bar-item a:hover { color: #1a5276; }
.article-bar-date { font-size: 12px; color: #2980b9; flex-shrink: 0; width: 36px; }
.article-bar-title { font-size: 13px; color: #555; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 服务保障条 */
.guarantee-bar-section { background: #1a5276; padding: 12px 0; }
.guarantee-bar { display: flex; justify-content: center; gap: 40px; color: #fff; font-size: 14px; }
.guarantee-bar span { display: flex; align-items: center; gap: 6px; }
.guarantee-bar b { font-size: 18px; color: #2ecc71; }

/* 商品区 */
.product-section { padding: 20px 0; }
.product-section-alt { background: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.product-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: all 0.3s; }
.product-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.12); transform: translateY(-3px); }
.product-img { width: 100%; height: 200px; overflow: hidden; background: #f5f5f5; }
.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: 15px; }
.product-name { font-size: 14px; color: #333; margin-bottom: 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-desc { font-size: 12px; color: #999; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.product-meta { display: flex; justify-content: space-between; font-size: 12px; color: #999; margin-bottom: 8px; }
.product-price { display: flex; align-items: baseline; gap: 8px; }
.price-now { font-size: 18px; color: #e74c3c; font-weight: 700; }
.price-old { font-size: 13px; color: #ccc; text-decoration: line-through; }
.empty-tip { grid-column: 1 / -1; text-align: center; padding: 60px 20px; }
.empty-tip p { color: #999; margin-bottom: 15px; font-size: 16px; }

/* 商户区 */
.merchant-section { padding: 50px 0; background: #fff; }
.merchant-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.merchant-card { display: flex; align-items: center; gap: 15px; padding: 20px; border: 1px solid #f0f0f0; border-radius: 8px; transition: all 0.3s; }
.merchant-card:hover { border-color: #1a5276; box-shadow: 0 2px 12px rgba(26,82,118,0.1); }
.merchant-avatar { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: #f0f0f0; }
.merchant-avatar img { width: 100%; height: 100%; object-fit: cover; }
.merchant-info h3 { font-size: 15px; color: #333; margin-bottom: 4px; }
.merchant-info p { font-size: 12px; color: #999; margin-bottom: 4px; }
.merchant-products { font-size: 12px; color: #2980b9; }

/* 文章区 */
.article-section { padding: 50px 0; }
.article-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.article-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.article-img { height: 160px; overflow: hidden; }
.article-img img { width: 100%; height: 100%; object-fit: cover; }
.article-info { padding: 15px; }
.article-info h3 { font-size: 14px; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-info p { font-size: 12px; color: #999; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-date { font-size: 12px; color: #ccc; }

/* 服务保障 */
.guarantee-section { padding: 40px 0; background: #1a5276; }
.guarantee-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.guarantee-item { text-align: center; color: #fff; }
.guarantee-icon { width: 50px; height: 50px; margin: 0 auto 10px; border-radius: 50%; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.guarantee-item h3 { font-size: 16px; margin-bottom: 5px; }
.guarantee-item p { font-size: 13px; opacity: 0.8; }
.section-header { margin-bottom: 20px; }

/* 页脚 */
.site-footer { background: #2c3e50; color: #bdc3c7; }
.footer-main { padding: 50px 0; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr) 1.5fr; gap: 30px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 15px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { font-size: 13px; color: #bdc3c7; }
.footer-col a:hover { color: #fff; }
.footer-contact p { font-size: 13px; margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid #34495e; padding: 20px 0; text-align: center; font-size: 13px; }
.footer-bottom a { color: #bdc3c7; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom-content { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.footer-beian { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.beian-sep { color: #7f8c8d; }

/* 页面Banner */
.page-banner { background: linear-gradient(135deg, #1a5276, #2980b9); color: #fff; padding: 40px 0; text-align: center; }
.page-banner h1 { font-size: 28px; margin-bottom: 10px; }
.page-banner p { opacity: 0.9; }
.page-banner-about { background: linear-gradient(135deg, #2c3e50, #3498db); }
.page-banner-hvac { background: linear-gradient(135deg, #8e44ad, #3498db); padding: 60px 0; }
.page-banner-hvac h1 { font-size: 32px; }
.breadcrumb { display: flex; gap: 8px; justify-content: center; font-size: 13px; opacity: 0.8; }
.breadcrumb a { color: #fff; }

/* 商品列表页 */
.product-list-section { padding: 30px 0; }
.filter-bar { background: #fff; padding: 15px 20px; border-radius: 8px; margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.filter-form { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.filter-group { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.filter-group select, .price-input { padding: 6px 10px; border: 1px solid #ddd; border-radius: 4px; }
.price-input { width: 80px; }
.result-count { font-size: 14px; color: #666; }
.product-grid-list { grid-template-columns: repeat(4, 1fr); }
.empty-state { text-align: center; padding: 80px 20px; background: #fff; border-radius: 8px; }
.empty-icon { font-size: 60px; margin-bottom: 15px; }
.empty-state h3 { font-size: 20px; color: #333; margin-bottom: 10px; }
.empty-state p { color: #999; margin-bottom: 20px; }

/* 分页 */
.pagination { display: flex; justify-content: center; gap: 5px; margin-top: 30px; }
.page-link { padding: 8px 14px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; background: #fff; }
.page-link:hover { border-color: #1a5276; color: #1a5276; }
.page-link.current { background: #1a5276; color: #fff; border-color: #1a5276; }
.page-ellipsis { padding: 8px 4px; color: #999; }

/* 商品详情页 */
.product-detail-section { padding: 30px 0; }
.product-detail-section .breadcrumb { justify-content: flex-start; padding: 10px 0; }
.detail-main { display: grid; grid-template-columns: 400px 1fr; gap: 30px; background: #fff; padding: 30px; border-radius: 8px; margin-bottom: 30px; }
.detail-img-box { border: 1px solid #f0f0f0; border-radius: 8px; overflow: hidden; }
.detail-img-main { width: 100%; height: 400px; object-fit: contain; }
.detail-title { font-size: 22px; color: #333; margin-bottom: 8px; }
.detail-subtitle { font-size: 14px; color: #999; margin-bottom: 15px; }
.detail-price-box { background: #f8f9fa; padding: 15px; border-radius: 4px; margin-bottom: 20px; }
.price-now-large { font-size: 28px; color: #e74c3c; font-weight: 700; }
.price-label { font-size: 13px; color: #999; margin-right: 10px; }
.price-discount { background: #e74c3c; color: #fff; padding: 2px 8px; border-radius: 3px; font-size: 12px; margin-left: 10px; }
.detail-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 20px; }
.detail-info-item { display: flex; flex-direction: column; gap: 4px; }
.info-label { font-size: 12px; color: #999; }
.info-value { font-size: 14px; color: #333; }
.detail-attrs { margin-bottom: 20px; }
.attr-group { margin-bottom: 15px; }
.attr-name { font-size: 13px; color: #999; display: block; margin-bottom: 8px; }
.attr-values { display: flex; gap: 8px; flex-wrap: wrap; }
.attr-value { padding: 6px 14px; border: 1px solid #ddd; border-radius: 4px; font-size: 13px; cursor: pointer; }
.attr-value:hover { border-color: #1a5276; color: #1a5276; }
.detail-actions { display: flex; gap: 15px; }
.detail-tabs { background: #fff; border-radius: 8px; overflow: hidden; }
.tab-headers { display: flex; border-bottom: 2px solid #f0f0f0; }
.tab-header { padding: 15px 30px; font-size: 15px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; }
.tab-header.active { color: #1a5276; border-bottom-color: #1a5276; font-weight: 600; }
.tab-content { padding: 25px 30px; }
.tab-pane { display: none; }
.tab-pane.active { display: block; }
.detail-description { line-height: 1.8; color: #555; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table td { padding: 10px 15px; border-bottom: 1px solid #f0f0f0; }
.info-table td:first-child { width: 150px; color: #999; }
.merchant-info-box { display: flex; align-items: center; gap: 20px; }
.merchant-info-box .merchant-avatar { width: 80px; height: 80px; }
.related-products { margin-top: 40px; }
.related-products h2 { font-size: 20px; margin-bottom: 20px; color: #1a5276; }

/* 分类页 */
.category-section { padding: 30px 0; }
.category-block { background: #fff; border-radius: 8px; padding: 25px; margin-bottom: 20px; }
.category-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.category-header h2 { font-size: 20px; color: #1a5276; }
.category-children { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; }
.category-child-item { text-align: center; padding: 15px 10px; border: 1px solid #f0f0f0; border-radius: 6px; transition: all 0.3s; }
.category-child-item:hover { border-color: #1a5276; }
.category-child-item img { width: 50px; height: 50px; margin: 0 auto 8px; border-radius: 50%; object-fit: cover; }
.category-child-item span { font-size: 13px; color: #555; }

/* 商户店铺页 */
.store-header-section { background: #fff; padding: 30px 0; }
.store-header { display: flex; align-items: center; gap: 25px; }
.store-avatar { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; border: 3px solid #1a5276; }
.store-avatar img { width: 100%; height: 100%; object-fit: cover; }
.store-info h1 { font-size: 24px; color: #333; }
.store-info p { color: #666; margin: 5px 0; }
.store-meta { display: flex; gap: 20px; font-size: 13px; color: #999; }
.store-product-section { padding: 30px 0; }
.store-cate-nav { display: flex; gap: 15px; margin-bottom: 20px; flex-wrap: wrap; }
.store-cate-link { padding: 8px 20px; background: #fff; border-radius: 20px; font-size: 14px; }
.store-cate-link.active, .store-cate-link:hover { background: #1a5276; color: #fff; }

/* 商户列表页 */
.store-list-section { padding: 30px 0; }
.store-list-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.store-list-card { display: flex; align-items: center; gap: 20px; padding: 20px; background: #fff; border-radius: 8px; transition: all 0.3s; }
.store-list-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.store-list-avatar { width: 70px; height: 70px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: #f0f0f0; }
.store-list-avatar img { width: 100%; height: 100%; object-fit: cover; }
.store-list-info { flex: 1; }
.store-list-info h3 { font-size: 17px; color: #333; margin-bottom: 5px; }
.store-list-info p { font-size: 13px; color: #999; margin-bottom: 5px; }
.store-list-meta { display: flex; gap: 15px; font-size: 12px; color: #aaa; }
.store-list-arrow { font-size: 20px; color: #ccc; }

/* 关于页 */
.about-section { padding: 40px 0; }
.about-intro, .about-features, .about-tech, .about-cta { background: #fff; border-radius: 8px; padding: 30px; margin-bottom: 20px; }
.about-intro h2, .about-features h2, .about-tech h2, .about-cta h2 { font-size: 22px; color: #1a5276; margin-bottom: 15px; }
.about-intro p { margin-bottom: 12px; line-height: 1.8; color: #555; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-item { padding: 20px; border: 1px solid #f0f0f0; border-radius: 8px; }
.feature-num { font-size: 24px; font-weight: 700; color: #1a5276; opacity: 0.2; margin-bottom: 8px; }
.feature-item h3 { font-size: 16px; color: #333; margin-bottom: 8px; }
.feature-item p { font-size: 13px; color: #666; }
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tech-item { text-align: center; padding: 20px; background: #f8f9fa; border-radius: 8px; }
.tech-item h3 { font-size: 15px; color: #1a5276; margin-bottom: 5px; }
.tech-item p { font-size: 13px; color: #666; }
.about-cta { text-align: center; }
.about-cta p { color: #666; margin-bottom: 20px; }
.cta-buttons { display: flex; gap: 15px; justify-content: center; }

/* AI方案页 */
.hvac-features-section { padding: 50px 0; }
.hvac-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hvac-feature-card { background: #fff; border-radius: 8px; padding: 25px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.hvac-feature-num { font-size: 36px; font-weight: 700; color: #1a5276; opacity: 0.15; }
.hvac-feature-card h3 { font-size: 18px; color: #1a5276; margin: 10px 0; }
.hvac-feature-card p { font-size: 14px; color: #666; margin-bottom: 15px; }
.hvac-feature-list li { font-size: 13px; color: #555; margin-bottom: 6px; }
.hvac-flow-section { padding: 50px 0; background: #f8f9fa; }
.flow-steps { display: flex; align-items: center; justify-content: center; gap: 15px; }
.flow-step { text-align: center; background: #fff; padding: 25px; border-radius: 8px; width: 200px; }
.flow-num { width: 40px; height: 40px; margin: 0 auto 12px; border-radius: 50%; background: #1a5276; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; }
.flow-step h3 { font-size: 15px; margin-bottom: 8px; }
.flow-step p { font-size: 12px; color: #666; }
.flow-arrow { font-size: 24px; color: #ccc; }
.hvac-pricing-section { padding: 50px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; max-width: 900px; margin: 0 auto; }
.pricing-card { background: #fff; border-radius: 8px; padding: 30px; text-align: center; border: 2px solid #f0f0f0; position: relative; }
.pricing-highlight { border-color: #1a5276; }
.pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #e74c3c; color: #fff; padding: 4px 16px; border-radius: 20px; font-size: 12px; }
.pricing-name { font-size: 20px; color: #333; margin-bottom: 15px; }
.price-amount { font-size: 36px; font-weight: 700; color: #e74c3c; }
.price-unit { font-size: 14px; color: #999; }
.pricing-quota { margin: 10px 0 20px; color: #2980b9; font-size: 14px; }
.pricing-features { text-align: left; margin-bottom: 25px; }
.pricing-features li { font-size: 14px; color: #555; margin-bottom: 8px; }
.hvac-cta-section { padding: 60px 0; background: linear-gradient(135deg, #1a5276, #2980b9); color: #fff; text-align: center; }
.hvac-cta-section h2 { font-size: 28px; margin-bottom: 10px; }
.hvac-cta-section p { margin-bottom: 25px; opacity: 0.9; }

/* 联系页 */
.contact-section { padding: 40px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 30px; }
.contact-info, .contact-form-box { background: #fff; border-radius: 8px; padding: 30px; }
.contact-info h2, .contact-form-box h2 { font-size: 20px; color: #1a5276; margin-bottom: 20px; }
.contact-item { display: flex; gap: 15px; margin-bottom: 25px; }
.contact-icon { font-size: 28px; }
.contact-item h3 { font-size: 15px; margin-bottom: 4px; }
.contact-item p { font-size: 16px; color: #333; font-weight: 500; }
.contact-item span { font-size: 13px; color: #999; }
.contact-form { margin-top: 20px; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-size: 14px; color: #555; margin-bottom: 5px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px 15px; border: 1px solid #ddd; border-radius: 4px; }

/* 帮助页 */
.help-section { padding: 30px 0; }
.help-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.help-category { background: #fff; border-radius: 8px; padding: 25px; }
.help-category h2 { font-size: 18px; color: #1a5276; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid #f0f0f0; }
.help-item { margin-bottom: 15px; }
.help-item h3 { font-size: 15px; color: #333; margin-bottom: 5px; }
.help-item p { font-size: 13px; color: #666; line-height: 1.6; }
.empty-text { text-align: center; color: #999; padding: 20px; }
.empty-state-section { padding: 60px 0; }

/* ==============================================
   PWA 添加到桌面按钮及弹窗
   ============================================== */
.pwa-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #0081ff, #1cbbb4);
  color: #fff;
  border: none;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 2px 6px rgba(0, 129, 255, 0.3);
  margin-left: 20px;
  transform: translateY(-1px);
}
.pwa-add-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 129, 255, 0.4);
}
.pwa-add-icon { font-size: 14px; }

/* Toast 提示 */
.pwa-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 10000;
  opacity: 0;
  transition: all 0.3s;
  white-space: nowrap;
  max-width: 90vw;
}
.pwa-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* 弹窗遮罩 */
.pwa-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.pwa-modal-overlay.show { opacity: 1; }

/* 弹窗主体 */
.pwa-modal {
  background: #fff;
  border-radius: 12px;
  width: 90%;
  max-width: 420px;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}
.pwa-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
}
.pwa-modal-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}
.pwa-modal-close {
  font-size: 20px;
  color: #999;
  cursor: pointer;
  padding: 4px 8px;
}
.pwa-modal-close:hover { color: #333; }
.pwa-modal-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}
.pwa-modal-footer {
  padding: 12px 20px;
  border-top: 1px solid #eee;
  text-align: center;
}
.pwa-modal-btn {
  background: #0081ff;
  color: #fff;
  border: none;
  padding: 8px 32px;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
}
.pwa-modal-btn:hover { background: #0066cc; }

/* 指引内容 */
.pwa-guide { line-height: 1.8; }
.pwa-guide-tip {
  font-size: 15px;
  color: #0081ff;
  margin-bottom: 12px;
  padding: 10px;
  background: #e6f4ff;
  border-radius: 8px;
}
.pwa-guide-step {
  font-size: 14px;
  color: #555;
  margin: 8px 0;
  padding-left: 8px;
}
.pwa-guide-step strong { color: #333; }
.pwa-guide-note {
  font-size: 13px;
  color: #999;
  margin-top: 12px;
  padding: 8px;
  background: #f9f9f9;
  border-radius: 6px;
  text-align: center;
}
.pwa-icon-share {
  display: inline-block;
  color: #0081ff;
  font-weight: bold;
}
.pwa-icon-dot {
  display: inline-block;
  background: #f0f0f0;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: bold;
}

/* 工程类目导航 + 轮播图布局 */
.hero-section { padding: 20px 0; }
.hero-wrapper { display: flex; gap: 15px; align-items: stretch; }
.engineering-cate-sidebar {
    width: 200px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    overflow: hidden;
}
.engineering-cate-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #1a5276, #2980b9);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}
.engineering-cate-icon { font-size: 20px; line-height: 1; }
.engineering-cate-list { list-style: none; padding: 0; margin: 0; }
.engineering-cate-item { border-bottom: 1px solid #f5f5f5; }
.engineering-cate-item:last-child { border-bottom: none; }
.engineering-cate-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
}
.engineering-cate-item a:hover {
    background: #f0f7ff;
    color: #1a5276;
    padding-left: 20px;
}
.eng-cate-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}
.eng-icon-building { background: #3498db; }
.eng-icon-decoration { background: #e67e22; }
.eng-icon-hvac { background: #e74c3c; }
.eng-icon-fire { background: #c0392b; }
.eng-icon-hardware { background: #f39c12; }
.eng-icon-electromechanical { background: #2ecc71; }
.eng-icon-tools { background: #1abc9c; }
.eng-icon-electrical { background: #9b59b6; }
.eng-icon-municipal { background: #34495e; }
.eng-icon-energy { background: #27ae60; }
.eng-icon-environmental { background: #16a085; }
.eng-cate-name { flex: 1; font-size: 14px; }
.eng-cate-arrow { color: #ccc; font-size: 16px; transition: all 0.2s; }
.engineering-cate-item a:hover .eng-cate-arrow { color: #1a5276; transform: translateX(3px); }
.hero-wrapper .banner-wrapper { flex: 1; }

/* 工程类目详情页 */
.engineering-page-section { padding: 20px 0 50px; }
.eng-page-header { display: flex; align-items: center; gap: 20px; padding: 40px 30px; border-radius: 8px; color: #fff; margin-bottom: 30px; }
.eng-page-icon { width: 80px; height: 80px; border-radius: 16px; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 40px; font-weight: 700; flex-shrink: 0; }
.eng-page-info h1 { font-size: 28px; margin-bottom: 8px; }
.eng-page-info p { font-size: 14px; opacity: 0.9; }
.eng-page-block { background: #fff; border-radius: 8px; padding: 30px; margin-bottom: 20px; }
.eng-other-cate-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; }
.eng-other-cate-item { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 10px; border-radius: 8px; border: 1px solid #f0f0f0; transition: all 0.3s; text-decoration: none; color: #555; }
.eng-other-cate-item:hover { border-color: #1a5276; box-shadow: 0 2px 12px rgba(26,82,118,0.1); transform: translateY(-3px); }
.eng-other-cate-item.active { border-color: #1a5276; background: #f0f7ff; color: #1a5276; font-weight: 600; }
.eng-other-icon { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; font-weight: 700; }
.eng-other-cate-item span:last-child { font-size: 13px; }

/* ==============================================
   首页新区块样式（2024重构）
   ============================================== */

/* 工程类目横向导航 */
.eng-cate-topnav { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 8px; padding: 10px 16px; margin-bottom: 15px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.eng-cate-topnav-title { font-size: 14px; font-weight: 600; color: #1a5276; white-space: nowrap; flex-shrink: 0; }
.eng-cate-topnav-list { display: flex; gap: 6px; flex: 1; }
.eng-cate-topnav-item { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 4px; border-radius: 20px; background: #f5f7fa; font-size: 13px; color: #555; white-space: nowrap; transition: all 0.2s; text-decoration: none; flex: 1; }
.eng-cate-topnav-item:hover { background: #e8f0fe; color: #1a5276; }
.eng-cate-topnav-icon { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 11px; font-weight: 700; flex-shrink: 0; }

/* 平台核心服务 - 六列紧凑卡片 */
.platform-services-section { padding: 30px 0; background: #fff; }
.platform-services-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.service-bar { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px; border-radius: 10px; border: 1px solid #f0f0f0; background: #fff; transition: all 0.3s; text-decoration: none; color: #333; position: relative; text-align: center; }
.service-bar:hover { border-color: #1a5276; background: #f8fbfe; box-shadow: 0 4px 16px rgba(26,82,118,0.08); transform: translateY(-2px); }
.service-bar-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; flex-shrink: 0; }
.service-bar-body { width: 100%; }
.service-bar-body h3 { font-size: 14px; color: #1a5276; margin-bottom: 2px; }
.service-bar-body p { font-size: 12px; color: #888; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.service-bar-tag { position: absolute; top: 6px; right: 6px; background: #e74c3c; color: #fff; font-size: 10px; padding: 1px 6px; border-radius: 8px; flex-shrink: 0; }

/* AI输出模块 - 长条按钮 */
.ai-modules-section { padding: 30px 0; background: #f8f9fa; }
.ai-modules-list { display: flex; flex-direction: column; gap: 10px; }
.ai-module-bar { display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-radius: 10px; background: #fff; border: 1px solid #f0f0f0; transition: all 0.3s; text-decoration: none; color: #333; }
.ai-module-bar:hover { border-color: #e74c3c; background: #fef5f5; box-shadow: 0 4px 16px rgba(231,76,60,0.08); transform: translateX(4px); }
.ai-module-bar-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; font-weight: 700; flex-shrink: 0; }
.ai-module-bar-body { flex: 1; }
.ai-module-bar-body h3 { font-size: 15px; color: #333; margin-bottom: 2px; }
.ai-module-bar-body p { font-size: 12px; color: #999; }
.ai-modules-cta { text-align: center; margin-top: 24px; }

/* 工程类目导航 + 商品展示 - 左右分栏 */
.eng-cate-split-section { padding: 30px 0; background: #fff; }
.eng-cate-split { display: flex; gap: 26px; align-items: flex-start; }
.eng-cate-sidebar { width: 320px; flex-shrink: 0; }
.eng-cate-sidebar-header { margin-bottom: 14px; }
.eng-cate-sidebar-header h2 { font-size: 18px; color: #1a5276; margin-bottom: 4px; }
.eng-cate-sidebar-header p { font-size: 13px; color: #888; }
.eng-cate-sidebar-list { display: flex; flex-direction: column; gap: 8px; }
.eng-cate-product-area { flex: 1; min-width: 0; }
.eng-cate-product-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.eng-cate-product-header h3 { font-size: 18px; color: #1a5276; }
.eng-cate-product-more { font-size: 14px; color: #1a5276; text-decoration: none; white-space: nowrap; }
.eng-cate-product-more:hover { text-decoration: underline; }
.eng-cate-product-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.eng-cate-empty-tip { grid-column: 1 / -1; text-align: center; padding: 40px 20px; color: #999; }
.eng-cate-empty-tip p { font-size: 14px; margin-bottom: 10px; }
/* 演示商品卡片（图片+名称，无价格） */
.demo-product-card { display: block; background: #fff; border-radius: 8px; overflow: hidden; border: 1px solid #f0f0f0; transition: all 0.3s; text-decoration: none; }
.demo-product-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); transform: translateY(-3px); border-color: #d0d0d0; }
.demo-product-img { width: 100%; height: 160px; overflow: hidden; background: #f5f5f5; }
.demo-product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.demo-product-card:hover .demo-product-img img { transform: scale(1.05); }
.demo-product-name { padding: 10px 12px; font-size: 14px; color: #333; line-height: 1.4; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 工程类目按钮（左右分栏左侧复用） */
.eng-cate-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 10px; border: 1px solid #f0f0f0; background: #fff; transition: all 0.3s; text-decoration: none; color: #555; }
.eng-cate-bar:hover { border-color: #1a5276; background: #f8fbfe; box-shadow: 0 4px 16px rgba(26,82,118,0.08); color: #1a5276; transform: translateY(-2px); }
.eng-cate-bar.active { border-color: #1a5276; background: #f8fbfe; color: #1a5276; box-shadow: 0 2px 12px rgba(26,82,118,0.1); }
.eng-cate-bar-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; font-weight: 700; flex-shrink: 0; }
.eng-cate-bar-name { font-size: 14px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 工程类目横向标签导航 */
.eng-cate-tag-section { padding: 30px 0; background: #fff; }
.eng-cate-oneline { display: flex; gap: 8px; padding-bottom: 4px; }
.eng-cate-tag { display: inline-flex; align-items: center; justify-content: center; padding: 10px 6px; border: 2px solid #ccc; border-radius: 8px; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: all 0.2s; background: #fff; cursor: pointer; flex: 1; }
.eng-cate-tag:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.eng-cate-tag.active { color: #fff !important; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.eng-cate-product-section { padding: 20px 0 40px; background: #f5f7fa; }

/* 数据统计 */
.stats-section { padding: 25px 0; background: linear-gradient(135deg, #1a5276, #2980b9); }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.stat-item { text-align: center; color: #fff; }
.stat-num { font-size: 36px; font-weight: 700; margin-bottom: 4px; }
.stat-label { font-size: 14px; opacity: 0.85; }

/* 会员体系 */
.member-levels-section { padding: 30px 0; background: #fff; }
.member-levels-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.member-level-card { background: #fff; border-radius: 10px; border: 1px solid #f0f0f0; border-top: 3px solid #1a5276; overflow: hidden; transition: all 0.3s; }
.member-level-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.member-level-header { padding: 20px; color: #fff; text-align: center; }
.member-level-header h3 { font-size: 18px; margin-bottom: 4px; }
.member-level-price { font-size: 14px; opacity: 0.9; }
.member-level-features { padding: 20px; }
.member-level-features li { padding: 6px 0; font-size: 14px; color: #555; border-bottom: 1px solid #f8f8f8; }
.member-level-features li:last-child { border-bottom: none; }
.member-level-btn { display: block; text-align: center; padding: 12px; color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; transition: opacity 0.2s; }
.member-level-btn:hover { opacity: 0.9; color: #fff; }

/* 注册弹窗 */
.register-modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 9999; align-items: center; justify-content: center; }
.register-modal { position: relative; background: #fff; border-radius: 12px; padding: 30px 35px; width: 420px; max-width: 90%; max-height: 90vh; overflow-y: auto; box-shadow: 0 8px 40px rgba(0,0,0,0.2); }
.register-modal-close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 24px; color: #999; cursor: pointer; line-height: 1; }
.register-modal-close:hover { color: #333; }
.register-modal h3 { font-size: 20px; color: #1a5276; text-align: center; margin-bottom: 6px; }
.register-modal-sub { font-size: 13px; color: #888; text-align: center; margin-bottom: 20px; }
.register-form { display: flex; flex-direction: column; gap: 12px; }
.register-input { padding: 10px 14px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; transition: border-color 0.2s; }
.register-input:focus { border-color: #1a5276; }
.register-code-row { display: flex; gap: 10px; }
.register-code-input { flex: 1; }
.register-send-btn { padding: 10px 16px; background: #2980b9; color: #fff; border: none; border-radius: 8px; font-size: 13px; cursor: pointer; white-space: nowrap; transition: background 0.2s; }
.register-send-btn:hover { background: #1a5276; }
.register-send-btn:disabled { background: #bbb; cursor: not-allowed; }
.register-cate-section { margin-top: 4px; }
.register-cate-label { display: block; font-size: 13px; color: #555; margin-bottom: 8px; font-weight: 600; }
.register-cate-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.register-cate-cell { display: flex; align-items: center; gap: 5px; padding: 8px 6px; border: 1px solid #eee; border-radius: 8px; font-size: 12px; color: #555; cursor: pointer; transition: all 0.2s; }
.register-cate-cell span { width: 22px; height: 22px; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.register-cate-cell:hover { border-color: #1a5276; }
.register-cate-cell.selected { border-color: #1a5276; background: #f0f7ff; color: #1a5276; }
.register-submit-btn { margin-top: 8px; padding: 12px; background: linear-gradient(135deg, #e74c3c, #c0392b); color: #fff; border: none; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.3s; }
.register-submit-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(231,76,60,0.3); }
.register-agreement { font-size: 12px; color: #aaa; text-align: center; margin-top: 4px; }

/* 空状态提示 */
.empty-tip { text-align: center; padding: 40px 20px; color: #999; }
.empty-tip p { font-size: 14px; margin-bottom: 12px; }

/* 服务保障 */
.guarantee-section { padding: 30px 0; background: #f8f9fa; }
.guarantee-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.guarantee-item { text-align: center; padding: 24px 16px; background: #fff; border-radius: 10px; border: 1px solid #f0f0f0; }
.guarantee-icon { width: 50px; height: 50px; border-radius: 50%; background: #f0f7ff; color: #1a5276; font-size: 24px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.guarantee-item h3 { font-size: 15px; color: #333; margin-bottom: 4px; }
.guarantee-item p { font-size: 13px; color: #999; }

/* 文章资讯 */
.article-section { padding: 30px 0; background: #fff; }
.article-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.article-card { background: #fff; border-radius: 8px; border: 1px solid #f0f0f0; overflow: hidden; transition: all 0.3s; }
.article-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.article-img { height: 160px; overflow: hidden; }
.article-img img { width: 100%; height: 100%; object-fit: cover; }
.article-info { padding: 16px; }
.article-info h3 { font-size: 15px; color: #333; margin-bottom: 8px; line-height: 1.4; }
.article-info p { font-size: 13px; color: #999; line-height: 1.5; margin-bottom: 8px; }
.article-date { font-size: 12px; color: #ccc; }

/* 商户网格 */
.merchant-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.merchant-card { display: flex; align-items: center; gap: 14px; padding: 20px; background: #fff; border-radius: 8px; border: 1px solid #f0f0f0; transition: all 0.3s; text-decoration: none; color: #333; }
.merchant-card:hover { border-color: #1a5276; box-shadow: 0 2px 12px rgba(26,82,118,0.08); }
.merchant-avatar { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.merchant-avatar img { width: 100%; height: 100%; object-fit: cover; }
.merchant-info { flex: 1; }
.merchant-info h3 { font-size: 15px; color: #333; margin-bottom: 4px; }
.merchant-info p { font-size: 13px; color: #999; }
.merchant-products { font-size: 12px; color: #2980b9; }

/* AI方案页 - 8大模块 */
.hvac-modules-section { padding: 50px 0; background: #f8f9fa; }
.hvac-modules-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hvac-module-item { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: all 0.3s; }
.hvac-module-item:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
.hvac-module-header { padding: 20px; color: #fff; display: flex; align-items: center; gap: 12px; }
.hvac-module-icon { font-size: 32px; line-height: 1; }
.hvac-module-header h3 { font-size: 16px; color: #fff; margin: 0; }
.hvac-module-desc { padding: 15px 20px 10px; font-size: 13px; color: #666; line-height: 1.6; margin: 0; }
.hvac-module-outputs { padding: 0 20px 20px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.outputs-label { font-size: 12px; color: #999; width: 100%; margin-bottom: 4px; }
.output-tag { display: inline-block; background: #e8f4f8; color: #1a5276; font-size: 12px; padding: 3px 10px; border-radius: 12px; }

/* AI方案页 - 生成表单 */
.hvac-form-section { padding: 50px 0; }
.hvac-form-box { max-width: 800px; margin: 0 auto; background: #fff; border-radius: 8px; padding: 35px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.ai-generate-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 15px; }
.ai-generate-form .form-group { margin-bottom: 0; }
.ai-generate-form .form-group label { font-weight: 500; color: #333; }
.form-actions { margin-top: 10px; text-align: center; }
.form-hint { display: inline-block; margin-left: 15px; font-size: 13px; color: #999; }
.ai-output-type-group { margin-top: 15px; }
.ai-output-type-list { display: flex; gap: 12px; flex-wrap: wrap; }
.ai-output-card { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border: 2px solid #e8e8e8; border-radius: 10px; cursor: pointer; transition: all 0.2s; background: #fff; flex: 1; min-width: 200px; }
.ai-output-card:hover { border-color: #2980b9; background: #f8fbfd; }
.ai-output-card input { display: none; }
.ai-output-card:has(input:checked) { border-color: #1a5276; background: #eef6fc; box-shadow: 0 2px 8px rgba(26,82,118,0.1); }
.ai-output-icon { font-size: 28px; flex-shrink: 0; }
.ai-output-text { display: flex; flex-direction: column; gap: 2px; }
.ai-output-title { font-size: 15px; font-weight: 600; color: #333; }
.ai-output-desc { font-size: 12px; color: #888; }
.ai-output-card:has(input:checked) .ai-output-title { color: #1a5276; }
.ai-result { margin-top: 25px; padding: 20px; background: #f8f9fa; border-radius: 8px; border: 1px solid #e0e0e0; }
.hvac-form-tip { margin-top: 20px; padding: 15px 20px; background: #fff7e6; border-radius: 6px; border-left: 4px solid #f0ad4e; font-size: 13px; color: #8a6d3b; line-height: 1.6; }

/* AI方案页 - 方案示例 */
.hvac-examples-section { padding: 50px 0; background: #f8f9fa; }
.examples-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; }
.example-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: all 0.3s; }
.example-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.example-header { padding: 15px 20px; background: #1a5276; color: #fff; display: flex; justify-content: space-between; align-items: center; }
.example-module { font-size: 15px; font-weight: 600; }
.example-area { font-size: 13px; opacity: 0.85; }
.example-card h3 { padding: 15px 20px 5px; font-size: 16px; color: #333; }
.example-card .example-desc { padding: 0 20px 10px; font-size: 13px; color: #666; line-height: 1.6; margin: 0; }
.example-card .example-meta { padding: 10px 20px 15px; display: flex; gap: 20px; font-size: 12px; color: #999; border-top: 1px solid #f5f5f5; }
.example-card .example-meta span { display: inline-flex; align-items: center; gap: 4px; }

/* AI方案页 - FAQ */
.hvac-faq-section { padding: 50px 0; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: 8px; margin-bottom: 12px; overflow: hidden; border: 1px solid #f0f0f0; }
.faq-q { padding: 18px 25px; cursor: pointer; display: flex; align-items: center; gap: 12px; font-size: 15px; color: #333; font-weight: 500; transition: background 0.2s; }
.faq-q:hover { background: #f8f9fa; }
.faq-q.active { color: #1a5276; }
.faq-icon { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #1a5276; color: #fff; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.faq-a { padding: 0 25px 18px 65px; font-size: 14px; color: #666; line-height: 1.7; }
.faq-a .faq-icon { background: #2980b9; }

/* 首页AI方案生成栏 */
.ai-gen-hero { background: linear-gradient(135deg, #1a5276, #2980b9); color: #fff; padding: 28px 0; margin-bottom: 0; transition: background 0.3s; }
.ai-gen-hero h1 { margin: 0 0 6px; font-size: 24px; }
.ai-gen-hero p { margin: 0; opacity: 0.9; font-size: 14px; }
.ai-gen-section { padding: 30px 0 50px; background: #f5f7fa; }
.ai-gen-form { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); max-width: 900px; margin: 0 auto; }
.gen-section { margin-bottom: 20px; }
.gen-section-title { font-size: 16px; color: #1a5276; margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.gen-step { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; background: #1a5276; color: #fff; border-radius: 50%; font-size: 12px; font-weight: 700; }
.gen-select-row { display: flex; gap: 10px; align-items: center; }
.gen-select { flex: 1; padding: 10px 14px; border: 2px solid #e8e8e8; border-radius: 8px; font-size: 15px; background: #fff; cursor: pointer; }
.gen-select:focus { border-color: #2980b9; outline: none; }
.gen-custom-input { width: 260px; padding: 10px 14px; border: 2px solid #e8e8e8; border-radius: 8px; font-size: 14px; color: #555; }
.gen-custom-input:focus { border-color: #2980b9; outline: none; }
.gen-input-row { display: flex; align-items: center; gap: 8px; }
.gen-num-input { width: 200px; padding: 8px 12px; border: 2px solid #e8e8e8; border-radius: 8px; font-size: 15px; }
.gen-num-input:focus { border-color: #2980b9; outline: none; }
.gen-unit { font-size: 14px; color: #888; }
.gen-textarea-large { width: 100%; padding: 12px 14px; border: 2px solid #e8e8e8; border-radius: 8px; font-size: 14px; resize: vertical; box-sizing: border-box; line-height: 1.6; }
.gen-textarea-large:focus { border-color: #2980b9; outline: none; }
.gen-upload-area { border: 2px dashed #ccc; border-radius: 10px; padding: 20px; text-align: center; cursor: pointer; transition: all 0.2s; }
.gen-upload-area:hover { border-color: #2980b9; background: #f8fbfd; }
.upload-placeholder { color: #888; margin: 0; }
.upload-icon { font-size: 36px; display: block; margin-bottom: 8px; }
.upload-hint { font-size: 12px; color: #aaa; margin: 4px 0 0; }
.gen-export-row { display: flex; gap: 8px; align-items: center; }
.gen-export-input { flex: 1; padding: 10px 14px; border: 2px solid #e8e8e8; border-radius: 8px; font-size: 14px; color: #333; }
.gen-export-input:focus { border-color: #2980b9; outline: none; }
.gen-export-btn { padding: 10px 18px; background: #f0f0f0; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; cursor: pointer; white-space: nowrap; }
.gen-export-btn:hover { background: #e8e8e8; }
.gen-output-row { display: flex; gap: 12px; }
.gen-output-chk { display: flex; align-items: center; gap: 8px; padding: 12px 20px; border: 2px solid #e8e8e8; border-radius: 10px; cursor: pointer; background: #fff; flex: 1; justify-content: center; transition: all 0.2s; }
.gen-output-chk:hover { border-color: #2980b9; background: #f8fbfd; }
.gen-output-chk.checked { border-color: #1a5276; background: #eef6fc; }
.gen-output-chk input { display: none; }
.chk-box { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border: 2px solid #ccc; border-radius: 4px; font-size: 14px; color: transparent; flex-shrink: 0; }
.gen-output-chk.checked .chk-box { background: #1a5276; border-color: #1a5276; color: #fff; }
.output-card-icon { font-size: 24px; flex-shrink: 0; }
.output-card-title { font-size: 15px; font-weight: 600; color: #333; }
.output-info { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: #ddd; color: #666; font-size: 12px; cursor: help; flex-shrink: 0; }
.output-info:hover { background: #1a5276; color: #fff; }
.gen-action-bar { display: flex; gap: 12px; justify-content: center; margin-top: 24px; }
.gen-btn { padding: 12px 36px; border: none; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.gen-btn-primary { background: linear-gradient(135deg, #e74c3c, #c0392b); color: #fff; }
.gen-btn-primary:hover { opacity: 0.9; }
.gen-btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
.gen-btn-secondary { background: #f0f0f0; color: #555; }
.gen-btn-secondary:hover { background: #e0e0e0; }
.ai-gen-result { background: #fff; border-radius: 12px; padding: 24px; margin-top: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); max-width: 900px; margin-left: auto; margin-right: auto; }