/* ========== 基础重置 ========== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Alibaba PuHuiTi 2.0", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #000;
  background: #fff;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* ========== 头部 ========== */
.headcontent {
  display: flex;
  justify-content: center;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(3px);
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 99;
  height: 60px;
}
.head-center {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1300px;
  padding: 0 20px;
  height: 100%;
}
.head-logo-link { display: flex; align-items: center; height: 100%; }
.head-logo { width: auto; height: 30px; }
@media (min-width: 768px) { .head-logo { height: 46px; width: 231px; } }

.desktop-nav { display: none; align-items: center; }
@media (min-width: 768px) { .desktop-nav { display: flex; } }

.tag_list { display: flex; gap: 20px; margin-right: 30px; }
@media (min-width: 992px) { .tag_list { gap: 40px; margin-right: 56px; } }

.nav-link {
  color: #fff;
  font-size: 14px;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease;
}
.nav-link:hover, .nav-link.active { color: #FF6100; }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: #FF6100;
}
.service-hotline { color: #fff; font-size: 14px; white-space: nowrap; }

/* 移动端菜单按钮 */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px; height: 40px;
  background: transparent; border: none;
  cursor: pointer;
}
@media (min-width: 768px) { .mobile-menu-btn { display: none; } }

.menu-icon {
  position: relative;
  width: 24px; height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}
.menu-icon::before, .menu-icon::after {
  content: '';
  position: absolute;
  width: 24px; height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}
.menu-icon::before { transform: translateY(-6px); }
.menu-icon::after { transform: translateY(6px); }
.menu-icon.open { background: transparent; }
.menu-icon.open::before { transform: rotate(45deg); }
.menu-icon.open::after { transform: rotate(-45deg); }

/* 移动端菜单 */
.mobile-nav {
  display: none;
  position: absolute;
  top: 60px; left: 0;
  width: 100%;
  background: rgba(0,0,0,0.9);
  padding: 20px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}
.mobile-nav.open { display: block; }
@media (min-width: 768px) { .mobile-nav { display: none !important; } }

.mobile-tag_list { display: flex; flex-direction: column; gap: 15px; margin-bottom: 20px; }
.mobile-nav-link {
  color: #fff; font-size: 16px;
  padding: 10px 0; display: block;
  transition: color 0.3s;
}
.mobile-nav-link:hover, .mobile-nav-link.active { color: #FF6100; }
.mobile-service-hotline {
  color: #fff; font-size: 14px;
  text-align: center; padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* ========== 页脚 ========== */
.app-footer {
  background-color: #000;
  color: #fff;
  width: 100%;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 40px 20px;
  max-width: 1400px;
  margin: 0 auto;
  border-bottom: 1px solid #1E293B;
}
@media (min-width: 992px) {
  .footer-top { padding: 80px 40px 40px; flex-wrap: nowrap; }
}
.footer-columns-group { display: flex; width: 100%; }
@media (min-width: 768px) { .footer-columns-group .footer-column { width: 50%; } }
@media (min-width: 992px) {
  .footer-columns-group { width: auto; flex: 2; }
  .footer-columns-group .footer-column { width: auto; flex: 1; }
}
.footer-column { width: 100%; margin-bottom: 30px; }
.footer-column.company-info { }
@media (min-width: 992px) { .footer-column.company-info { flex: 1.5; } }
.footer-column.qrcode-column { text-align: center; }
@media (min-width: 992px) { .footer-column.qrcode-column { flex: 1; } }

.company-logo { display: flex; align-items: center; margin-bottom: 25px; }
.company-logo img { width: 40px; height: 40px; margin-right: 16px; }
.company-logo span { font-size: 20px; font-weight: 600; }
@media (min-width: 768px) { .company-logo span { font-size: 24px; } }

.contact-item { display: flex; align-items: center; margin-bottom: 16px; }
.contact-item img { width: 40px; height: 40px; margin-right: 16px; }
.contact-details { display: flex; flex-direction: column; }
.contact-details .label { font-size: 16px; font-weight: 500; line-height: 24px; }
.contact-details .value { font-size: 14px; font-weight: 400; line-height: 24px; color: #E4E4E7; }

.column-title { font-size: 16px; font-weight: 400; margin-bottom: 20px; text-align: center; }
@media (min-width: 768px) { .column-title { margin-bottom: 30px; } }

.footer-links { }
.footer-links li { text-align: center; margin-bottom: 12px; }
@media (min-width: 768px) { .footer-links li { margin-bottom: 20px; } }
.footer-links a {
  color: #E4E4E7; font-size: 14px; font-weight: 400;
  transition: color 0.3s;
}
.footer-links a:hover { color: #FF6100; }

.qrcode { width: 120px; height: auto; margin: 10px auto 0; }
@media (min-width: 768px) { .qrcode { width: 150px; } }

.footer-bottom { padding: 20px; text-align: center; color: #999; font-size: 14px; }

/* ========== 分页 ========== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.pagination-btn {
  border: 1px solid #d1d5db;
  background: white;
  color: #4b5563;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
}
.pagination-btn:hover:not(:disabled) { border-color: #FF6100; color: #FF6100; }
.pagination-btn.active { background: #FF6100; color: white; border-color: #FF6100; }
.pagination-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ========== 小横幅 ========== */
.minibanner {
  width: 100%;
  height: 180px;
}
@media (min-width: 768px) { .minibanner { height: 460px; } }
.minibanner img { width: 100%; height: 100%; object-fit: cover; }

/* ========== 通用中心内容 ========== */
.center { padding: 40px 20px; }
@media (min-width: 768px) { .center { padding: 80px 40px 140px; } }
.center_content { width: 100%; max-width: 1400px; margin: 0 auto; }

/* ========== 分类标签 ========== */
.btn_list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  overflow-x: auto;
  padding-bottom: 8px;
}
@media (min-width: 768px) { .btn_list { gap: 32px; padding-bottom: 0; } }
.btn_list span {
  cursor: pointer;
  padding: 6px 16px;
  color: rgba(0,0,0,0.9);
  font-size: 14px;
  font-weight: 400;
  border-radius: 4px;
  white-space: nowrap;
  transition: all 0.3s;
}
@media (min-width: 768px) { .btn_list span { padding: 8px 32px; font-size: 20px; } }
.btn_list span.active, .btn_list span:hover { background: #FF6100; color: #FFF; }

/* ========== 加载/错误状态 ========== */
.loading-state, .error-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  text-align: center;
  color: #999;
  font-size: 16px;
}
.spinner {
  width: 40px; height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #FF6100;
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: spin 1s linear infinite;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
