/* ===================================================================
   新设计 - 紧固件工业风格 v2
   精确参考 METALUX 布局
   =================================================================== */

/* ===== Header ===== */
.nx-header {
  background: #fff;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.nx-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.nx-logo img {
  max-height: 80px;
  width: auto;
}

/* Right side: 2 rows */
.nx-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: relative;
}

/* Top row: phone, email, lang, dark mode */
.nx-header-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 0;
}

.nx-phone {
  color: #64748b;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nx-phone i { color: #94a3b8; font-size: 14px; }

.nx-email-link {
  color: #64748b;
  font-size: 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s;
}

.nx-email-link:hover { color: #13407d; }
.nx-email-link i { color: #94a3b8; font-size: 14px; }

/* Bottom row: Navigation */
.nx-nav .nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nx-nav .nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 14px 16px;
  color: #334155;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
  letter-spacing: 0.3px;
}

.nx-nav .nav-menu > li > a:hover,
.nx-nav .nav-menu > li.active > a {
  color: #13407d;
}

.nx-nav .nav-menu > li > a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: #13407d;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nx-nav .nav-menu > li > a:hover::after,
.nx-nav .nav-menu > li.active > a::after {
  transform: scaleX(1);
}

/* Nav arrow icon */
.nav-arrow {
  font-size: 14px;
  color: #94a3b8;
  transition: transform 0.3s ease;
}

/* Dropdown */
.nx-nav .has-dropdown { position: relative; }

.nx-nav .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
  z-index: 1000;
  list-style: none;
}

.nx-nav .has-dropdown:hover > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nx-nav .dropdown li a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 20px;
  color: #334155;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nx-nav .dropdown li a .nav-arrow {
  font-size: 14px;
  color: #94a3b8;
}

.nx-nav .dropdown li a:hover {
  background: #f1f5f9;
  color: #13407d;
}

/* Language & Dark Mode */
.nx-header-top .pc-lang-switcher { margin-left: 2px; }
.nx-header-top .pc-lang-btn {
  color: #64748b;
  font-size: 14px;
  padding: 6px 10px;
}
.nx-header-top .pc-lang-btn i:first-child { color: #94a3b8; font-size: 16px; }
.nx-header-top .pc-lang-btn .lang-arrow { display: none; }
.nx-header-top .pc-lang-btn:hover { color: #13407d; }
.nx-header-top .dark-mode-toggle { color: #64748b; padding: 6px 8px; }
.nx-header-top .dark-mode-toggle i { font-size: 16px; color: #94a3b8; }
.nx-header-top .dark-mode-toggle span { display: inline; font-size: 14px; }
.nx-header-top .dark-mode-toggle:hover { color: #13407d; background: rgba(59,130,246,0.06); }

/* Mobile Button */
.nx-mobile-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  gap: 5px;
  flex-shrink: 0;
}

.nx-mobile-btn span {
  width: 22px;
  height: 2.5px;
  background: #334155;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nx-mobile-btn.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nx-mobile-btn.active span:nth-child(2) { opacity: 0; }
.nx-mobile-btn.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile Menu */
.nx-mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.nx-mobile-menu.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nx-mobile-menu-inner {
  position: absolute;
  top: 0;
  right: 0;
  width: 84%;
  max-width: 360px;
  height: 100%;
  background: #fff;
  padding: 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 24px rgba(0,0,0,0.1);
}

.nx-mobile-menu.active .nx-mobile-menu-inner { transform: translateX(0); }

.nx-mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.nx-mobile-menu-title { color: #1e293b; font-size: 18px; font-weight: 600; }

.nx-mobile-menu-close {
  background: none;
  border: none;
  color: #64748b;
  font-size: 20px;
  cursor: pointer;
}

.nx-mobile-menu .nav-menu { list-style: none; padding: 0; margin: 0; }

.nx-mobile-menu .nav-menu > li > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  color: #334155;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid #f1f5f9;
  transition: color 0.2s;
}

.nx-mobile-menu .nav-menu > li > a:hover { color: #13407d; }

.nx-mobile-toggle {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 14px;
}

.nx-mobile-menu .dropdown {
  list-style: none;
  padding-left: 16px;
  display: none;
  background: #f8fafc;
  border-radius: 8px;
  padding: 8px 16px;
  margin: 4px 0;
}

.nx-mobile-menu .has-sub.open > .dropdown { display: block; }

.nx-mobile-menu .dropdown a {
  display: block;
  padding: 10px 0;
  color: #64748b;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid #e2e8f0;
  transition: color 0.2s;
}

.nx-mobile-menu .dropdown a:hover { color: #13407d; }

/* Ensure minimum font size 14px */
body { font-size: 14px; }

/* Search Overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.search-overlay-bg {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
}

.search-overlay-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 1;
}

.search-overlay-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 600px;
}

.search-overlay-form {
  display: flex;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.search-overlay-form input {
  flex: 1;
  padding: 18px 24px;
  border: none;
  font-size: 16px;
  outline: none;
}

.search-overlay-form button {
  padding: 18px 28px;
  background: #13407d;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s;
}

.search-overlay-form button:hover { background: #2563eb; }

/* ===== Hero Carousel Section ===== */
.hero-section {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

/* Hero image zoom on active */
.hero-slide.active .hero-bg img {
  animation: heroZoom 8s ease-out forwards;
}

@keyframes heroZoom {
  0% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* Make container full height inside hero slide */
.hero-slide > .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  z-index: 2;
}

/* Ensure hero-slide has proper height */
.hero-slide {
  height: 100%;
}

/* Hero content fade-in animation */
.hero-slide.active .hero-content {
  animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #fff;
  max-width: 700px;
  padding: 0 24px;
  width: 100%;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  line-height: 1.6;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: #13407d;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  width: fit-content;
}

.hero-btn:hover {
  background: #2563eb;
  transform: translateY(-1px);
}

/* Hero Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

.hero-section:hover .hero-arrow {
  opacity: 1;
}

.hero-arrow:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.4);
}

.hero-prev { left: 24px; }
.hero-next { right: 24px; }

/* Hero Progress Indicators */
.hero-progress {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-progress-item {
  position: relative;
  width: 50px;
  height: 3px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
}

.hero-progress-item::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: #fff;
  border-radius: 2px;
}

.hero-progress-item.active::after {
  animation: heroProgress 5s linear forwards;
}

@keyframes heroProgress {
  from { width: 0; }
  to { width: 100%; }
}

/* ===== Section Common ===== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
  padding: 10px 0;
}

/* Scroll animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0); 
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 5px;
  color: #475569;
  text-transform: uppercase;
  position: relative;
}

.section-label::before,
.section-label::after {
  content: "";
  width: 60px;
  height: 1.5px;
  background: #cbd5e1;
  transition: width 0.5s ease;
}

.section-header:hover .section-label::before,
.section-header:hover .section-label::after {
  width: 80px;
}

/* ===== Products Section ===== */
.products-section {
  padding: 60px 0 50px;
  background: #f8fafc;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e8ecf1;
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  border-color: #13407d;
}

.product-img {
  height: 260px;
  overflow: hidden;
  background: #f1f5f9;
  padding: 0;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.product-card:hover .product-img img { transform: scale(1.05); }

/* Bottom row: icon + text */
.product-bottom {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
}

.product-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: #13407d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 17px;
}

.product-text {
  flex: 1;
}

.product-text h3 {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #13407d;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.3s ease;
}

.product-link:hover { gap: 8px; }

/* ===== Certification Section ===== */
.cert-section {
  padding: 40px 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.cert-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cert-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #475569;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 28px;
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  transition: all 0.3s ease;
  min-width: 140px;
}

.cert-badge:hover {
  border-color: #13407d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59,130,246,0.15);
}

.cert-badge i {
  color: #13407d;
  font-size: 22px;
}

/* ===== Quality Control Section ===== */
.quality-section {
  padding: 80px 0;
  background: #0f172a;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  position: relative;
}

.quality-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.92) 0%, rgba(15,23,42,0.7) 100%);
  z-index: 1;
}

.quality-section > .container {
  position: relative;
  z-index: 2;
}

.quality-content {
  max-width: 560px;
}

.quality-content .section-label {
  color: #94a3b8;
  margin-bottom: 16px;
  justify-content: flex-start;
}

.quality-content .section-label::before { display: none; }
.quality-content .section-label::after { display: none; }

.quality-content h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 24px;
}

.quality-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  background: #13407d;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.quality-btn:hover {
  background: #2563eb;
}

/* ===== Application Section ===== */
.application-section {
  padding: 60px 0 50px;
  background: #fff;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.application-card {
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  height: 220px;
}

.application-img {
  width: 100%;
  height: 100%;
  position: relative;
}

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

.application-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.75) 0%, rgba(15,23,42,0.15) 45%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 18px;
  transition: all 0.3s ease;
}

.application-card:hover .application-img img { transform: scale(1.06); }

.application-icon {
  width: 42px;
  height: 42px;
  background: #13407d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 17px;
  position: absolute;
  bottom: 18px;
  left: 18px;
  z-index: 2;
}

.application-overlay h3 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.application-link {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.3s;
}

.application-link:hover { color: #fff; }

.application-desc {
  text-align: center;
  color: #64748b;
  font-size: 14px;
  line-height: 1.8;
  max-width: 780px;
  margin: 0 auto;
}

/* ===== Info Grid Section ===== */
.info-section {
  padding: 60px 0 50px;
  background: #fff;
}

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

.info-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 18px;
  background: #0f172a;
  background-size: cover;
  background-position: center;
  transition: all 0.3s ease;
}

.info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.92) 0%, rgba(15,23,42,0.45) 60%, rgba(15,23,42,0.15) 100%);
  z-index: 1;
}

.info-card > * { position: relative; z-index: 2; }

.info-card:hover { transform: translateY(-2px); }

.info-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-card p {
  color: rgba(255,255,255,0.7);
  font-size: 12.5px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.info-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.3s;
}

.info-link:hover { gap: 8px; }

/* 首页卡片整框可点击（外层已包 <a>，内层链接改为 span） */
.product-card,
.application-card,
.info-card {
  text-decoration: none;
  cursor: pointer;
}

.product-card:hover .product-link { gap: 8px; }
.application-card:hover .application-link { color: #fff; }
.info-card:hover .info-link { gap: 8px; }

/* ===== About Section ===== */
.about-section {
   margin: 50px 0;
  background: #f3f3f5;
}

.about-section .container {
  display: block;
  position: relative;
  z-index: 1;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 30px;
  align-items: stretch;
}

.about-content .section-label {
  display: inline-flex;
  text-align: left;
  padding: 0;
  margin-bottom: 12px;
  justify-content: flex-start;
}

.about-content .section-label::before { display: none; }
.about-content .section-label::after { display: none; }

.about-content h2 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}

.about-content p {
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 24px;
}

.about-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  background: #13407d;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.about-btn:hover {
  background: #2563eb;
}

.about-img-wrap {
  position: relative;
  overflow: hidden;
  height: 360px;
  min-height: 360px;
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark stats panel floating on top of image */
.about-stats-panel {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 3;
  background: rgba(30,41,59,0.82);
  backdrop-filter: blur(6px);
  border-radius: 8px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  width: 240px;
  box-shadow: 0 12px 30px rgba(15,23,42,0.35);
}

.stat-box {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}

.stat-icon {
  width: 52px;
  height: 52px;
  background: rgba(59,130,246,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  flex-shrink: 0;
}

.stat-icon i {
  color: #fff;
  font-size: 22px;
}

.stat-text {
  display: flex;
  flex-direction: column;
}

.stat-box .stat-number {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-box .stat-label {
  font-size: 14px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== Partners Section ===== */
.partners-section {
  padding: 60px 0 40px;
  background: #fff;
}

.partners-scroll {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 30px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.partners-track {
  display: flex;
  gap: 60px;
  animation: scroll-partners 30s linear infinite;
  width: max-content;
}

.partners-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-partners {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.partner-logo {
  opacity: 0.5;
  transition: opacity 0.3s ease;
  flex-shrink: 0;
  max-width: 120px;
}

.partner-logo:hover { opacity: 1; }

.partner-logo img {
  max-height: 40px;
  width: auto;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.partner-logo:hover img { filter: grayscale(0%); }

/* ===== Footer ===== */
.nx-footer {
  background: #0f172a;
  color: #cbd5e1;
}

.nx-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 50px 0 36px;
}

.nx-footer-logo img {
  max-height: 32px;
  margin-bottom: 14px;
}

.nx-footer-desc {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
  color: #94a3b8;
}

.nx-footer-social {
  display: flex;
  gap: 10px;
}

.nx-footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 14px;
  transition: all 0.3s ease;
}

.nx-footer-social a:hover {
  background: #13407d;
  color: #fff;
}

.nx-footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 10px;
}

.nx-footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: #13407d;
}

.nx-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nx-footer-col ul li {
  margin-bottom: 8px;
}

.nx-footer-col ul li a {
  color: #94a3b8;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nx-footer-col ul li a:hover {
  color: #fff;
  padding-left: 3px;
}

.nx-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 18px;
}

.nx-footer-contact li i {
  color: #13407d;
  font-size: 14px;
  margin-top: 2px;
  width: 14px;
  flex-shrink: 0;
}

.nx-footer-contact li span {
  font-size: 14px;
  line-height: 1.5;
  color: #94a3b8;
}

.nx-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 16px 0;
}

.nx-footer-bottom p {
  font-size: 14px;
  color: #94a3b8;
  text-align: center;
}

.nx-footer-bottom a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s;
}

.nx-footer-bottom a:hover { color: #fff; }

/* ===== Dark Mode ===== */
body.dark-mode .nx-header { background: #0f172a; box-shadow: 0 2px 12px rgba(0,0,0,0.3); }
body.dark-mode .nx-nav .nav-menu > li > a { color: #94a3b8; }
body.dark-mode .nx-nav .nav-menu > li > a:hover,
body.dark-mode .nx-nav .nav-menu > li.active > a { color: #fff; }
body.dark-mode .nav-arrow { color: rgba(255,255,255,0.3); }
body.dark-mode .nx-phone { color: #94a3b8; }
body.dark-mode .nx-phone i { color: #64748b; }
body.dark-mode .nx-email-link { color: #94a3b8; }
body.dark-mode .nx-email-link i { color: #64748b; }
body.dark-mode .nx-email-link:hover { color: #cbd5e1; }
body.dark-mode .nx-header-top .pc-lang-btn { color: #94a3b8; }
body.dark-mode .nx-header-top .pc-lang-btn i:first-child { color: #64748b; }
body.dark-mode .nx-header-top .pc-lang-btn:hover { color: #cbd5e1; }
body.dark-mode .nx-header-top .dark-mode-toggle { color: #94a3b8; }
body.dark-mode .nx-header-top .dark-mode-toggle i { color: #94a3b8; }
body.dark-mode .nx-header-top .dark-mode-toggle:hover { color: #cbd5e1; background: rgba(255,255,255,0.05); }
body.dark-mode .nx-mobile-btn { border-color: rgba(255,255,255,0.15); }
body.dark-mode .nx-mobile-btn span { background: #cbd5e1; }
body.dark-mode .nx-mobile-menu-inner { background: #1e293b; box-shadow: -4px 0 24px rgba(0,0,0,0.3); }
body.dark-mode .nx-mobile-menu-header { border-bottom-color: #334155; }
body.dark-mode .nx-mobile-menu-title { color: #f1f5f9; }
body.dark-mode .nx-mobile-menu-close { color: #94a3b8; }
body.dark-mode .nx-mobile-menu .nav-menu > li > a { color: #e2e8f0; border-bottom-color: #334155; }
body.dark-mode .nx-mobile-menu .dropdown { background: #0f172a; }
body.dark-mode .nx-mobile-menu .dropdown a { color: #94a3b8; border-bottom-color: #334155; }
body.dark-mode .products-section { background: #0f172a; }
body.dark-mode .product-card { background: #1e293b; border-color: #334155; }
body.dark-mode .product-text h3 { color: #f1f5f9; }
body.dark-mode .product-img { background: #0f172a; }
body.dark-mode .cert-section { background: #0f172a; border-color: #1e293b; }
body.dark-mode .cert-badge { color: #94a3b8; }
body.dark-mode .application-section { background: #0f172a; }
body.dark-mode .info-section { background: #0f172a; }
body.dark-mode .about-section { background: #0f172a; }
body.dark-mode .about-content h2 { color: #f1f5f9; }
body.dark-mode .about-content p { color: #94a3b8; }
body.dark-mode .partners-section { background: #0f172a; }
body.dark-mode .nx-footer { background: #020617; }
body.dark-mode .section-label { color: #94a3b8; }
body.dark-mode .section-label::before,
body.dark-mode .section-label::after { background: #334155; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .nx-header-top .nx-phone,
  .nx-header-top .nx-email-link { display: none; }
  .nx-nav { display: none; }
  .nx-mobile-btn { display: flex; }
  .nx-header-top .dark-mode-toggle span { display: none; }
  .nx-header-top .pc-lang-switcher { display: block; }
  .nx-header-top .pc-lang-btn span.lang-name { display: none; }

  .hero-title { font-size: 36px; }
  .hero-arrow { width: 40px; height: 40px; font-size: 15px; opacity: 1; }
  .hero-prev { left: 12px; }
  .hero-next { right: 12px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .application-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-stats-panel { left: 20px; right: 20px; bottom: 20px; width: auto; gap: 14px; padding: 20px 22px; }
  .stat-icon { margin-bottom: 0; }
  .nx-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero-section { height: 400px; }
  .hero-title { font-size: 28px; }
  .hero-subtitle { font-size: 14px; }
  .hero-arrow { width: 36px; height: 36px; font-size: 13px; }
  .hero-progress { width: 140px; bottom: 20px; }

  .products-section,
  .quality-section,
  .application-section,
  .info-section,
  .about-section,
  .partners-section { padding: 50px 0; }

  .products-grid { grid-template-columns: 1fr; gap: 24px; }
  .application-grid { grid-template-columns: 1fr; gap: 16px; }
  .info-grid { grid-template-columns: 1fr; gap: 16px; }
  .nx-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cert-badges { gap: 20px; }

  .quality-content h2 { font-size: 20px; }
  .about-content h2 { font-size: 22px; }
  .about-stats-panel { flex-direction: column; gap: 20px; }
}

@media (max-width: 480px) {
  .hero-section { height: 340px; }
  .hero-title { font-size: 24px; }
  .hero-btn { padding: 10px 22px; font-size: 13px; }
}
