@charset "utf-8";
/* 全局重置 */
body { font-family: "PingFang SC", "Microsoft YaHei", sans-serif; background-color: #F8FAFC; color: #1E293B; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; transition: 0.3s; }
img { max-width: 100%; display: block; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 1rem; }

/* 滚动条 */
::-webkit-scrollbar { width: 6px; } 
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.scrollbar-hide::-webkit-scrollbar { display: none; }

/* Tab 切换 */
.tab-btn { position: relative; cursor: pointer; transition: all 0.3s; }
.tab-btn.active { background: linear-gradient(135deg, #E60012 0%, #FF4D4D 100%); color: white; border-color: transparent; box-shadow: 0 4px 15px rgba(230,0,18,0.3); transform: translateY(-1px); }
.tab-content { display: none; animation: fadeIn 0.4s; }
.tab-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* 弹窗系统 */
.modal-overlay { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.7); backdrop-filter: blur(4px); display: none; justify-content: center; align-items: center; }
.modal-overlay.show { display: flex; }
.modal-content { transform: scale(0.95); transition: 0.3s; }
.modal-overlay.show .modal-content { transform: scale(1); }

/* 卡片样式 */
.product-card { border: 1px solid #f1f5f9; background: white; transition: 0.3s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 10px 25px rgba(0,0,0,0.05); border-color: #fee2e2; }
.news-item { border-bottom: 1px dashed #e2e8f0; transition: 0.2s; }
.news-item:hover { padding-left: 8px; border-left: 3px solid #E60012; background: #fffbfb; }
.news-item:hover a { color: #E60012; }

/* 内容页排版 */
.article-content p { margin-bottom: 1.5em; text-align: justify; font-size: 16px; }
.article-content h2 { border-left: 4px solid #E60012; padding-left: 12px; margin: 30px 0 20px; font-size: 20px; font-weight: bold; background: linear-gradient(90deg, #fff1f2 0%, transparent 100%); line-height: 2; }
.article-content img { border-radius: 8px; margin: 20px auto; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }