/* =========================================================
   MILLMAX 静态站点样式  (css/style.css)
   单文件分区说明：
   01. 变量与重置
   02. 通用布局 / 按钮
   03. 顶部导航 Header
   04. 搜索弹层 / 移动端抽屉
   05. 首页 Hero 轮播
   06. 首页数据统计 Stats
   07. 首页关于简介 About
   08. 首页产品 Products
   09. 首页应用行业 Applications
   10. 首页新闻与案例 News & Cases
   11. 首页 FAQ / CTA
   12. 页脚 Footer
   13. 内页通用 Page Header / 面包屑 / 分页
   14. 产品详情 Product Detail
   15. 新闻/案例/应用详情正文
   16. 关于我们页
   17. 案例列表页
   18. 应用行业列表页
   19. 联系我们页
   20. FAQ 页
   21. 滚动揭示 / 回到顶部 / 响应式
   ========================================================= */

/* 01. 变量与重置 */
:root {
  --primary: #1e50d5;
  --primary-hover: #163da8;
  --secondary: #0a1128;
  --text-dark: #333333;
  --text-gray: #666666;
  --text-light: #999999;
  --bg-light: #f5f7fa;
  --white: #ffffff;
  --border: #eaeaea;
  --font-family: 'Source Han Sans CN', 'Noto Sans CJK SC', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --container-width: 1200px;
  --header-height: 80px;
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-family);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }

/* 02. 通用布局 / 按钮 */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-title { text-align: center; font-size: 32px; font-weight: bold; margin-bottom: 15px; color: var(--text-dark); }
.section-subtitle { text-align: center; font-size: 16px; color: var(--text-gray); margin-bottom: 40px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary { background-color: var(--primary); color: var(--white); }
.btn-primary:hover { background-color: var(--primary-hover); }
.btn-outline { border: 1px solid var(--white); color: var(--white); }
.btn-outline:hover { background-color: rgba(255, 255, 255, 0.1); }
.btn-outline-dark { border: 1px solid var(--border); color: var(--text-dark); }
.btn-outline-dark:hover { border-color: var(--primary); color: var(--primary); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--bg-light); }
.btn-block { width: 100%; }
.btn-round { padding: 15px 45px; font-size: 18px; border-radius: 30px; }

.chevron-inline { font-size: 12px; margin-left: 4px; }

/* 03. 顶部导航 Header */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  display: flex;
  align-items: center;
}
.header .container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.header-left { display: flex; align-items: center; gap: 40px; flex: 1; min-width: 0; }

.logo { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 900; color: var(--primary); letter-spacing: 1px; }
.logo-desc { font-size: 12px; color: var(--text-gray); font-weight: normal; border-left: 1px solid var(--border); padding-left: 10px; line-height: 1.2; }

.nav-desktop { display: flex; gap: 25px; margin-left: auto; margin-right: 40px; flex-wrap: nowrap; }
.nav-item { position: relative; padding: 28px 0; font-size: 15px; font-weight: 500; }
.nav-item > a { color: var(--text-dark); display: inline-flex; align-items: center; }
.nav-item:hover > a, .nav-item.active > a, .nav-item > a.active { color: var(--primary); }
.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 3px;
  background-color: var(--primary);
  transition: var(--transition);
}
.nav-item:hover::after, .nav-item.active::after, .nav-item:has(> a.active)::after { width: 100%; }

.header-right { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.contact-phone { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--primary); font-weight: bold; }
.icon-btn { font-size: 20px; color: var(--text-dark); display: flex; align-items: center; }
.icon-btn:hover { color: var(--primary); }

/* 语言下拉（选项留空，由 CMS 动态加载） */
.lang-dropdown { position: relative; }
.lang-toggle {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; color: var(--text-dark); font-weight: 500;
}
.lang-toggle i:first-child { font-size: 18px; }
.lang-toggle span { letter-spacing: 1px; }
.lang-menu {
  position: absolute;
  top: 100%; right: 0;
  background: var(--white);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 4px;
  overflow: hidden;
  min-width: 110px;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}
.lang-dropdown.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu li { padding: 0; }
.lang-menu a, .lang-menu .lang-empty { display: block; padding: 10px 15px; font-size: 14px; color: var(--text-gray); }
.lang-menu a:hover { background: var(--bg-light); color: var(--primary); }

.quote-btn { padding: 8px 20px; border-radius: 20px; font-size: 14px; }
.mobile-menu-btn { display: none; font-size: 24px; color: var(--text-dark); }

/* 桌面下拉菜单 */
.nav-item.has-dropdown .dropdown-menu {
  position: absolute;
  top: 100%; left: 0;
  background: var(--white);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  min-width: 200px;
  border-radius: 4px;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}
.nav-item.has-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: block; padding: 12px 20px; color: var(--text-dark); font-size: 14px; border-bottom: 1px solid var(--border); }
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { background: var(--bg-light); color: var(--primary); }

.desktop-only { display: block; }
/* 中等屏幕：导航间距自适应收缩，避免与右侧按钮挤压 */
@media (min-width: 1025px) and (max-width: 1300px) {
  .header-left { gap: 24px; }
  .nav-desktop { gap: 18px; margin-right: 24px; }
  .nav-item { font-size: 14px; }
  .header-right { gap: 14px; }
}
@media (max-width: 1024px) { .desktop-only { display: none; } }

/* 04. 搜索弹层 / 移动端抽屉 */
.search-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 150px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0s 0.3s;
}
.search-modal.open { opacity: 1; visibility: visible; transition: opacity 0.3s; }
.search-box { width: 90%; max-width: 600px; display: flex; background: var(--white); border-radius: 4px; overflow: hidden; }
.search-input { flex: 1; padding: 15px 20px; border: none; outline: none; font-size: 16px; font-family: inherit;
    min-width: 0;
}
.search-submit { padding: 0 30px; background: var(--primary); color: var(--white); font-weight: bold;
    flex-shrink: 0;
}
.search-close { position: absolute; top: 40px; right: 40px; color: var(--white); font-size: 32px; }

.mobile-nav-overlay {
  position: fixed;
  top: var(--header-height); left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background: var(--white);
  z-index: 999;
  overflow-y: auto;
  padding: 20px;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0s 0.3s;
}
.mobile-nav-overlay.open { transform: translateX(0); visibility: visible; transition: transform 0.3s ease; }
.mobile-nav-item { border-bottom: 1px solid var(--border); }
.mobile-nav-item .nav-link { display: block; padding: 15px 0; font-size: 16px; color: var(--text-dark); font-weight: 500; }
.mobile-nav-item .nav-link.active { color: var(--primary); }
.mobile-nav-header { display: flex; justify-content: space-between; align-items: center; }
.mobile-accordion-btn { color: var(--text-gray); padding: 10px; transition: transform 0.3s; }
.mobile-nav-item.expanded .mobile-accordion-btn i { transform: rotate(180deg); }
.mobile-sub-menu { background: var(--bg-light); padding: 0 15px; border-radius: 4px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.mobile-nav-item.expanded .mobile-sub-menu { max-height: 500px; }
.mobile-sub-link { display: block; padding: 12px 0; color: var(--text-gray); font-size: 14px; border-bottom: 1px solid rgba(0,0,0,0.05); }
.mobile-sub-link:last-child { border-bottom: none; }
.mobile-sub-link:hover { color: var(--primary); }
.mobile-nav-cta { margin-top: 20px; border-bottom: none; }

/* 05. 首页 Hero 轮播 */
.hero {
  position: relative;
  height: 700px;
  margin-top: var(--header-height);
  background-color: var(--secondary);
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-slides { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.slide {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.slide.active { opacity: 0.4; }
.hero .container { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; width: 100%; }
.hero-content { max-width: 800px; }
.hero-title {
  font-size: 48px;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #fff, #b3c6ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-title span { display: block; font-size: 36px; margin-top: 10px; font-weight: 500; }
.hero-desc { font-size: 16px; color: #ccc; margin-bottom: 30px; line-height: 1.8; }
.hero-tags { display: flex; gap: 15px; margin-bottom: 40px; flex-wrap: wrap; }
.hero-tag { display: flex; align-items: center; gap: 8px; font-size: 14px; background: rgba(255,255,255,0.1); padding: 6px 12px; border-radius: 4px; border: 1px solid rgba(255,255,255,0.2); }
.hero-actions { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-indicators { position: absolute; bottom: 80px; left: 0; width: 100%; display: flex; justify-content: center; gap: 10px; z-index: 10; }
.hero-indicators .indicator { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.3); padding: 0; transition: all 0.3s ease; }
.hero-indicators .indicator.active { background: var(--primary); width: 30px; border-radius: 5px; }
/* Hero 文案随轮播切换：标题/描述与按钮跟随图片，标签区固定不变 */
.hero-text-slide { display: none; }
.hero-text-slide.active { display: block; animation: heroTextFade 0.6s ease both; }
.hero-action-slide { display: none; }
.hero-action-slide.active { display: flex; animation: heroTextFade 0.6s ease both; }
@keyframes heroTextFade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 06. 首页数据统计 Stats */
.stats {
  background: var(--white);
  margin-top: -50px;
  position: relative;
  z-index: 10;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  padding: 40px 0;
}
.stats .container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; }
.stat-item { text-align: center; }
.stat-icon { color: var(--primary); margin-bottom: 10px; font-size: 40px; }
.stat-num { font-size: 32px; font-weight: bold; color: var(--text-dark); margin-bottom: 5px; }
.stat-txt { font-size: 14px; color: var(--text-gray); }

/* 07. 首页关于简介 About */
.about { background: var(--bg-light); }
.about-grid { display: flex; gap: 60px; align-items: center; }
.about-image { flex: 1; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.about-image img { width: 100%; transition: transform 0.5s; }
.about-image:hover img { transform: scale(1.05); }
.about-content { flex: 1; }
.about-title { font-size: 14px; color: var(--primary); font-weight: bold; margin-bottom: 10px; }
.about-subtitle { font-size: 32px; font-weight: bold; margin-bottom: 20px; color: var(--text-dark); }
.about-desc { color: var(--text-gray); margin-bottom: 30px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 30px; }
.feature-item { display: flex; align-items: flex-start; gap: 15px; }
.feature-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; color: var(--primary); background: rgba(30, 80, 213, 0.1); border-radius: 50%; font-size: 24px; }
.feature-text h4 { font-size: 16px; margin-bottom: 5px; }
.feature-text p { font-size: 12px; color: var(--text-gray); }

/* 08. 首页产品 Products */
.products-layout { display: flex; gap: 30px; }
.products-sidebar { width: 250px; flex-shrink: 0; }
.product-category {
  display: block; width: 100%; text-align: left;
  padding: 15px 20px; background: var(--bg-light);
  margin-bottom: 5px; border-radius: 4px;
  font-size: 15px; font-weight: 500; transition: var(--transition);
  border: none; cursor: pointer;
}
.product-category.active, .product-category:hover { background: var(--primary); color: var(--white); }

.products-grid { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: box-shadow 0.3s, transform 0.3s; min-width: 0; }
.product-card:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.08); transform: translateY(-5px); }
.product-card .product-img { width: 100%; object-fit: cover; }
.product-info, .product-txt { padding: 10px 5px; text-align: center; }
.product-info h3, .product-txt h3 { font-size: 16px; margin-bottom: 3px; }
.product-info p, .product-txt p { font-size: 14px; color: var(--text-gray); margin-bottom: 3px; }
.product-title { font-size: 18px; margin-bottom: 10px; word-break: break-word; }
.product-desc { font-size: 14px; color: var(--text-gray); margin-bottom: 15px; word-break: break-word; }
.product-link { color: var(--primary); font-size: 14px; font-weight: 500; }
.products-bottom { text-align: center; margin-top: 40px; }

/* 09. 首页应用行业 Applications（背景图由 data-bg 注入） */
.applications { background: var(--secondary); position: relative; color: var(--white); overflow: hidden; }
.applications::before {
  content: '';
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(10, 17, 40, 0.85);
  z-index: 0;
}
.applications .container { position: relative; z-index: 1; }
.applications .section-title, .applications .section-subtitle { color: var(--white); }
.app-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; margin-bottom: 40px; }
.app-card { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 1; cursor: pointer; }
.app-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.app-card:hover img { transform: scale(1.1); }
.app-overlay { position: absolute; bottom: 0; left: 0; width: 100%; background: linear-gradient(transparent, rgba(0,0,0,0.8)); padding: 20px 10px 10px; text-align: center; font-weight: bold; }
.apps-bottom { text-align: center; }

/* 10. 首页新闻与案例 News & Cases */
.news-cases { background: var(--bg-light); }
.nc-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.nc-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; padding-bottom: 15px; border-bottom: 2px solid var(--border); }
.nc-header h2 { font-size: 24px; font-weight: bold; }
.nc-more { color: var(--text-gray); font-size: 14px; }
.nc-more:hover { color: var(--primary); }
.news-item { display: flex; gap: 20px; margin-bottom: 25px; align-items: center; transition: transform 0.3s; }
.nc-list .news-item:hover { transform: translateX(5px); }
.news-img { width: 160px; height: 110px; object-fit: cover; border-radius: 4px; }
.news-info { flex: 1; }
.news-date { font-size: 12px; color: var(--text-light); margin-bottom: 5px; }
.news-title { font-size: 16px; font-weight: bold; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.news-desc { font-size: 13px; color: var(--text-gray); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 11. 首页 FAQ / CTA */
.faq-list { max-width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 15px 30px; align-items: start; }
.faq-item { background: var(--bg-light); border-radius: 4px; overflow: hidden; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; font-size: 16px; font-weight: bold; text-align: left; }
.faq-q.active { color: var(--primary); }
.faq-icon { font-size: 20px; color: var(--text-light); transition: transform 0.3s; }
.faq-q.active .faq-icon { transform: rotate(45deg); }
.faq-a { padding: 0 20px 20px; color: var(--text-gray); line-height: 1.6; display: none; }
.faq-item.open .faq-a { display: block; }

.cta { background: var(--primary); color: var(--white); text-align: center; padding: 60px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; text-align: left; }
.cta h2 { font-size: 32px; margin-bottom: 10px; }
.cta p { font-size: 16px; margin-bottom: 0; opacity: 0.9; }
.cta-actions { display: flex; gap: 20px; }
.btn-outline-soft { border-color: rgba(255,255,255,0.3); }

/* 12. 页脚 Footer */
.footer { background: #111; color: #999; padding-top: 80px; }
.footer-top { display: grid; grid-template-columns: 3fr 1fr 1fr 1fr 2fr; gap: 40px; margin-bottom: 60px; }
/* 分站页脚只有 4 栏（二维码在“联系我们”下方） */
.fz-footer-top { grid-template-columns: 3fr 1fr 1fr 2fr; }
.footer-logo { color: var(--white); font-size: 28px; font-weight: bold; margin-bottom: 10px; }
.footer-desc { font-size: 14px; margin-bottom: 20px; }
.social-links { display: flex; gap: 15px; }
.social-icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: var(--white); }
.social-icon:hover { background: var(--primary); }
.footer-title { color: var(--white); font-size: 16px; font-weight: bold; margin-bottom: 20px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a:hover { color: var(--white); }
.footer-contact li { margin-bottom: 15px; display: flex; align-items: flex-start; gap: 10px; }
.footer-contact i { color: var(--primary); margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; display: flex; justify-content: space-between; font-size: 13px; }
/* 友情链接 / 备案号 / 技术支持 */
.footer-friendlinks { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 13px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-friendlinks-label { color: #999; }
.footer-friendlinks a { color: #999; }
.footer-friendlinks a:hover { color: var(--white); }
.footer-beian { margin-top: 6px; color: #777; }
.footer-beian a { color: #999; }
.footer-beian a:hover { color: var(--white); }
.footer-sep { margin: 0 8px; opacity: 0.5; }
.footer-qrs { display: flex; gap: 20px; margin-top: 25px; }
.qr-item { text-align: center; }
.qr-item img { width: 80px; height: 80px; background: var(--white); padding: 5px; border-radius: 4px; }
.qr-item span { display: block; font-size: 12px; margin-top: 8px; color: #999; }

/* 13. 内页通用 Page Header / 面包屑 / 分页 */
.page-wrapper { padding-top: 80px; }
.page-header {
  position: relative;
  background: var(--primary);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
}
.page-header.has-bg::before {
  content: '';
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(rgba(17,24,39,0.38), rgba(17,24,39,0.58));
  z-index: 0;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { font-size: 36px; margin-bottom: 15px; }
.page-header p { font-size: 16px; opacity: 0.9; }

.detail-wrapper { padding: 60px 0; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-gray); margin-bottom: 30px; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-dark); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--text-light); font-size: 12px; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 50px; flex-wrap: wrap; }
.page-btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 4px; background: var(--white); color: var(--text-dark); cursor: pointer; transition: all 0.3s; }
.page-btn:hover, .page-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); }
.page-dots { color: var(--text-gray); }

/* 系统分页 ul.pagination > li > a 适配 */
ul.pagination { list-style: none; padding: 0; }
ul.pagination li { list-style: none; }
ul.pagination li a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--white);
    color: var(--text-dark);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}
ul.pagination li a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
ul.pagination li.active a {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
ul.pagination li:first-child a {
    cursor: default;
    background: #f5f7fa;
    color: #888;
    border-color: transparent;
}
ul.pagination li:first-child a:hover {
    background: #f5f7fa;
    color: #888;
    border-color: transparent;
}

.category-tabs { display: flex; justify-content: center; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.category-tab { padding: 10px 25px; border-radius: 30px; background: var(--bg-light); color: var(--text-gray); cursor: pointer; transition: all 0.3s; font-size: 15px; }
.category-tab:hover, .category-tab.active { background: var(--primary); color: var(--white); }

/* 13-2. 新闻列表页 News List Page */
.news-page-list { display: flex; flex-direction: column; gap: 20px; }
.news-page-item {
  display: flex;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.news-page-item:hover { transform: translateY(-2px); box-shadow: 0 5px 20px rgba(0,0,0,0.08); }
.news-page-item img { width: 200px; height: 140px; object-fit: cover; flex-shrink: 0; }
.news-page-item .news-info { flex: 1; padding: 16px 20px 16px 0; }

/* 14. 产品详情 Product Detail */
.product-detail-top { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-bottom: 60px; }
.product-detail-img img.main-img { width: 100%; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); margin-bottom: 15px; }
.product-thumbs { display: flex; gap: 15px; }
.product-thumb { flex: 1; cursor: pointer; border: 2px solid transparent; border-radius: 8px; overflow: hidden; }
.product-thumb.active { border-color: var(--primary); }
.product-thumb img { width: 100%; height: 80px; object-fit: cover; display: block; }
.product-detail-info h1 { font-size: 32px; margin-bottom: 20px; }
.product-detail-desc { color: var(--text-gray); line-height: 1.8; margin-bottom: 30px; }
.product-params { background: var(--bg-light); padding: 20px; border-radius: 8px; margin-bottom: 30px; }
.param-item { display: flex; margin-bottom: 10px; border-bottom: 1px dashed rgba(0,0,0,0.1); padding-bottom: 10px; }
.param-item:last-child { margin-bottom: 0; border-bottom: none; padding-bottom: 0; }
.param-label { width: 120px; color: var(--text-gray); }
.param-value { font-weight: 500; }
.detail-actions { display: flex; gap: 20px; flex-wrap: wrap; }

.product-tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 30px; flex-wrap: wrap; }
.product-tab { padding: 15px 30px; cursor: pointer; font-size: 16px; font-weight: 500; color: var(--text-gray); position: relative; }
.product-tab.active { color: var(--primary); }
.product-tab.active::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px; background: var(--primary); }
.product-tab-content { line-height: 1.8; color: var(--text-gray); }
.product-tab-pane { display: none; }
.product-tab-pane.active { display: block; }
.product-tab-content p { margin-bottom: 15px; }
.product-tab-content img { width: 100%; border-radius: 8px; margin-top: 30px; }
.spec-table { width: 100%; border-collapse: collapse; text-align: left; }
.spec-table th, .spec-table td { padding: 15px; border: 1px solid var(--border); }
.spec-table thead th { background: var(--bg-light); }
.feature-list { padding-left: 20px; }
.feature-list li { margin-bottom: 15px; list-style: disc; }

/* 15. 新闻/案例/应用详情正文 */
.news-detail-header { text-align: center; margin-bottom: 40px; padding-bottom: 30px; border-bottom: 1px solid var(--border); }
.news-detail-header h1 { font-size: 32px; margin-bottom: 20px; }
.news-meta { display: flex; justify-content: center; gap: 20px; color: var(--text-light); font-size: 14px; flex-wrap: wrap; }
.news-meta span { display: flex; align-items: center; gap: 5px; }
.news-content { line-height: 1.8; color: var(--text-dark); font-size: 16px; }
.news-content h3 { font-size: 24px; margin-bottom: 15px; color: var(--primary); }
.news-content h3.with-mt { margin-top: 40px; }
.news-content p { margin-bottom: 15px; }
.news-content img { max-width: 100%; border-radius: 8px; margin: 20px 0; }
.news-content ul { padding-left: 20px; margin-bottom: 30px; }
.news-content li { margin-bottom: 10px; list-style: disc; }

/* 详情页 上一篇/下一篇 */
.detail-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.detail-nav-prev,
.detail-nav-next {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dark);
  font-size: 14px;
  text-decoration: none;
  transition: color .25s ease;
  max-width: 48%;
}
.detail-nav-prev:hover,
.detail-nav-next:hover { color: var(--primary); }
.detail-nav-prev.disabled,
.detail-nav-next.disabled { color: var(--text-light); pointer-events: none; }
.detail-nav-next { margin-left: auto; text-align: right; }
.news-summary-box { margin-top: 40px; padding: 20px; background: var(--bg-light); border-radius: 8px; }
.detail-img-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 30px 0; }
.detail-img-grid img { width: 100%; border-radius: 8px; margin: 0; }
.highlight-box { background: var(--bg-light); padding: 30px; border-radius: 12px; }
.highlight-box p { margin-bottom: 15px; }
.highlight-box p:last-child { margin-bottom: 0; }
.solution-box { background: var(--bg-light); padding: 30px; border-radius: 12px; margin-top: 20px; }
.solution-box h4 { font-size: 18px; margin-bottom: 10px; margin-top: 20px; }
.solution-box h4:first-of-type { margin-top: 0; }
.solution-box p { margin-bottom: 15px; }
.solution-box p:last-child { margin-bottom: 0; }
.tag-pills { display: flex; gap: 15px; flex-wrap: wrap; margin-bottom: 40px; }
.tag-pill { padding: 8px 20px; background: var(--primary); color: var(--white); border-radius: 30px; }
.news-nav { display: flex; justify-content: space-between; margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--border); gap: 20px; }
.news-nav-link { display: block; color: var(--text-gray); font-size: 15px; transition: color 0.3s; }
.news-nav-link:hover { color: var(--primary); }
.news-nav-link span { display: block; color: var(--text-dark); font-weight: bold; margin-top: 5px; }

/* 16. 关于我们页 */
.page-content { padding: 80px 0; }
.about-profile { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 100px; }
.about-profile-text h2 { font-size: 32px; margin-bottom: 20px; color: var(--text-dark); }
.about-divider { width: 60px; height: 4px; background: var(--primary); margin-bottom: 30px; }
.about-profile-text p { color: var(--text-gray); line-height: 1.8; margin-bottom: 20px; font-size: 16px; }
.about-profile-img img { width: 100%; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.section-heading-center { text-align: center; margin-bottom: 60px; }
.section-heading-center h2 { font-size: 36px; color: var(--text-dark); margin-bottom: 15px; }
.section-heading-center .about-divider { margin: 0 auto; }
.culture-section { margin-bottom: 120px; }
.culture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.culture-card { padding: 50px 40px; background: #ffffff; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.05); position: relative; overflow: hidden; text-align: center; }
.culture-top-line { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--primary); opacity: 0.8; }
.culture-icon { width: 80px; height: 80px; border-radius: 50%; background: rgba(25, 99, 219, 0.08); color: var(--primary); display: flex; align-items: center; justify-content: center; margin: 0 auto 25px; font-size: 36px; }
.culture-card h3 { font-size: 24px; margin-bottom: 15px; color: var(--text-dark); font-weight: 600; }
.culture-card p { color: var(--text-gray); line-height: 1.7; font-size: 16px; margin: 0; }
.history-title { font-size: 32px; margin-bottom: 50px; text-align: center; }
.history-line-wrap { position: relative; max-width: 800px; margin: 0 auto; }
.history-line-wrap::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--border); transform: translateX(-50%); }
.history-item { display: flex; margin-bottom: 40px; position: relative; }
.history-item.left { justify-content: flex-start; }
.history-item.right { justify-content: flex-end; }
.history-card { width: 45%; }
.history-item.left .history-card { text-align: right; padding-right: 40px; }
.history-item.right .history-card { text-align: left; padding-left: 40px; }
.history-year { font-size: 28px; font-weight: bold; color: var(--primary); margin-bottom: 10px; }
.history-card h4 { font-size: 18px; margin-bottom: 10px; }
.history-card p { color: var(--text-gray); font-size: 14px; line-height: 1.6; }
.history-dot { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); width: 16px; height: 16px; border-radius: 50%; background: var(--primary); border: 4px solid var(--white); box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2); }

/* 17. 案例列表页 */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.case-card { border-radius: 8px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.05); background: var(--white); display: flex; flex-direction: column; }
.case-card-img { height: 220px; overflow: hidden; }
.case-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.case-card:hover .case-card-img img { transform: scale(1.05); }
.case-card-body { padding: 25px; flex: 1; display: flex; flex-direction: column; }
.case-card-title { font-size: 18px; margin-bottom: 15px; }
.case-card-desc { color: var(--text-gray); font-size: 14px; line-height: 1.6; flex: 1; }
.case-card-link { margin-top: 20px; border-top: 1px solid var(--border); padding-top: 15px; }
.case-card-link a { color: var(--primary); font-size: 14px; display: flex; align-items: center; gap: 5px; font-weight: 500; }

/* 18. 应用行业列表页 */
.app-list { display: flex; flex-direction: column; gap: 60px; }
.app-row { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 5px 30px rgba(0,0,0,0.03); }
.app-row.reverse .app-row-img { order: 2; }
.app-row.reverse .app-row-body { order: 1; }
.app-row-img { height: 400px; }
.app-row-img img { width: 100%; height: 100%; object-fit: cover; }
.app-row-body { padding: 40px 50px; }
.app-row-body h2 { font-size: 28px; margin-bottom: 20px; color: var(--text-dark); }
.app-row-line { width: 50px; height: 3px; background: var(--primary); margin-bottom: 25px; }
.app-row-desc { color: var(--text-gray); font-size: 16px; line-height: 1.8; margin-bottom: 30px; }
.related-title { font-size: 15px; color: var(--text-dark); margin-bottom: 15px; }
.related-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.related-tag { padding: 6px 15px; background: var(--bg-light); color: var(--primary); border-radius: 4px; font-size: 13px; border: 1px solid rgba(37, 99, 235, 0.1); }
.app-row-cta { margin-top: 30px; }

/* 19. 联系我们页 */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }

/* 地图 */
.contact-map-box { margin-top: 50px; height: 400px; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.08); }
.contact-map-box #map, .contact-map-box .map-container { width: 100%; height: 100%; }
.amap-info-custom { padding: 10px; min-width: 200px; }
.amap-info-custom h4 { color: #333; margin: 0 0 8px 0; font-size: 16px; }
.amap-info-custom p { margin: 4px 0; color: #666; }
.contact-info-list { display: flex; flex-direction: column; gap: 25px; }
.contact-item { display: flex; align-items: flex-start; gap: 15px; }
.contact-icon-circle { width: 45px; height: 45px; border-radius: 50%; background: rgba(37, 99, 235, 0.1); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 20px; }
.contact-item h3 { font-size: 16px; margin-bottom: 5px; }
.contact-item p { color: var(--text-gray); line-height: 1.6; }
.contact-form { background: var(--white); padding: 40px; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.contact-form h2 { font-size: 24px; margin-bottom: 25px; }
.contact-form form { display: flex; flex-direction: column; gap: 20px; }
.form-input { width: 100%; padding: 12px 15px; border: 1px solid var(--border); border-radius: 4px; outline: none; font-family: inherit; font-size: 14px; }
.form-input:focus { border-color: var(--primary); }
.form-textarea { resize: vertical; min-height: 120px; }
.contact-title { font-size: 28px; margin-bottom: 30px; color: var(--text-dark); }
.contact-qrs { margin-top: 40px; }

/* 20. FAQ 页 */
.faq-page-list { display: flex; flex-direction: column; gap: 20px; }
.faq-page-item { background: var(--white); border-radius: 8px; border: 1px solid rgba(0,0,0,0.05); box-shadow: 0 2px 10px rgba(0,0,0,0.02); overflow: hidden; }
.faq-page-q { padding: 25px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; background: var(--white); transition: background 0.3s; gap: 15px; }
.faq-page-q.active { background: var(--bg-light); }
.faq-page-q h3 { font-size: 18px; color: var(--text-dark); font-weight: 500; margin: 0; flex: 1; }
.faq-page-q.active h3 { color: var(--primary); }
.faq-page-icon { color: var(--text-gray); font-size: 20px; transition: transform 0.3s; }
.faq-page-q.active .faq-page-icon { color: var(--primary); transform: rotate(45deg); }
.faq-page-a { display: none; padding: 0 25px 25px; color: var(--text-gray); line-height: 1.8; }
.faq-page-item.open .faq-page-a { display: block; }
.faq-a-inner { border-top: 1px dashed rgba(0,0,0,0.1); padding-top: 20px; }
.faq-read-more { margin-top: 15px; }
.faq-read-more a { color: var(--primary); display: inline-flex; align-items: center; gap: 5px; font-weight: 500; }
.faq-contact-box { margin-top: 100px; padding: 60px 40px; background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%); border-radius: 16px; border: 1px solid rgba(0,0,0,0.05); text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.02); }
.faq-contact-icon { width: 80px; height: 80px; border-radius: 50%; background: rgba(25, 99, 219, 0.1); color: var(--primary); display: flex; align-items: center; justify-content: center; margin: 0 auto 25px; font-size: 40px; }
.faq-contact-box h3 { font-size: 28px; margin-bottom: 15px; color: var(--text-dark); }
.faq-contact-box p { color: var(--text-gray); margin: 0 auto 30px; font-size: 18px; max-width: 600px; line-height: 1.6; }

/* 21. 滚动揭示 / 右侧悬浮工具 / 移动端底栏 */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* 右侧悬浮工具 */
.side-tools { position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 900; display: flex; flex-direction: column; gap: 10px; }
.side-tool { position: relative; }
.side-tool-btn {
  width: 48px; height: 48px; border-radius: 8px;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.side-tool-btn:hover { background: var(--primary-hover); }
.side-tool-panel {
  position: absolute; right: calc(100% + 12px); top: 50%;
  transform: translateY(-50%) translateX(8px);
  min-width: 150px; padding: 14px 18px;
  background: var(--white); border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  text-align: center; white-space: nowrap;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
}
.side-tool:hover .side-tool-panel,
.side-tool:focus-within .side-tool-panel { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }
.panel-title { font-size: 13px; color: var(--text-light); margin-bottom: 6px; }
.panel-phone { font-size: 16px; font-weight: bold; color: var(--primary); }
.side-tool-qr .panel-title { margin-bottom: 10px; }
.side-tool-qr img { width: 160px; height: 160px; object-fit: contain; margin: 0 auto; }
.panel-tip { font-size: 13px; color: var(--text-light); }
.side-tool-top { opacity: 0; visibility: hidden; }
.side-tool-top.visible { opacity: 1; visibility: visible; }

/* 移动端底部导航 */
.mobile-bottom-bar { display: none; }
.wechat-modal {
  position: fixed; inset: 0; z-index: 2100;
  background: rgba(0,0,0,0.65);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: var(--transition);
}
.wechat-modal.open { opacity: 1; visibility: visible; }
.wechat-modal-card { background: var(--white); border-radius: 10px; padding: 24px; text-align: center; }
.wechat-modal-title { font-size: 16px; font-weight: bold; margin-bottom: 14px; }
.wechat-modal-card img { width: 240px; height: 240px; object-fit: contain; margin: 0 auto 14px; }
.wechat-modal-close { padding: 8px 28px; border-radius: 20px; background: var(--primary); color: var(--white); font-size: 14px; }

/* 响应式 */
@media (max-width: 1200px) { .products-grid { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 1024px) {
  .hero-content { max-width: 60%; }
  .about-grid { flex-direction: column; }
  .products-layout { flex-direction: column; }
  .products-sidebar { width: 100%; display: flex; flex-wrap: wrap; gap: 10px; }
  .product-category { width: auto; flex: 1; min-width: 120px; text-align: center; }
  .products-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .app-grid { grid-template-columns: repeat(3, 1fr); }
  .nc-layout { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .about-profile { grid-template-columns: 1fr; }
  .culture-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .app-row { grid-template-columns: 1fr; }
  .app-row.reverse .app-row-img { order: 0; }
  .app-row.reverse .app-row-body { order: 0; }
  .app-row-img { height: 300px; }
  .product-detail-top { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 768px) {
  .nav-desktop, .contact-phone { display: none; }
  .mobile-menu-btn { display: block; }
  .hero { height: auto; padding: 100px 0 60px; flex-direction: column; }
  .hero .container { flex-direction: column; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-tags { justify-content: center; flex-wrap: wrap; }
  .hero-actions { justify-content: center; }
  .stats .container { flex-wrap: wrap; gap: 30px; }
  .stat-item { width: 45%; }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
  .news-item { flex-direction: column; }
  .news-img { width: 100%; height: 200px; }
  .news-page-item { flex-direction: column; }
  .news-page-item img { width: 100%; height: 180px; }
  .news-page-item .news-info { padding: 16px; }
  .faq-list { grid-template-columns: 1fr !important; }
  .cta-inner { flex-direction: column; text-align: center; gap: 30px; }
  .cases-grid { grid-template-columns: 1fr; }
  .detail-img-grid { grid-template-columns: 1fr; }
  .history-card { width: 100% !important; text-align: left !important; padding: 0 0 0 30px !important; }
  .history-line-wrap::before { left: 8px; transform: none; }
  .history-dot { left: 8px !important; transform: none !important; }
  .history-item.left, .history-item.right { justify-content: flex-start; }
  .history-item.left .history-card { text-align: left; }
  /* 手机端：隐藏右侧悬浮工具，启用底部固定横栏 */
  .side-tools { display: none; }
  .mobile-bottom-bar {
    display: flex;
    position: fixed; left: 0; right: 0; bottom: 0;
    height: 58px;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.06);
    z-index: 950;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar-item {
    flex: 1;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2px;
    font-size: 12px; color: var(--text-gray);
    background: none; border: none; padding: 0;
  }
  .mobile-bar-item i { font-size: 18px; }
  .mobile-bar-item:active, .mobile-bar-item:hover { color: var(--primary); }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .wechat-modal-card { width: 82%; max-width: 320px; }
  .wechat-modal-card img { width: 100%; height: auto; max-width: 240px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 32px; }
  .hero-title span { font-size: 24px; }
  .stat-item { width: 100%; }
  .app-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr !important; }
  .page-header { padding: 60px 0; }
  .page-header h1 { font-size: 28px; }
}

/* Logo image height constraint */
.logo-area img, .logo img, .footer-logo img {
    max-height: 56px;
    height: auto;
    width: auto;
    object-fit: contain;
}

/* 404 Page */
.error-page {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0e27;
  overflow: hidden;
}
.error-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30,80,213,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,80,213,0.08) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
}
@keyframes gridMove {
  from { transform: translate(0, 0); }
  to { transform: translate(50px, 50px); }
}
.error-content { position: relative; z-index: 2; text-align: center; padding: 20px; }
.error-code { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 20px; }
.error-digit {
  font-size: 120px;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 2px rgba(30,80,213,0.8);
  line-height: 1;
  animation: digitFloat 3s ease-in-out infinite;
}
.error-digit:nth-child(1) { animation-delay: 0s; }
.error-digit:nth-child(3) { animation-delay: 0.6s; }
.error-digit-zero {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(30,80,213,0.8);
  border-radius: 50%;
  -webkit-text-stroke: 0;
}
.error-gear-icon { font-size: 50px; color: rgba(30,80,213,0.9); animation: gearSpin 4s linear infinite; }
@keyframes gearSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes digitFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
.error-title { font-size: 28px; color: #fff; font-weight: 700; margin-bottom: 12px; }
.error-desc { font-size: 15px; color: #8899aa; margin-bottom: 30px; max-width: 400px; margin-left: auto; margin-right: auto; }
.error-actions { display: flex; gap: 16px; justify-content: center; margin-bottom: 30px; flex-wrap: wrap; }
.error-btn {
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}
.error-btn-primary { background: #1e50d5; color: #fff; }
.error-btn-primary:hover { background: #163da8; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(30,80,213,0.4); }
.error-btn-outline { border: 1px solid rgba(255,255,255,0.3); color: #fff; }
.error-btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.error-search { max-width: 400px; margin: 0 auto; }
.error-search form { display: flex; gap: 10px; }
.error-search input {
  flex: 1;
  padding: 12px 20px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
}
.error-search input::placeholder { color: #667788; }
.error-search input:focus { border-color: rgba(30,80,213,0.8); }
.error-search button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: #1e50d5;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.error-search button:hover { background: #163da8; }
@media (max-width: 768px) {
  .error-digit { font-size: 80px; }
  .error-digit-zero { width: 80px; height: 80px; }
  .error-gear-icon { font-size: 34px; }
  .error-title { font-size: 22px; }
}

/* 分站模板补充 */
.fz-search-form { display: flex; gap: 10px; max-width: 640px; margin: 0 auto 40px; }
.fz-search-form .form-input { flex: 1; }
.fz-site-links { display: flex; flex-wrap: wrap; gap: 10px; }
.fz-cat-block { margin-bottom: 60px; }
