/* DISA Machinery (迪砂机械) - Design System & Modern CSS */
:root {
  --primary-blue: #143d7d;
  --primary-blue-hover: #0d2b5c;
  --secondary-blue: #0066cc;
  --accent-cyan: #00a8ff;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(20,61,125,0.08);
  --shadow-lg: 0 10px 25px rgba(20,61,125,0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html, body {
  max-width: 100%;
  overflow-x: clip;
  position: relative;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.6;
}

body {
  width: 100%;
}

a {
  text-decoration: none !important;
  color: inherit;
  transition: all 0.25s ease;
}

.top-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-lang-link {
  color: #fff;
  background: rgba(255,255,255,0.15);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  border: 1px solid rgba(255,255,255,0.25);
}

.top-lang-link:hover {
  background: var(--accent-cyan);
  color: var(--primary-blue);
  border-color: var(--accent-cyan);
}

.lang-switch-link {
  display: none; /* Hide in main nav on desktop since top-bar already has language link */
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--secondary-blue);
  color: var(--secondary-blue);
  font-size: 13px;
  font-weight: 700;
  transition: all 0.25s ease;
}

.lang-switch-link:hover {
  background: var(--secondary-blue);
  color: white !important;
}

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

/* Header & Nav */
.top-bar {
  background: var(--primary-blue);
  color: #fff;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-info {
  display: flex;
  gap: 20px;
}

.top-info-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-link img {
  height: 48px;
  width: auto;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-main);
  padding: 8px 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--secondary-blue);
}

.nav-link.active::after, .nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--secondary-blue);
  border-radius: 2px;
}

.nav-cta {
  background: var(--primary-blue);
  color: white !important;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
}

.nav-cta:hover {
  background: var(--secondary-blue);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* Nav Sub-Menu Dropdown (产品中心下拉子菜单) */
.nav-item-dropdown {
  position: relative;
}

.dropdown-arrow {
  font-size: 12px;
  margin-left: 4px;
  transition: transform 0.25s ease;
}

.nav-item-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* PC Hover Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 220px;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 35px rgba(20, 61, 125, 0.15);
  border: 1px solid var(--border-color);
  padding: 10px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0 !important;
}

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

.dropdown-menu li {
  margin: 0;
  padding: 0;
  width: 100%;
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background: rgba(0, 102, 204, 0.08);
  color: var(--secondary-blue);
  padding-left: 24px;
}

/* Page Banner */
.page-banner {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #0a2540 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(circle at 80% 20%, rgba(0, 168, 255, 0.15) 0%, transparent 60%);
}

.page-banner h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  position: relative;
  z-index: 1;
}

.breadcrumb a {
  color: white;
}

.breadcrumb a:hover {
  color: var(--accent-cyan);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-blue);
  color: white;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--secondary-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,102,204,0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--primary-blue);
  color: white;
}

/* Section Layouts with Mechanical Watermark Decorations */
.section {
  padding: 85px 0;
  position: relative;
  overflow: hidden;
}

.bg-light {
  background-color: var(--bg-light);
  background-image: 
    radial-gradient(var(--border-color) 1px, transparent 0),
    radial-gradient(var(--border-color) 1px, var(--bg-light) 0);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
}

/* Mechanical Background Gear Watermark Elements */
.section::before,
.section::after {
  content: '\f085'; /* FontAwesome Gear Icon unicode */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  color: rgba(20, 61, 125, 0.035);
  font-size: 260px;
  pointer-events: none;
  z-index: 0;
  line-height: 1;
}

.section::before {
  top: -60px;
  left: -80px;
  animation: gearRotateSlow 90s linear infinite;
}

.section::after {
  bottom: -90px;
  right: -90px;
  font-size: 320px;
  color: rgba(0, 102, 204, 0.03);
  animation: gearRotateReverse 110s linear infinite;
}

@keyframes gearRotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes gearRotateReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

/* Container content above background gear watermarks */
.section > .container {
  position: relative;
  z-index: 1;
}

.section-title {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-title span {
  color: var(--secondary-blue);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 8px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-blue);
}

.section-title p {
  color: var(--text-muted);
  margin-top: 10px;
  font-size: 16px;
}

/* Grids & Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 30px;
  align-items: stretch;
}

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

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,102,204,0.3);
}

.card-img-wrapper {
  width: 100%;
  height: 240px;
  background: var(--bg-light);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 10px;
  transition: transform 0.4s ease;
  box-sizing: border-box;
}

/* Case Photo Aspect Fill Style (工程案例全景图满铺) */
.card-case-img-wrapper {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
  background: #0b192c;
  display: block;
}

.card-case-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
  display: block;
}

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

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

.card-body {
  padding: 24px;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 10px;
}

.card-title a {
  color: var(--primary-blue);
  text-decoration: none !important;
  transition: color 0.25s ease;
}

.card-title a:hover {
  color: var(--secondary-blue);
}

.card-text {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* GEO structured view component */
.geo-knowledge-card {
  background: linear-gradient(135deg, #f0f7ff 0%, #e6f0fa 100%);
  border: 1px solid #cce3de;
  border-left: 4px solid var(--secondary-blue);
  padding: 24px;
  border-radius: var(--radius-md);
  margin-bottom: 40px;
  display: none;
}

.geo-knowledge-card h3 {
  color: var(--primary-blue);
  font-size: 18px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Footer */
.site-footer {
  background: #0b192c;
  color: #94a3b8;
  padding: 70px 0 30px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 0.9fr 1.8fr 1.5fr;
  gap: 35px;
  margin-bottom: 50px;
}

.footer-col h4 {
  color: white;
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: var(--secondary-blue);
}

.footer-col p {
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.footer-links a:hover {
  color: var(--accent-cyan) !important;
  padding-left: 5px;
}

/* 2-Column Responsive Footer Links for Core Products */
.footer-links-2col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-2col li {
  margin-bottom: 0;
}

.footer-links-2col a {
  color: #94a3b8;
  text-decoration: none !important;
  font-size: 13px;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  transition: all 0.25s ease;
}

.footer-links-2col a:hover {
  color: var(--accent-cyan) !important;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

/* Product Layout with Sidebar */
.layout-with-sidebar {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 35px;
}

.category-sidebar {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  height: fit-content;
}

.category-sidebar h3 {
  color: var(--primary-blue);
  font-size: 18px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-blue);
}

.category-list {
  list-style: none;
}

.category-item {
  margin-bottom: 6px;
}

.category-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.category-link:hover, .category-link.active {
  background: var(--primary-blue);
  color: white;
}

.category-count {
  background: rgba(0,0,0,0.06);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 12px;
}

.category-link:hover .category-count, .category-link.active .category-count {
  background: rgba(255,255,255,0.2);
  color: white;
}

/* 3-Level Sub-Category Submenu (三级分类列表样式) */
.sub-category-list {
  list-style: none;
  padding-left: 14px;
  margin-top: 4px;
  display: none; /* Collapsed by default until expanded */
}

.category-item.expanded .sub-category-list {
  display: block;
  animation: slideSub 0.25s ease-out;
}

.sub-category-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  border-left: 2px solid var(--border-color);
  margin-bottom: 2px;
  transition: all 0.2s ease;
}

.sub-category-link:hover, .sub-category-link.active {
  color: var(--secondary-blue);
  border-left-color: var(--secondary-blue);
  background: rgba(0, 102, 204, 0.06);
  padding-left: 16px;
  font-weight: 700;
}

.sub-category-link.active::before {
  content: '▶ ';
  font-size: 10px;
  color: var(--secondary-blue);
  margin-right: 4px;
}

/* 无子类直接跳转的主分类选中状态 (Active Direct Category) */
a.category-link.active {
  background: var(--primary-blue) !important;
  color: white !important;
  box-shadow: 0 4px 10px rgba(20, 61, 125, 0.15);
}

/* 包含子类的主分类当子类激活时的视觉强调 (Active Parent Category) */
.category-item.active-parent > .category-link {
  background: rgba(0, 102, 204, 0.1);
  color: var(--primary-blue);
  border-left: 4px solid var(--secondary-blue);
  font-weight: 700;
}

.cat-arrow {
  font-size: 11px;
  transition: transform 0.25s ease;
  margin-left: 6px;
}

.category-item.expanded .cat-arrow {
  transform: rotate(180deg);
}

@keyframes slideSub {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Home Blog Section 5-Article Layout */
.home-blog-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: stretch;
}

.blog-featured-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.blog-featured-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.blog-featured-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.blog-featured-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-list-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blog-item-mini {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  transition: all 0.25s ease;
}

.blog-item-mini:hover {
  border-color: var(--secondary-blue);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.blog-item-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 4px;
}

.blog-item-date {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Pagination Styles */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
}

.page-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  background: white;
  border: 1px solid var(--border-color);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-main);
  transition: all 0.25s ease;
}

.page-item a {
  color: inherit;
  display: flex;
  align-items: center;
}

.page-item:hover, .page-item.active {
  background: var(--primary-blue);
  color: white;
  border-color: var(--primary-blue);
}

.page-item.prev-next a {
  font-weight: 600;
}

/* Blog List Thumb Layout (自适应有无缩略图) */
.blog-card-thumb {
  display: flex;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.blog-card-thumb:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--secondary-blue);
  transform: translateY(-2px);
}

.blog-thumb-img {
  width: 240px;
  height: 180px;
  object-fit: cover;
  flex-shrink: 0;
}

/* 智能兼容无缩略图模式 */
.blog-thumb-img[src=""],
.blog-thumb-img:not([src]) {
  display: none !important;
}

.blog-thumb-content {
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1; /* 自动撑满卡片剩余空间 */
  min-width: 0; /* 防止长文本溢出 */
}

/* Product Gallery Lightbox Styles */
.gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 15px;
}

.gallery-thumb-item {
  width: 90px;
  height: 65px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.gallery-thumb-item:hover, .gallery-thumb-item.active {
  border-color: var(--secondary-blue);
  transform: scale(1.05);
}

/* Product Principle 4-Image Grid (一行4张) & Lightbox Slideshow */
.principle-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.principle-gallery-card {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.principle-gallery-card:hover {
  transform: translateY(-4px);
  border-color: var(--secondary-blue);
  box-shadow: var(--shadow-md);
}

.principle-gallery-img-box {
  position: relative;
  width: 100%;
  height: 155px;
  overflow: hidden;
  background: #0f172a;
}

.principle-gallery-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.principle-gallery-card:hover .principle-gallery-img-box img {
  transform: scale(1.08);
}

.principle-gallery-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(11, 25, 44, 0.55);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.principle-gallery-card:hover .principle-gallery-overlay {
  opacity: 1;
}

.gallery-zoom-badge {
  background: var(--secondary-blue);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.principle-gallery-info {
  padding: 12px 14px;
  background: white;
  flex: 1;
}

.principle-gallery-info h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 4px;
  line-height: 1.35;
}

.principle-gallery-info p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 992px) {
  .principle-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .principle-gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Lightbox Slideshow Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(8, 15, 26, 0.94);
  backdrop-filter: blur(10px);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  user-select: none;
}

.lightbox-modal.active {
  display: flex;
}

.slideshow-stage {
  position: relative;
  max-width: 88vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.1);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.slideshow-caption {
  margin-top: 14px;
  color: white;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  background: rgba(255, 255, 255, 0.12);
  padding: 8px 22px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.slideshow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 10002;
}

.slideshow-btn:hover {
  background: var(--secondary-blue);
  border-color: var(--secondary-blue);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.5);
}

.slideshow-prev {
  left: 30px;
}

.slideshow-next {
  right: 30px;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  color: white;
  font-size: 32px;
  cursor: pointer;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  z-index: 10003;
  line-height: 1;
}

.lightbox-close:hover {
  background: rgba(239, 68, 68, 0.85);
  border-color: rgba(239, 68, 68, 1);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .slideshow-prev { left: 10px; width: 42px; height: 42px; font-size: 16px; }
  .slideshow-next { right: 10px; width: 42px; height: 42px; font-size: 16px; }
  .lightbox-close { top: 16px; right: 16px; width: 38px; height: 38px; font-size: 26px; }
  .slideshow-caption { font-size: 13px; padding: 6px 14px; }
}

/* Product Spec Table */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.spec-table th, .spec-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
}

.spec-table th {
  background: var(--primary-blue);
  color: white;
  font-weight: 600;
}

.spec-table tr:nth-child(even) {
  background: var(--bg-light);
}

@media (max-width: 768px) {
  .blog-card-thumb {
    flex-direction: column;
  }
  .blog-thumb-img {
    width: 100%;
    height: 200px;
  }
}

/* Before / After Comparison Slider Container */
.ba-slider-container {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin: 25px 0;
  user-select: none;
}

.ba-image {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
}

.ba-before {
  background-image: url('steel_before.jpg');
}

.ba-after {
  background-image: url('steel_after.jpg');
  width: 50%;
  border-right: 3px solid var(--accent-cyan);
}

.ba-badge {
  position: absolute;
  top: 16px;
  padding: 6px 14px;
  background: rgba(11, 25, 44, 0.85);
  color: white;
  font-size: 13px;
  font-weight: 700;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.ba-badge-before { left: 16px; }
.ba-badge-after { right: 16px; background: rgba(0, 102, 204, 0.85); }

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  background: white;
  border: 2px solid var(--secondary-blue);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary-blue);
  font-weight: bold;
  pointer-events: none;
}

/* Footer Logo SVG White Color Filter Overrides */
.site-footer .footer-col img, .site-footer .footer-col svg {
  filter: brightness(0) invert(1) !important;
}

/* Hero Slider Dots & Controls */
.hero-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.2s ease;
}

.hero-dot.active {
  background: var(--accent-cyan);
  transform: scale(1.2);
}

/* Contact Form Clean Styles */
.contact-form-card {
  background: white;
  padding: 35px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--primary-blue);
}

/* Department Contact Cards (销售、服务、备件部门联系方式卡片) */
.dept-contact-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dept-card {
  background: white;
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--secondary-blue);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.dept-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.dept-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border-color);
}

.dept-card-header h4 {
  color: var(--primary-blue);
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

.dept-card-icon {
  width: 32px;
  height: 32px;
  background: rgba(0, 102, 204, 0.1);
  color: var(--secondary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.dept-contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dept-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-main);
  flex-wrap: wrap;
}

.dept-contact-item i {
  width: 16px;
  color: var(--secondary-blue);
  text-align: center;
}

.dept-contact-label {
  color: var(--text-muted);
  font-size: 13px;
  min-width: 60px;
}

.dept-contact-value {
  font-weight: 600;
}

.dept-contact-value a {
  color: var(--primary-blue);
}

.dept-contact-value a:hover {
  color: var(--secondary-blue);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary-blue);
  font-size: 14px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--secondary-blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

/* Consultation Modal Popup */
.inquiry-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(11, 25, 44, 0.8);
  backdrop-filter: blur(6px);
  z-index: 10005;
  justify-content: center;
  align-items: center;
  padding: 16px;
  box-sizing: border-box;
  overflow-y: auto;
}

.inquiry-modal.active {
  display: flex;
}

.inquiry-modal-content {
  background: white;
  width: 92%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  position: relative;
  box-sizing: border-box;
  margin: auto;
}

.inquiry-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 26px;
  cursor: pointer;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0,0,0,0.05);
  transition: all 0.2s ease;
}

.inquiry-modal-close:hover {
  background: rgba(0,0,0,0.1);
  color: var(--text-main);
}

/* FAQ Accordion Section */
.faq-container {
  margin-top: 30px;
}

.faq-item {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--secondary-blue);
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 16px;
  color: var(--primary-blue);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  user-select: none;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: var(--bg-light);
}

.faq-icon {
  color: var(--secondary-blue);
  transition: transform 0.3s ease;
  font-size: 14px;
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 14px;
  border-top: 1px dashed var(--border-color);
  margin-top: 5px;
  padding-top: 15px;
}

/* Hero Slide Item & Tag */
.hero-slider-container {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  border: 2px solid rgba(255,255,255,0.15);
}

.hero-slide-item {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

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

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

.hero-slide-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(11, 25, 44, 0.85);
  backdrop-filter: blur(8px);
  color: var(--accent-cyan);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid rgba(0, 168, 255, 0.4);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  z-index: 5;
}

/* Mobile Menu Hamburger Toggle & Mobile Navigation Drawer */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 24px;
  color: var(--primary-blue);
  cursor: pointer;
  padding: 8px;
}

/* Quick Floating Contact Widget (Right Side Circular Buttons) */
.quick-contact-widget {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quick-contact-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.quick-contact-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(20, 61, 125, 0.35);
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255,255,255,0.25);
  text-decoration: none;
}

.quick-contact-btn:hover {
  background: var(--secondary-blue);
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.5);
}

/* PC Hover Tooltip Label */
.quick-contact-label {
  position: absolute;
  right: 64px;
  background: rgba(11, 25, 44, 0.9);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.quick-contact-item:hover .quick-contact-label {
  opacity: 1;
  visibility: visible;
  right: 68px;
}

/* Scroll To Top Button */
#back-to-top-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(20, 61, 125, 0.85);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  border: 2px solid rgba(255,255,255,0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

#back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

#back-to-top-btn:hover {
  background: var(--accent-cyan);
  color: var(--primary-blue);
  transform: translateY(-4px);
}

/* Comprehensive Mobile Responsive Styles (< 992px) */
@media (max-width: 992px) {
  .top-bar {
    display: none; /* Hide cluttered topbar on mobile */
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 10000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
  }

  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    padding: 0 16px;
    position: relative;
  }

  .logo-link img {
    height: 38px;
  }

  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(20, 61, 125, 0.08);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 20px;
    color: var(--primary-blue);
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .mobile-menu-toggle:active {
    background: rgba(20, 61, 125, 0.15);
  }

  /* Dropdown Nav Overlay Drawer on Mobile */
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    padding: 12px 20px 24px;
    border-bottom: 2px solid var(--primary-blue);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    z-index: 9999;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  /* Mobile Dropdown Submenu Accordion */
  .nav-item-dropdown .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    padding: 6px 0;
    margin-top: 8px;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-item-dropdown.mobile-open .dropdown-menu {
    display: flex;
  }

  .nav-item-dropdown.mobile-open .dropdown-arrow {
    transform: rotate(180deg);
  }

  .main-nav.active {
    display: block;
    animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .main-nav ul {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }

  .nav-link {
    display: block;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid #f1f5f9;
  }

  .nav-link.active, .nav-link:hover {
    background: rgba(0, 102, 204, 0.08);
    color: var(--secondary-blue);
  }

  .nav-link.active::after, .nav-link:hover::after {
    display: none;
  }

  .nav-cta {
    display: block;
    margin-top: 10px;
    text-align: center;
    background: var(--primary-blue);
    color: white !important;
    padding: 12px 0;
    border-radius: var(--radius-sm);
  }

  .lang-switch-link {
    display: inline-flex !important;
    margin-top: 8px;
    justify-content: center;
  }

  .layout-with-sidebar {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .home-blog-layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .product-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .hero-slider-container {
    height: 240px;
  }

  .blog-card-thumb {
    flex-direction: column;
  }

  .blog-thumb-img {
    width: 100%;
    height: 180px;
  }

  .hero-slide-tag {
    font-size: 12px;
    padding: 6px 12px;
    bottom: 12px; left: 12px;
  }

  /* Quick Floating Contact Widget Mobile Transformation */
  body {
    padding-bottom: 70px !important;
  }

  .quick-contact-widget {
    right: 0;
    left: 0;
    bottom: 0;
    top: auto;
    width: 100%;
    transform: none;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    padding: 8px 12px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    border-top: 1px solid var(--border-color);
    border-radius: 0;
    box-sizing: border-box;
  }

  .quick-contact-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .quick-contact-item:has(#back-to-top-btn),
  .quick-contact-item:last-child {
    display: none !important; /* Hide back to top item inside the 3-button bottom bar container on mobile */
  }

  .quick-contact-btn {
    width: 48px;
    height: 48px;
    font-size: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  }

  /* Hide text labels entirely on mobile bottom bar to ensure clean display */
  .quick-contact-label {
    display: none !important;
  }

  #back-to-top-btn {
    position: fixed;
    right: 16px;
    bottom: 76px;
    width: 44px;
    height: 44px;
    font-size: 16px;
    z-index: 9998;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 30px;
  }

  /* Mobile Category Select Dropdown */
  .mobile-category-select-wrapper {
    display: block !important;
    margin-bottom: 20px;
  }

  .mobile-category-select {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-blue);
    background: white;
    border: 2px solid var(--secondary-blue);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    outline: none;
    cursor: pointer;
  }

  .category-sidebar .category-list {
    display: none !important;
  }

  .category-sidebar {
    padding: 16px;
  }

  .category-sidebar h3 {
    margin-bottom: 12px;
  }

  /* Product Spec Table Mobile Responsive Horizontal Scroll & Card Layout */
  .spec-table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 15px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
  }

  .spec-table {
    min-width: 650px; /* Allow table to scroll horizontally on small screens without squishing */
    margin-top: 0;
  }

  .spec-table th, .spec-table td {
    padding: 10px 12px;
    font-size: 13px;
    white-space: nowrap;
  }
}

/* Default Desktop view for Category Select Wrapper */
.mobile-category-select-wrapper {
  display: none;
}

/* Alternating Left-Image Right-Text / Right-Image Left-Text Layout (左图右文 / 右图左文交错展示) */
.staggered-feature-container {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-top: 30px;
}

.staggered-feature-item {
  display: flex;
  align-items: center;
  gap: 40px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.staggered-feature-item:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 102, 204, 0.25);
  transform: translateY(-3px);
}

.staggered-feature-item.reverse {
  flex-direction: row-reverse;
}

.staggered-feature-img-wrap {
  flex: 1;
  min-width: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
  background: #0b192c;
  height: 300px;
}

.staggered-feature-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
  cursor: pointer;
}

.staggered-feature-item:hover .staggered-feature-img-wrap img {
  transform: scale(1.04);
}

.staggered-feature-img-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(11, 25, 44, 0.85);
  color: white;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.staggered-feature-content {
  flex: 1;
  min-width: 0;
}

.staggered-feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 102, 204, 0.08);
  color: var(--secondary-blue);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  border: 1px solid rgba(0, 102, 204, 0.15);
}

.staggered-feature-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 12px;
  line-height: 1.35;
}

.staggered-feature-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.staggered-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.staggered-feature-list li {
  font-size: 14px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.staggered-feature-list li i {
  color: var(--secondary-blue);
  font-size: 13px;
}

@media (max-width: 992px) {
  .staggered-feature-item,
  .staggered-feature-item.reverse {
    flex-direction: column !important;
    gap: 20px;
    padding: 20px;
  }
  .staggered-feature-img-wrap {
    width: 100%;
    height: 240px;
  }
}








