/* ==========================================================================
   xr0067 - 统一样式表

   合并来源（按原 @import 顺序）：
     src/index.css

   说明：已移除 @import "tailwindcss"（本项目未使用 Tailwind 原子类）
         远程字体已改由各页面 <link> 引入，此处不再 @import
   ========================================================================== */
/* ===== source: src/index.css ===== */

:root {
  --primary-color: #1e60d0;
  --primary-hover: #154599;
  --text-main: #333333;
  --text-gray: #666666;
  --text-light: #999999;
  --bg-main: #ffffff;
  --bg-gray: #f5f7fa;
  --bg-dark: #12151c;
  --border-color: #e5e5e5;
  --transition: all 0.3s ease;
}

/* ==========================================================================
   CSS Reset & Base
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Microsoft YaHei', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul, ol {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  outline: none;
}

input {
  font-family: inherit;
  outline: none;
}

/* ==========================================================================
   Layout Helpers
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: var(--text-main);
}

.section-bg {
  background-color: var(--bg-gray);
}

/* ==========================================================================
   Animations
   ========================================================================== */
.animate-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 100;
  height: 80px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo img {
  height: 40px;
}

.nav {
  display: none;
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 30px;
  }
}

.nav-item {
  position: relative;
  height: 80px;
  display: flex;
  align-items: center;
}

.nav-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-link:hover, .nav-item.active .nav-link {
  color: var(--primary-color);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-item:hover::after, .nav-item.active::after {
  width: 100%;
}

/* Desktop Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 200px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  border-radius: 4px;
  padding: 10px 0;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 20px;
  color: var(--text-main);
  transition: var(--transition);
}

.dropdown-item:hover {
  background-color: var(--bg-gray);
  color: var(--primary-color);
}

/* Header Utilities */
.header-utils {
  display: flex;
  align-items: center;
  gap: 20px;
}

.util-btn {
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 5px;
}

.util-btn:hover {
  color: var(--primary-color);
}

.phone-contact {
  display: none;
  align-items: center;
  gap: 10px;
}

@media (min-width: 1024px) {
  .phone-contact {
    display: flex;
  }
}

.phone-contact .icon {
  color: var(--primary-color);
}

.phone-details p {
  font-size: 12px;
  color: var(--text-gray);
  line-height: 1;
  margin-bottom: 4px;
}

.phone-details strong {
  font-size: 18px;
  color: var(--primary-color);
  font-weight: 700;
  line-height: 1;
}

.mobile-toggle {
  display: block;
  font-size: 24px;
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}

/* Mobile Nav Styles */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-container {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background: #fff;
  z-index: 999;
  transition: transform 0.4s ease;
  overflow-y: auto;
  padding: 20px;
}

.mobile-nav-container.active {
  transform: translateX(-300px);
}

.mobile-nav-close {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.mobile-nav-item {
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  font-weight: 500;
  width: 100%;
  text-align: left;
}

.mobile-sub-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--bg-gray);
  border-radius: 4px;
}

.mobile-sub-menu.open {
  max-height: 400px; /* arbitrary max height for accordion */
}

.mobile-sub-item {
  display: block;
  padding: 12px 20px;
  color: var(--text-gray);
}

/* Language Dropdown Select */
.lang-select-container {
  position: relative;
}
.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 4px;
  width: 120px;
  padding: 8px 0;
  display: none;
  z-index: 10;
}
.lang-select-container:hover .lang-dropdown {
  display: block;
}
.lang-option {
  padding: 8px 16px;
  cursor: pointer;
  font-size: 14px;
}
.lang-option:hover {
  background: var(--bg-gray);
  color: var(--primary-color);
}

/* ==========================================================================
   Search Modal
   ========================================================================== */
.search-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(5px);
}

.search-modal.active {
  opacity: 1;
  visibility: visible;
}

.search-container {
  width: 90%;
  max-width: 600px;
  position: relative;
  transform: translateY(-20px);
  transition: transform 0.4s ease;
}

.search-modal.active .search-container {
  transform: translateY(0);
}

.search-input-wrapper {
  display: flex;
  background: #fff;
  border-radius: 50px;
  overflow: hidden;
  padding: 5px;
}

.search-input {
  flex: 1;
  border: none;
  padding: 15px 25px;
  font-size: 18px;
}

.search-submit {
  background: var(--primary-color);
  color: #fff;
  padding: 0 30px;
  border-radius: 40px;
  font-weight: 600;
  transition: var(--transition);
}

.search-submit:hover {
  background: var(--primary-hover);
}

.search-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  height: 600px;
  background-color: var(--bg-dark);
  color: #ffffff;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 6s linear;
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1);
}

.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(17,26,44,0.7) 0%, rgba(26,54,93,0.4) 60%, rgba(0,0,0,0) 100%);
}

.hero .container {
  position: relative;
  z-index: 10;
}

.slide-in {
  animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUpFade {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.hero-dot {
  width: 40px;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  transition: var(--transition);
}

.hero-dot:hover, .hero-dot.active {
  background: var(--primary-color);
}

@media (max-width: 768px) {
  /* 2026-09-17：.hero 定高已移至文末"高度跟随背景图比例版"统一管理 */
  .hero-bg-tools {
    opacity: 0.2;
    width: 100%;
    right: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 600px;
}

.hero-subtitle {
  font-size: 18px;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 40px;
  }
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-feature-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-feature-text h4 {
  font-size: 14px;
  font-weight: 600;
}
.hero-feature-text p {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-color);
  color: #fff;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 500;
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
}

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-gray);
  margin-bottom: 30px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.stat-item {
  background: var(--bg-gray);
  padding: 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: var(--transition);
}

.stat-item:hover {
  background: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transform: translateY(-5px);
}

.stat-icon {
  color: var(--primary-color);
}

.stat-info h3 {
  font-size: 24px;
  color: var(--primary-color);
  line-height: 1.2;
}

.stat-info p {
  font-size: 13px;
  color: var(--text-gray);
  margin: 0;
}

/* ==========================================================================
   Divisions Section
   ========================================================================== */
.divisions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 1024px) {
  .divisions-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.division-card {
  background: linear-gradient(135deg, #f0f4fa 0%, #e2ebf5 100%);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.division-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
  opacity: 0.25;
  transition: transform 0.8s ease;
}

.division-card:hover .division-bg {
  transform: scale(1.05);
}

.division-card:hover {
  box-shadow: 0 10px 25px rgba(30, 96, 208, 0.15);
  transform: translateY(-5px);
}

@media (min-width: 768px) {
  .division-card {
    flex-direction: row;
    align-items: center;
  }
}

.division-content {
  padding: 40px;
  flex: 1.2;
  z-index: 2;
}

.division-content h3 {
  font-size: 26px;
  color: #1a365d;
  margin-bottom: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.division-content p {
  color: #4a5568;
  margin-bottom: 25px;
  font-size: 13px;
  line-height: 1.8;
}

.division-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 20px 20px 0 0;
  height: 260px;
}

.division-floating-img {
  max-height: 120%;
  object-fit: contain;
  filter: drop-shadow(-10px 10px 20px rgba(0,0,0,0.1));
  transition: transform 0.5s ease;
  transform-origin: bottom right;
}

.division-card:hover .division-floating-img {
  transform: scale(1.08);
}

/* ==========================================================================
   Products Section
   ========================================================================== */
.products-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.tab-btn {
  padding: 10px 25px;
  background: var(--bg-gray);
  border-radius: 30px;
  color: var(--text-main);
  font-weight: 500;
  transition: var(--transition);
}

.tab-btn:hover, .tab-btn.active {
  background: var(--primary-color);
  color: #fff;
}

.products-slider-wrapper {
  position: relative;
  padding: 0 40px;
}

.products-container {
  overflow: hidden;
  width: 100%;
}

.products-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card-wrapper {
  box-sizing: border-box;
  flex: 0 0 20%;
  padding: 0 10px;
}

/* 响应式产品卡片宽度 */
@media (max-width: 992px) {
  .product-card-wrapper {
    flex: 0 0 33.333%;
  }
}

@media (max-width: 768px) {
  .product-card-wrapper {
    flex: 0 0 100%;
  }
}

.product-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  border-color: transparent;
  transform: translateY(-5px);
}

.product-image {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.product-image img {
  max-height: 100%;
}

.product-title {
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 15px;
}

.product-model {
  color: var(--text-light);
  font-size: 12px;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  color: var(--text-main);
  transition: var(--transition);
}

.slider-nav:not(.disabled):hover {
  background: var(--primary-color);
  color: #fff;
}

.slider-nav.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  box-shadow: none;
}

.slider-prev { left: 0; }
.slider-next { right: 0; }

/* ==========================================================================
   Applications Section
   ========================================================================== */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

@media (min-width: 768px) {
  .apps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .apps-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.app-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.app-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.app-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
}

.app-title {
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  transition: transform 0.3s ease;
}

.app-card:hover img {
  transform: scale(1.1);
}

.app-card:hover .app-title {
  transform: translateY(-10px);
}

/* ==========================================================================
   Reasons Section
   ========================================================================== */
.reasons-header {
  text-align: center;
  margin-bottom: 40px;
}
.reasons-header h2 {
  font-size: 28px;
}
.reasons-header span {
  color: var(--primary-color);
  font-size: 32px;
  font-weight: 700;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (min-width: 768px) {
  .reasons-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .reasons-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.reason-card {
  text-align: center;
  padding: 30px 15px;
  background: #fff;
  border-radius: 8px;
  transition: var(--transition);
}

.reason-card:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transform: translateY(-5px);
}

.reason-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: var(--bg-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: var(--transition);
}

.reason-card:hover .reason-icon {
  background: var(--primary-color);
  color: #fff;
}

.reason-title {
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 16px;
}

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

/* ==========================================================================
   News & FAQ Section
   ========================================================================== */
.news-faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}

@media (min-width: 1024px) {
  .news-faq-grid {
    grid-template-columns: 3fr 2fr;
  }
}

.section-header-split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
}

.section-header-split h2 {
  font-size: 24px;
}

.view-all {
  color: var(--text-gray);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.view-all:hover {
  color: var(--primary-color);
}

.news-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.news-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
}

.news-card:hover {
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.news-img {
  height: 140px;
  overflow: hidden;
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.news-card:hover .news-img img {
  transform: scale(1.1);
}

.news-content {
  padding: 15px;
}

.news-date {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 8px;
  display: block;
}

.news-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-desc {
  font-size: 12px;
  color: var(--text-gray);
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-more {
  font-size: 12px;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 15px 20px;
  background: #fff;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover, .faq-item.active .faq-question {
  color: var(--primary-color);
  background: var(--bg-gray);
}

.faq-icon {
  transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #fff;
}
.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 15px 20px;
  color: var(--text-gray);
  font-size: 14px;
  border-top: 1px solid var(--bg-gray);
}

/* ==========================================================================
   Pre-Footer CTA
   ========================================================================== */
.cta-section {
  background: var(--primary-hover);
  padding: 40px 0;
  color: #fff;
}

.cta-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 992px) {
  .cta-container {
    flex-direction: row;
  }
}

.cta-text h2 {
  font-size: 24px;
  margin-bottom: 10px;
}
.cta-text p {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
}

.cta-btn {
  background: #3e7ced;
  color: #fff;
  padding: 12px 30px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  transition: background 0.3s;
}
.cta-btn:hover {
  background: #2a6ae0;
}

.cta-contact {
  display: flex;
  align-items: center;
  gap: 30px;
}

.cta-phone {
  display: flex;
  align-items: center;
  gap: 15px;
}
.cta-phone-icon {
  font-size: 30px;
}
.cta-phone-text p {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}
.cta-phone-text strong {
  font-size: 20px;
}

.cta-qr {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cta-qr-img {
  width: 60px;
  height: 60px;
  background: #fff;
  padding: 5px;
  border-radius: 4px;
}
.cta-qr-text p {
  font-size: 14px;
  font-weight: 600;
}
.cta-qr-text span {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--bg-dark);
  color: #fff;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  }
}

.footer-logo {
  margin-bottom: 20px;
}
.footer-logo img {
  height: 30px;
  filter: brightness(0) invert(1);
}

.footer-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 15px;
}
.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.footer-social-link:hover {
  background: var(--primary-color);
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 20px;
  height: 2px;
  background: var(--primary-color);
}

.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.footer-contact .icon {
  color: var(--primary-color);
  flex-shrink: 0;
}

.footer-friendly-links {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 25px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.footer-friendly-links span {
  font-weight: 600;
}

.footer-friendly-links a {
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* ==========================================================================
   Inner Pages Styles
   ========================================================================== */

/* Page Banner */
.page-banner {
  position: relative;
  height: 350px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: #fff;
  text-align: center;
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 26, 44, 0.75);
}

.page-banner .container {
  position: relative;
  z-index: 2;
}

.page-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.page-subtitle {
  font-size: 18px;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Products Page Layout */
.products-page-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 992px) {
  .products-page-layout {
    flex-direction: row;
  }
}

.products-sidebar {
  width: 100%;
  background: #f8fafc;
  padding: 30px 20px;
  border-radius: 8px;
  height: fit-content;
}

@media (min-width: 992px) {
  .products-sidebar {
    width: 250px;
    flex-shrink: 0;
  }
}

.sidebar-title {
  font-size: 20px;
  color: #1a365d;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
}

.sidebar-nav {
  list-style: none;
}

.sidebar-nav li {
  margin-bottom: 10px;
}

.sidebar-nav button {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 12px 15px;
  font-size: 15px;
  color: var(--text-main);
  cursor: pointer;
  border-radius: 4px;
  transition: var(--transition);
}

.sidebar-nav button:hover, .sidebar-nav li.active button {
  background: var(--primary-color);
  color: #fff;
}

.products-content {
  flex: 1;
}

.products-grid-inner {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

/* Product Details */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
@media (min-width: 768px) {
  .product-detail-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.product-gallery img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.product-info-panel h1 {
  font-size: 32px;
  color: #1a365d;
  margin-bottom: 10px;
}

.product-info-panel .product-meta {
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 30px;
}
.product-info-panel .product-meta span {
  display: inline-block;
  background: #f1f5f9;
  padding: 4px 12px;
  border-radius: 4px;
  margin-right: 10px;
  color: var(--primary-color);
  font-weight: 500;
}

.product-desc-short {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-gray);
  margin-bottom: 30px;
}

.product-params-list {
  list-style: none;
  margin-bottom: 40px;
}
.product-params-list li {
  display: flex;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-size: 15px;
}
.product-params-list li span:first-child {
  width: 120px;
  color: var(--text-gray);
}
.product-params-list li span:last-child {
  font-weight: 500;
  color: #333;
}

.product-tabs-section {
  margin-top: 60px;
}
.product-tabs-nav {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid #ddd;
  margin-bottom: 30px;
}
.product-tabs-nav button {
  padding: 15px 20px;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-gray);
  cursor: pointer;
  position: relative;
}
.product-tabs-nav button.active {
  color: var(--primary-color);
}
.product-tabs-nav button.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
}
.product-tab-content {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-gray);
}

/* News List */
.news-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

/* News Detail */
.news-detail-container {
  margin: 0 auto;
}
.news-detail-header {
  text-align: center;
  margin-bottom: 40px;
}
.news-detail-header h1 {
  font-size: 32px;
  color: #1a365d;
  margin-bottom: 15px;
}
.news-detail-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  color: var(--text-gray);
  font-size: 14px;
}
.news-detail-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.news-detail-content {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}
.news-detail-content img {
  width: 100%;
  border-radius: 8px;
  margin: 30px 0;
}

/* About Layout Ext */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 40px auto;
  padding: 20px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  height: 100%;
  width: 2px;
  background: var(--primary-color);
  opacity: 0.2;
}
@media (min-width: 768px) {
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
}
.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 60px;
}
@media (min-width: 768px) {
  .timeline-item {
    width: 50%;
    padding-left: 0;
    padding-right: 40px;
    text-align: right;
  }
  .timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-left: 40px;
    padding-right: 0;
    text-align: left;
  }
}
.timeline-dot {
  position: absolute;
  left: 14px;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(30, 96, 208, 0.2);
}
@media (min-width: 768px) {
  .timeline-item .timeline-dot {
    left: auto;
    right: -7px;
  }
  .timeline-item:nth-child(even) .timeline-dot {
    left: -7px;
    right: auto;
  }
}
.timeline-date {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}
.timeline-content h4 {
  font-size: 18px;
  color: #1a365d;
  margin-bottom: 10px;
}
.timeline-content p {
  color: var(--text-gray);
  font-size: 14px;
}

/* Contact Page Layout split */
.contact-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}
@media (min-width: 992px) {
  .contact-split {
    grid-template-columns: 1fr 1fr;
  }
}
.contact-split-info {
  background: #1a365d;
  color: #fff;
  padding: 50px;
  border-radius: 12px;
}
.contact-split-info h2 {
  font-size: 28px;
  margin-bottom: 10px;
}
.contact-split-info > p {
  opacity: 0.8;
  margin-bottom: 40px;
}
.contact-info-list {
  list-style: none;
}
.contact-info-list li {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  align-items: flex-start;
}
.contact-info-list .icon {
  color: var(--primary-color);
  background: rgba(255,255,255,0.1);
  padding: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.contact-info-list .details h4 {
  font-size: 16px;
  margin-bottom: 5px;
}
.contact-info-list .details p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  line-height: 1.5;
}

.contact-split-form {
  padding: 20px 0;
}
.contact-split-form h2 {
  font-size: 28px;
  color: #1a365d;
  margin-bottom: 10px;
}
.contact-split-form > p {
  color: var(--text-gray);
  margin-bottom: 30px;
}
.contact-split-form .form-group {
  margin-bottom: 20px;
}
.contact-split-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: #333;
}
.contact-split-form input, .contact-split-form textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
  transition: var(--transition);
}
.contact-split-form input:focus, .contact-split-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 96, 208, 0.1);
}
.contact-split-form button {
  width: 100%;
  padding: 16px;
  margin-top: 10px;
}

/* Solutions Page */
.solution-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  margin-bottom: 40px;
}
@media (min-width: 768px) {
  .solution-card {
    flex-direction: row;
  }
  .solution-card:nth-child(even) {
    flex-direction: row-reverse;
  }
}
.solution-img {
  flex: 1;
  min-height: 300px;
}
.solution-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.solution-content {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.solution-content h3 {
  font-size: 26px;
  color: #1a365d;
  margin-bottom: 15px;
}
.solution-content p {
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 15px;
}
.solution-features {
  list-style: none;
  margin-bottom: 30px;
}
.solution-features li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: #333;
  font-size: 15px;
}
.solution-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Download List */
.download-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.download-item {
  display: flex;
  align-items: center;
  padding: 20px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  transition: var(--transition);
}
.download-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(30,96,208,0.1);
  transform: translateY(-2px);
}
.download-icon {
  color: var(--primary-color);
  margin-right: 15px;
  flex-shrink: 0;
}
.download-info {
  flex: 1;
}
.download-info h4 {
  font-size: 15px;
  color: #333;
  margin-bottom: 5px;
  line-height: 1.4;
}
.download-info p {
  font-size: 13px;
  color: var(--text-gray);
}
.download-btn {
  margin-left: 15px;
  color: var(--primary-color);
  background: rgba(30,96,208,0.1);
  padding: 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.download-item:hover .download-btn {
  background: var(--primary-color);
  color: #fff;
}


/* ==========================================================================
   交互钩子补充样式
   静态版新增，供 js/main.js 的 data-* 行为钩子驱动
   ========================================================================== */

/* 下拉容器展开态（触屏 / 点击兼容，桌面端仍保留 hover 行为） */
.lang-select-container.open .lang-dropdown,
.has-dropdown.open .dropdown-menu,
.nav-item.open .dropdown-menu {
  display: block;
}

/* 语言分组切换 */
[data-lang][hidden] {
  display: none !important;
}

/* 站内搜索结果列表 */
.search-results {
  display: none;
  margin-top: 15px;
  max-height: 320px;
  overflow-y: auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.search-results.active {
  display: block;
}
.search-results li {
  border-bottom: 1px solid #eee;
}
.search-results li:last-child {
  border-bottom: none;
}
.search-results a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  color: #333;
  font-size: 14px;
}
.search-results a:hover {
  background: #f5f7fa;
  color: var(--primary-color, #1e60d0);
}
.search-results .search-type {
  flex: none;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(30, 96, 208, 0.1);
  color: var(--primary-color, #1e60d0);
}
.search-results .search-empty {
  padding: 20px;
  text-align: center;
  color: #999;
  font-size: 14px;
}

/* 表单提交提示 */
.form-msg {
  display: none;
  margin-top: 15px;
  padding: 12px 16px;
  border-radius: 6px;
  background: rgba(30, 96, 208, 0.08);
  color: var(--primary-color, #1e60d0);
  font-size: 14px;
}
.form-msg.visible {
  display: block;
}

/* 图片画廊缩略图 */
.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.gallery-thumbs img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 2px solid #eee;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.gallery-thumbs img:hover,
.gallery-thumbs img.active {
  border-color: var(--primary-color, #1e60d0);
}

/* ==========================================================================
   原内联样式提取补充
   以下样式从原 HTML 内联 style 中提取，确保去除内联样式后布局不变
   ========================================================================== */

/* 动画延迟 */
.animate-item[data-reveal]:nth-child(2),
.animate-item[data-reveal].delay-02 {
  transition-delay: 0.2s;
}

/* 事业部卡片中的小按钮 */
.division-card .btn-primary {
  padding: 8px 20px;
  font-size: 14px;
}

/* 产品展示区标题无下边距 */
.section-header-split .section-title {
  margin-bottom: 0;
}

/* 产品 tabs 无下边距 */

/* 关于我们统计区上边距 */
.about-stats {
  margin-top: 40px;
}

/* 理由区标题居中 */
.reasons-header .view-all {
  justify-content: center;
  margin-top: 10px;
}

/* 居中的 section-header-split（关于页面） */
.section-header-split.is-center {
  justify-content: center;
}

/* 荣誉资质网格 */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  transition-delay: 0.2s;
}

.cert-card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.cert-card img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 15px;
}

.cert-card h4 {
  font-size: 16px;
  color: #1a365d;
}

/* 发展历程时间线 */
.timeline {
  transition-delay: 0.2s;
}

/* 理由网格变体 */
.reasons-grid.is-auto {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}


/* ==========================================================================
   Auto-extracted inline styles supplement
   ========================================================================== */

.about-content {
  transition-delay: 0.2s;
}

/* 荣誉资质区域 — 仅限 about 页面的 cert-grid 父容器 */
.cert-grid.animate-item {
  display: grid;
  gap: 30px;
  transition-delay: 0.2s;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.apps-grid {
  transition-delay: 0.2s;
}

.division-card {
  transition-delay: 0.2s;
}

.faq-section {
  transition-delay: 0.2s;
}

.products-slider-wrapper {
  transition-delay: 0.2s;
}

.reasons-grid {
  transition-delay: 0.2s;
}

/* ===== 卡片链接与列表页布局增强 ===== */
.img-link { display: block; width: 100%; height: 100%; }
.img-link img { width: 100%; height: 100%; object-fit: cover; }
.news-title a { color: inherit; text-decoration: none; transition: color .2s ease; }
.news-card:hover .news-title a { color: var(--primary-color); }
.app-title a { color: inherit; text-decoration: none; }
.solution-content h3 a { color: inherit; text-decoration: none; transition: color .2s ease; }
.solution-card:hover .solution-content h3 a { color: var(--primary-color); }
.faq-detail-link { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--primary-color); margin: 0 20px 15px; }
.faq-detail-link:hover { text-decoration: underline; }
.faq-item.active .faq-answer { max-height: 320px; }
.apps-grid--page { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 768px) {
  .apps-grid--page { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .apps-grid--page { grid-template-columns: repeat(4, 1fr); }
}

/* ===== 内联样式提取 ===== */
.breadcrumb { font-size: 14px; color: #999; margin-bottom: 30px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: #666; }
.breadcrumb-current { color: #1e60d0; }
.news-img { position: relative; }
.news-badge { position: absolute; top: 10px; left: 10px; z-index: 1; background: #1e60d0; color: #fff; padding: 3px 12px; font-size: 12px; border-radius: 3px; }
.news-detail-footer { margin-top: 40px; padding-top: 20px; border-top: 1px solid #e5e5e5; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.news-back-link { color: #1e60d0; font-size: 14px; }
.news-share { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #666; }
.news-share a { color: #666; }
.detail-pager-box { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.detail-pager-item { padding: 15px 20px; background: #f5f7fa; border-radius: 8px; }
.detail-pager-item--right { text-align: right; }
.detail-pager-label { font-size: 12px; color: #999; margin-bottom: 8px; }
.detail-pager-link { color: #333; font-weight: 500; }
.detail-pager-empty { color: #999; }
.product-detail-actions { display: flex; gap: 15px; margin-top: 20px; }
.btn-ghost { display: inline-flex; align-items: center; padding: 11px 30px; border: 1px solid #1e60d0; border-radius: 4px; font-weight: 500; color: #1e60d0; }
.faq-contact-prompt { text-align: center; margin-top: 50px; padding: 40px 30px; background: #f5f7fa; border-radius: 8px; }
.faq-contact-prompt h3 { font-size: 24px; margin-bottom: 10px; }
.faq-contact-prompt p { color: #666; margin-bottom: 25px; }
.map-placeholder { height: 400px; }
.map-placeholder-inner { width: 100%; height: 100%; }
.map-info-window { line-height: 1.8; font-size: 14px; }
.map-info-window h4 { margin-bottom: 6px; }
.map-info-window p { margin: 0; }
.nf-container { text-align: center; padding: 60px 20px; }
.nf-code { font-size: 120px; font-weight: 800; line-height: 1; color: #1e60d0; margin-bottom: 20px; }
.nf-title { font-size: 28px; color: #1a365d; margin-bottom: 15px; }
.nf-desc { color: #666; margin-bottom: 30px; }
.nf-hot { margin-top: 50px; display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.nf-hot-label { color: #999; }
.nf-hot a { color: #1e60d0; }
.page-banner--dark { background: #1a365d; }
.news-page-grid a.news-img { display: block; }
.search-empty-tip { text-align: center; color: #999; padding: 60px 0; font-size: 16px; }
.search-pager { margin-top: 40px; }

/* ===== 系统分页 ul.pagination 适配 ===== */
ul.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; list-style: none; padding: 0; margin: 40px 0 0; }
ul.pagination li { list-style: none; }
ul.pagination li a { display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 14px; border: 1px solid var(--border-color); border-radius: 4px; background: var(--bg-main); color: var(--text-main); font-size: 14px; text-decoration: none; transition: all .2s ease; }
ul.pagination li a:hover { color: var(--primary-color); border-color: var(--primary-color); }
ul.pagination li.active a { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }
ul.pagination li:first-child a { cursor: default; background: var(--bg-gray); color: var(--text-light); border-color: transparent; }
ul.pagination li:first-child a:hover { background: var(--bg-gray); color: var(--text-light); border-color: transparent; }

/* ===== 富文本内容表格样式（后台编辑器 {$content} 内 <table>，2026-09-15 补充） ===== */
.about-content, .product-tab-content, .news-detail-content { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.about-content table, .product-tab-content table, .news-detail-content table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; line-height: 1.7; }
.about-content table th, .about-content table td, .product-tab-content table th, .product-tab-content table td, .news-detail-content table th, .news-detail-content table td { border: 1px solid var(--border-color, #e5e5e5); padding: 12px 15px; text-align: left; vertical-align: middle; word-break: break-word; }
.about-content table th, .product-tab-content table th, .news-detail-content table th { background: var(--primary-color, #1e60d0); color: #fff; font-weight: 600; }
.about-content table tbody tr:nth-child(even), .product-tab-content table tbody tr:nth-child(even), .news-detail-content table tbody tr:nth-child(even) { background: var(--bg-gray, #f5f7fa); }

/* ===== 悬浮按钮组与手机端底部悬浮栏 ===== */
.site-float { position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 900; display: flex; flex-direction: column; gap: 2px; }
.site-float__item { position: relative; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--primary-color, #1e60d0); color: #fff; font-size: 20px; border-radius: 8px; cursor: pointer; transition: all 0.3s ease; border: none; }
.site-float__item:hover { filter: brightness(0.88); }
.site-float__item--top { opacity: 0; visibility: hidden; pointer-events: none; }
.site-float__item--top.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }
.site-float__pop { position: absolute; right: 60px; top: 50%; transform: translateY(-50%) translateX(10px); background: #fff; color: #333; box-shadow: 0 4px 16px rgba(0,0,0,0.15); border-radius: 8px; padding: 12px 18px; font-size: 16px; font-weight: 600; white-space: nowrap; opacity: 0; visibility: hidden; transition: all 0.3s ease; width: max-content; }
.site-float__item:hover .site-float__pop { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }
.site-float__pop--wechat { padding: 10px; text-align: center; font-weight: 400; }
.site-float__pop--wechat img { width: 130px; height: auto; max-width: none; }
.site-float__pop--wechat p { font-size: 12px; margin-top: 6px; color: #666; }

.mobile-dock { display: none; }
.qr-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; }
.qr-modal[hidden] { display: none; }
.qr-modal__mask { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.qr-modal__box { position: relative; background: #fff; border-radius: 10px; padding: 24px; text-align: center; }
.qr-modal__box img { width: 200px; height: auto; max-width: none; }
.qr-modal__box p { margin-top: 10px; font-size: 14px; color: #666; }
.qr-modal__close { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; color: #999; font-size: 18px; background: none; border: none; }

@media (max-width: 768px) {
  .site-float { display: none; }
  .mobile-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; display: flex; background: #fff; box-shadow: 0 -2px 10px rgba(0,0,0,0.08); }
  .mobile-dock__item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 8px 0 8px; color: #666; font-size: 12px; text-decoration: none; }
  .mobile-dock__item i { font-size: 18px; color: var(--primary-color, #1e60d0); }
  .mobile-dock__item span { line-height: 1.2; }
  body { padding-bottom: 56px; }
}

/* ===== 手机端 Hero 适配（高度跟随背景图比例版，2026-09-17 替换原 580px 定高方案） ===== */
@media (max-width: 768px) {
  /* 容器高度 = 背景图等比高度（hdtp 幻灯建议图 1920×800 → 12:5；比例一致时图片零裁切） */
  .hero, .hero-section { height: auto !important; min-height: 0 !important; aspect-ratio: 12 / 5; overflow: hidden; }
  /* 背景图铺满居中（替代原 contain 贴顶白底） */
  .hero-slide-bg, .hero__slide-bg, .hero__bg-image, .slide-bg {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: transparent;
  }
  .hero-slide > img, .hero__slide > img, img.hero__bg {
    position: absolute; top: 0; left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center center;
  }
  /* 删除原白色渐变 ::after（图片下缘融白） */
  .hero-slide::after, .hero__slide::after, .hero__bg-slide::after { content: none !important; }
  /* 取消原上下 padding，文字层恢复覆盖在图片上 */
  .hero-slide, .hero__slide, .hero__bg-slide { padding-top: 0 !important; padding-bottom: 0 !important; }
  /* 文字紧凑适配 */
  .hero-title, .hero__title, .hero-main-heading { font-size: 22px !important; line-height: 1.25 !important; }
  .hero-subtitle, .hero__subtitle { font-size: 13px !important; line-height: 1.4 !important; }
  /* 次要内容隐藏：features 图标块、desc 辅助段、装饰大字（375px 宽下容器仅约 156px 高，放不下） */
  .hero-features, .hero__features, .hero__desc, .hero__bg-text { display: none !important; }
  /* 按钮恢复显示并缩小（原方案被整体隐藏） */
  .hero-btns, .hero-actions, .hero__actions, .hero__buttons { display: flex !important; gap: 10px; }
  .hero-btns a, .hero-actions a, .hero__actions a, .hero__buttons a { padding: 8px 18px; font-size: 13px; }
}

/* ===== 2026-09-18 友情链接 SEO 改造：首页 footer 精选 30 条，更多入口进独立友链页 /links.html ===== */
.footer-friendly-links .friendly-more { color: rgba(255,255,255,0.6); transition: color 0.3s; }
.footer-friendly-links .friendly-more:hover { color: #1e60d0; }

/* 独立友情链接页（/links.html） */
.links-page { padding: 5px 0 10px; }
.links-page__intro { color: #666; font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.links-page__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.links-page__item { display: block; padding: 12px 14px; background: #fff; border: 1px solid #eee; border-radius: 6px; color: #333; font-size: 14px; text-align: center; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: all 0.25s; }
.links-page__item:hover { color: #1e60d0; border-color: #1e60d0; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.08); }
@media (max-width: 768px) {
  .links-page__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .links-page__item { padding: 10px 8px; font-size: 13px; }
}
