/* ===== hby10sys1 公共样式 ===== */

/* 覆盖M1 header.css 的按钮颜色 */
.btn-normal {
  background: #2d77ff !important;
  color: #fff !important;
  border: 1px solid #2d77ff !important;
}

.btn-normal:hover {
  background: #1a5fe0 !important;
  border-color: #1a5fe0 !important;
  color: #fff !important;
}

/* 导航下拉菜单主题色覆盖 */
.nav-menu a:hover,
.nav-menu .nav-item:hover {
  color: #2d77ff !important;
}

.nav-about-label {
  color: #333;
}

.nav-about:hover .nav-about-label,
.nav-about.open .nav-about-label {
  color: #2d77ff;
}

.nav-products-label {
  color: #333;
}

.nav-products:hover .nav-products-label,
.nav-products.open .nav-products-label {
  color: #2d77ff;
}

.nav-arrow {
  color: #999;
  font-size: 11px;
  margin-left: 4px;
  transition: transform 0.25s ease, color 0.3s;
  display: inline-block;
  vertical-align: middle;
}

/* 修复FA5图标需要font-weight:900才能渲染 */
.nav-arrow.fa,
.nav-arrow.fas {
  font-weight: 900 !important;
}

.nav-about:hover .nav-arrow,
.nav-about.open .nav-arrow,
.nav-products:hover .nav-arrow,
.nav-products.open .nav-arrow {
  color: #2d77ff;
  transform: rotate(180deg);
}

.about-menu-item:hover {
  color: #2d77ff !important;
  background-color: #f0f5ff !important;
  border-left-color: #2d77ff !important;
}

:root {
  --primary: #2d77ff;
  --primary-light: #e8f0fe;
  --primary-dark: #0747c2;
  --secondary: #f0f7ff;
  --accent: #ff6b35;
  --accent-light: #fff4ef;
  --gradient-blue: linear-gradient(135deg, #1677ff 0%, #4f46e5 100%);
  --gradient-hero: linear-gradient(135deg, #0a1628 0%, #102a4c 40%, #1a1145 100%);
  --gradient-section: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-blue-soft: #f0f7ff;
  --border-color: #e2e8f0;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow-sm: 0 2px 8px rgba(22, 119, 255, 0.06);
  --shadow-md: 0 4px 16px rgba(22, 119, 255, 0.1);
  --shadow-lg: 0 8px 32px rgba(22, 119, 255, 0.12);
  --shadow-card: 0 4px 20px rgba(15, 23, 42, 0.06);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-family: 'MiSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 14px;
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary);
}

img {
  max-width: 100%;
  display: block;
}

.section-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== 页面加载动画 ===== */
/* 由 M1 的 common.css 提供 spinner 动画 */

/* ===== 页头样式 ===== */
/* 页头样式完全由 M1 的 header.css 提供，不做任何覆盖 */

/* ===== 下拉菜单 ===== */
/* 下拉菜单样式由 M1 的 header.css 提供 */

/* ===== 页脚样式 ===== */
footer.section {
  padding: 0 !important;
}

.footer-cta {
  background: #fff;
  padding: 40px 0;
  border-bottom: 1px solid var(--border-color);
}

.footer-cta-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-cta-text h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.footer-cta-text p {
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-cta-btn {
  display: inline-block;
  padding: 12px 32px;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.footer-cta-btn:hover {
  background: #1a5fe0;
  box-shadow: 0 4px 12px rgba(45, 119, 255, 0.25);
  color: #fff;
}

.footer-promise {
  background: var(--bg-white);
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
}

.footer-promise-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.promise-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 8px 0;
}

.promise-item i {
  color: var(--primary);
  font-size: 16px;
}

.footer-main {
  background: var(--bg-light);
  padding: 50px 0 0;
}

.footer-main-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px 40px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-nav {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  flex: 1;
}

.footer-contact {
  flex-shrink: 0;
}

.footer-qrcode {
  display: flex;
  gap: 24px;
}

.qrcode-item {
  text-align: center;
}

.qrcode-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.qrcode-item img {
  width: 110px;
  height: 110px;
  border-radius: var(--radius);
  margin: 0 auto 8px;
}

.qrcode-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  justify-content: center;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.footer-social a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.footer-social a svg {
  width: 20px;
  height: 20px;
}

.footer-links {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 20px;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
}

.footer-links a {
  color: var(--text-muted);
  margin-left: 12px;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 24px 0;
}

.footer-bottom-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-copyright-area {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-wrap: wrap;
}

.footer-copyright-line {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-records {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-records a {
  color: var(--text-muted);
}

.footer-records a:hover {
  color: var(--primary);
}

.footer-extra {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-hotline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hotline-label {
  font-size: 12px;
  color: var(--text-muted);
}

.hotline-number {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .footer-cta-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-cta-text h2 {
    font-size: 18px;
  }

  .footer-main-inner {
    flex-direction: column;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}
