:root {
  --primary: #1a3a5c;
  --primary-light: #2a5a8c;
  --primary-dark: #0f2440;
  --accent: #00a651;
  --accent-hover: #008c44;
  --accent-light: #e6f9ef;
  --bg-light: #f5f7fa;
  --bg-white: #ffffff;
  --text-dark: #333333;
  --text-light: #666666;
  --text-muted: #999999;
  --border-color: #e0e4ea;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
  --max-width: 1280px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: auto;
  overflow-y: scroll;
  font-size: 16px;
}

html.i18n-pending[data-lang-pref="zh"] body > :not(.header) [data-i18n] {
  visibility: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

html[lang="zh-CN"] body,
html[data-lang-pref="zh"] body,
html[lang="zh-CN"] body :where(*:not(.logo):not(.logo *)),
html[data-lang-pref="zh"] body :where(*:not(.logo):not(.logo *)) {
  font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--primary);
}

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

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

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: height 0.35s ease, background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.header.scrolled {
  height: 56px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  border-bottom-color: rgba(224, 228, 234, 0.5);
}

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

.logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.logo img {
  height: 1.2rem;
  width: auto;
}

.logo span {
  color: var(--accent);
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--accent);
  background: var(--accent-light);
}

.nav-link.active {
  color: var(--accent);
}

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

.nav-dropdown .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.nav-dropdown .dropdown-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.nav-dropdown:hover .dropdown-toggle svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity var(--transition),
    transform var(--transition),
    visibility 0s linear 0.16s;
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0.16s, 0.16s, 0s;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.875rem;
  color: var(--text-dark);
  transition: all var(--transition);
}

.dropdown-menu a:hover {
  background: var(--accent-light);
  color: var(--accent);
  padding-left: 24px;
}

/* Lang Toggle */
.lang-toggle {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  margin-left: 8px;
  flex-shrink: 0;
  height: 32px;
}

.lang-toggle button {
  border: none;
  background: transparent;
  padding: 0 12px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
  line-height: 1;
  display: flex;
  align-items: center;
}

.lang-toggle button.active {
  background: var(--primary);
  color: white;
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: all var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== NAV SEARCH ===== */
.nav-search-wrap {
  position: relative;
  flex-shrink: 0;
}
.nav-search-input {
  width: 200px;
  height: 36px;
  padding: 0 36px 0 14px;
  border: 1.5px solid var(--border-color);
  border-radius: 50px;
  font-size: 13px;
  color: var(--text-dark);
  background: var(--bg-light);
  outline: none;
  transition: width 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.nav-search-input:focus {
  width: 240px;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,166,81,0.1);
  background: #fff;
}
.nav-search-input::placeholder { color: var(--text-muted); font-size: 13px; }
.nav-search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}
.nav-search-btn:hover { color: var(--accent); background: var(--accent-light, #e6f9ef); }
.nav-search-btn svg { width: 16px; height: 16px; }

.nav-menu-search {
  display: none;
}

.nav-menu-search form {
  position: relative;
}

.nav-menu-search input {
  width: 100%;
  height: 42px;
  padding: 0 44px 0 16px;
  border: 1.5px solid rgba(0, 166, 81, 0.22);
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.78);
  outline: none;
}

.nav-menu-search input:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 166, 81, 0.12);
}

.nav-menu-search button {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  transform: translateY(-50%);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-menu-search svg {
  width: 15px;
  height: 15px;
}

/* ===== HERO ===== */
.hero {
  margin-top: var(--header-height);
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.35;
}

.hero-banner-plain .hero-bg {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,58,92,0.9) 0%, rgba(26,58,92,0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 80px 0;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  line-height: 1.15;
}

.hero-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-page {
  min-height: 520px;
}

.hero-page .hero-content h1 {
  font-size: 2.4rem;
}

.home-hero {
  min-height: 600px;
}

.home-hero-slides {
  position: absolute;
  inset: 0;
}

.home-hero .hero-bg.home-hero-slide {
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.75s ease, transform 6s ease;
}

.home-hero .hero-bg.home-hero-slide.is-active {
  opacity: 0.46;
  transform: scale(1);
}

.home-hero .hero-content {
  padding: 96px 0 132px;
}

.home-hero-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-hero-dots button {
  width: 12px;
  height: 12px;
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 999px;
  background: rgba(255,255,255,0.28);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.home-hero-dots button.active {
  background: #ffffff;
  border-color: #ffffff;
  transform: scale(1.15);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
  justify-content: center;
}

.btn-primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,166,81,0.35);
}

.btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.4);
}

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

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

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

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 0;
}

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

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 8px;
}

/* ===== CARDS ===== */
.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Industries grid on homepage: desktop 5col set via inline style */
.home-industries-grid { gap: 20px; }
.home-industries-grid .card { text-decoration: none; color: inherit; }

/* Desktop: hide icon circles */
.ind-icon-circle { display: none; }

/* Mobile: 2-col grid cards with colored icon */
@media (max-width: 768px) {
  .home-industries-grid,
  .home-industries-grid[style] {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }
  .home-industries-grid .card-img { display: none !important; }
  .home-industries-grid .card {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 12px;
    border: none;
    border-radius: var(--radius-lg);
    background: var(--bg-white);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    gap: 12px;
    transition: box-shadow 0.2s, transform 0.2s;
  }
  .home-industries-grid .card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); transform: translateY(-2px); }
  .ind-icon-circle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), #2a5a8c);
    flex-shrink: 0;
  }
  .ind-icon-circle svg { width: 22px; height: 22px; color: #fff; }
  .home-industries-grid .card-body { padding: 0; text-align: center; }
  .home-industries-grid .card-body h3 { font-size: 0.82rem; margin-bottom: 0; font-weight: 600; color: var(--text-dark); }
  .home-industries-grid .card-link { display: none; }
  .home-industries-grid .card::after {
    display: none;
  }
}

.card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0);
  transform: translateZ(0);
  transition: transform var(--transition),
              border-color var(--transition),
              box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, box-shadow;
  backface-visibility: hidden;
}

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

.card-grid[data-home-products-grid] .card {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0);
  transition: box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              border-color var(--transition);
  will-change: box-shadow;
}

.card-grid[data-home-products-grid] .card:hover {
  transform: none;
  box-shadow: var(--shadow-md);
}

.card-grid[data-home-products-grid] .card.animate-on-scroll {
  transition-property: opacity, transform, box-shadow, border-color;
  transition-duration: 0.6s, 0.6s, 0.45s, 0.3s;
  transition-timing-function: ease, ease, cubic-bezier(0.22, 1, 0.36, 1), ease;
}

[data-products-overview-grid] .products-overview-entry {
  min-width: 0;
}

[data-products-overview-grid] .products-overview-entry .card {
  height: 100%;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0);
  transition: box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              border-color var(--transition);
  will-change: box-shadow;
}

[data-products-overview-grid] .products-overview-entry .card:hover {
  transform: none;
  box-shadow: var(--shadow-md);
}

.products-overview-entry.animate-on-scroll {
  transition-property: opacity, transform;
  transition-duration: 0.6s, 0.6s;
  transition-timing-function: ease, ease;
}

@media (min-width: 769px) {
  [data-home-industries-grid] .card {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0);
    transition: box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                transform var(--transition),
                border-color var(--transition);
  }

  [data-home-industries-grid] .card:hover {
    box-shadow: var(--shadow-md);
  }
}

.card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--bg-light);
}

.card-body {
  padding: 20px;
}

.card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.card-body p {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.6;
}

.card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}

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

/* ===== PRODUCT CARD ===== */
.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0);
  transition: transform var(--transition),
              border-color var(--transition),
              box-shadow 0.46s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

#related-products-grid .product-card:hover {
  transform: none;
}

.product-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--bg-light);
}

.product-card-body {
  padding: 16px 20px 20px;
}

.product-card-model {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.product-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.product-card-spec {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 22px 0 18px;
  font-size: 0.9rem;
  line-height: 1.35;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding-bottom: 0;
  text-decoration: none;
  transition: color var(--transition);
}

.breadcrumb a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  pointer-events: none;
}

.breadcrumb a[data-i18n="nav.home"]::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20fill='black'%20d='M10%2020v-6h4v6h5v-8h3L12%203%202%2012h3v8z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20fill='black'%20d='M10%2020v-6h4v6h5v-8h3L12%203%202%2012h3v8z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.breadcrumb a[data-i18n="nav.home"]::after {
  left: 26px;
}

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

.breadcrumb .separator {
  color: var(--text-light);
}

.breadcrumb > span:not(.separator) {
  color: var(--text-dark);
}

.breadcrumb-wrap {
  background: var(--bg-white);
}

.breadcrumb-after-hero .breadcrumb {
  padding-top: 30px;
  padding-bottom: 16px;
}

.breadcrumb-before-hero {
  margin-top: var(--header-height);
}

.breadcrumb-before-hero .breadcrumb,
body > div[style*="margin-top:72px"] > .container > .breadcrumb {
  padding-bottom: 33px;
}

.breadcrumb-before-hero + .category-hero {
  margin-top: 0;
}

.breadcrumb-after-hero + .section {
  padding-top: 24px;
}

@media (max-width: 768px) {
  .breadcrumb {
    font-size: 0.9rem;
    gap: 10px;
  }

  .breadcrumb a[data-i18n="nav.home"]::before {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }

  .breadcrumb a[data-i18n="nav.home"]::after {
    left: 24px;
  }

  .breadcrumb-after-hero .breadcrumb {
    padding-top: 24px;
    padding-bottom: 12px;
  }

  .breadcrumb-after-hero + .section {
    padding-top: 20px;
  }
}

@media (max-width: 1024px) {
  .breadcrumb-before-hero .breadcrumb,
  body > div[style*="margin-top:72px"] > .container > .breadcrumb {
    padding-bottom: 14px;
  }
}

/* ===== CATEGORY HERO ===== */
.category-hero {
  margin-top: var(--header-height);
  background: var(--primary);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 40px 0;
  color: white;
}

.product-category-hero {
  margin-top: 0;
}

.industry-detail-page .category-hero {
  margin-top: 0;
}

.industry-detail-page .section.section-light {
  padding-top: 32px;
}

.category-hero h1 {
  color: white;
  font-size: 2rem;
  margin-bottom: 12px;
}

.category-hero p {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
}

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 40px 0;
}

.pagination button {
  min-width: 40px;
  width: auto;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border-color);
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}

.pagination button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.pagination button.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ===== PRODUCT DETAIL ===== */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 40px 0;
}

.product-gallery {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  align-self: start;
}

.product-main-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: var(--bg-light);
  margin-bottom: 12px;
}

.product-thumbs {
  display: flex;
  gap: 8px;
}

.product-thumb {
  width: 72px;
  height: 54px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: all var(--transition);
  background: var(--bg-light);
}

.product-thumb:hover,
.product-thumb.active {
  border-color: var(--accent);
  opacity: 1;
}

.product-info h1 {
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.product-info .product-model {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  display: block;
}

.product-info .product-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.7;
}

.product-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

/* Spec Table */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
}

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

.spec-table td {
  padding: 10px 16px;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border-color);
}

.spec-table td:first-child {
  font-weight: 600;
  color: var(--primary);
  width: 180px;
}

/* 3D Viewer */
.viewer-section {
  margin-top: 48px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.viewer-header {
  background: var(--primary);
  color: white;
  padding: 14px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.viewer-body {
  height: 400px;
  background: #1a1a2e;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: grab;
}

.viewer-body canvas {
  width: 100% !important;
  height: 100% !important;
}

.viewer-placeholder {
  text-align: center;
  color: rgba(255,255,255,0.5);
}

.viewer-placeholder svg {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  opacity: 0.5;
}

.viewer-placeholder p {
  font-size: 0.85rem;
}

/* Related Products */
.related-section {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border-color);
}

.related-section h2 {
  font-size: 1.4rem;
  margin-bottom: 24px;
}

/* ===== WHY SECTION ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.feature-card {
  text-align: center;
  padding: 32px 20px;
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
}

.footer-about .logo {
  color: white;
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.footer-about .logo img {
  height: 1.2rem;
  width: auto;
  filter: brightness(0) saturate(100%) invert(40%) sepia(85%) saturate(700%) hue-rotate(112deg) brightness(95%);
}

.footer-links a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  padding: 4px 0;
  transition: color var(--transition);
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.85rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  transition: border-color var(--transition);
  background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,166,81,0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-info-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 28px;
}

.contact-info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.info-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.info-item p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.5;
}

.map-placeholder {
  width: 100%;
  height: 200px;
  background: var(--border-color);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 24px;
}

/* ===== ABOUT PAGE ===== */
.about-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
}

.about-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: var(--bg-light);
}

.about-text h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.about-text p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.7;
}

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

.value-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.value-card .value-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.value-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
  padding-left: 24px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 2px var(--accent);
}

.timeline-item .year {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.timeline-item h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.timeline-item p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  text-align: center;
  padding: 24px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.team-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--bg-light);
  margin: 0 auto 16px;
  overflow: hidden;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.team-card .role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== INDUSTRY PAGE ===== */
.industry-hero {
  padding: 60px 0;
  background: var(--primary);
  color: white;
}

.industry-hero h1 {
  color: white;
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.industry-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  max-width: 700px;
}

.industry-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  padding: 48px 0;
}

.industry-sidebar h3 {
  font-size: 1rem;
  margin-bottom: 16px;
}

.industry-sidebar a {
  display: block;
  padding: 8px 0;
  font-size: 0.875rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--border-color);
  transition: color var(--transition);
}

.industry-sidebar a:hover {
  color: var(--accent);
}

.industry-text h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.industry-text p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.7;
}

/* ===== CTA BAR ===== */
.cta-bar {
  background: var(--accent);
  padding: 48px 0;
  text-align: center;
  color: white;
}

.cta-bar h2 {
  color: white;
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.cta-bar p {
  font-size: 1rem;
  margin-bottom: 24px;
  opacity: 0.9;
}

.cta-bar .btn {
  background: white;
  color: var(--accent);
  border-color: white;
}

.cta-bar .btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ===== 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);
}

.card.animate-on-scroll {
  transition-property: opacity, transform, box-shadow, border-color;
  transition-duration: 0.6s, 0.6s, 0.45s, 0.3s;
  transition-timing-function: ease, ease, cubic-bezier(0.22, 1, 0.36, 1), ease;
}

.card.animate-on-scroll.animated {
  transition-delay: 0s !important;
}

.products-overview-entry.animate-on-scroll {
  transition-property: opacity, transform;
  transition-duration: 0.6s, 0.6s;
  transition-timing-function: ease, ease;
}

.product-card.animate-on-scroll {
  transition-property: opacity, transform, box-shadow, border-color;
  transition-duration: 0.6s, 0.6s, 0.46s, 0.3s;
  transition-timing-function: ease, ease, cubic-bezier(0.22, 1, 0.36, 1), ease;
}

.product-card.animate-on-scroll.animated {
  transition-delay: 0s !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }

  /* 导航在1200px及以下切换为汉堡菜单 */
  .header .container {
    position: relative;
  }

  .nav-actions {
    margin-left: auto;
  }

  .nav-main {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    width: 100vw;
    max-height: calc(100vh - var(--header-height));
    height: auto;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    flex-direction: column;
    align-items: center;
    padding: 22px 20px;
    border: none;
    border-radius: 0;
    box-shadow: 0 20px 52px rgba(15, 35, 55, 0.16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-18px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
    z-index: 999;
    overflow-y: auto;
  }

  .header.scrolled .nav-main {
    top: 56px;
    max-height: calc(100vh - 56px);
  }

  .nav-main.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-link, .nav-dropdown .dropdown-toggle {
    padding: 12px 16px;
    font-size: 1rem;
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .nav-main > .nav-link,
  .nav-main > .nav-dropdown {
    position: relative;
  }

  .nav-main > .nav-link::before,
  .nav-main > .nav-dropdown::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 166, 81, 0), rgba(0, 166, 81, 0.34), rgba(0, 166, 81, 0));
    pointer-events: none;
  }

  .nav-dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 8px 0;
    display: none;
    background: rgba(245, 247, 250, 0.82);
    border-radius: var(--radius-sm);
    margin: 4px auto 0;
    text-align: center;
  }

  .dropdown-menu.open {
    display: block;
  }

  .dropdown-menu a:hover {
    padding-left: 20px;
  }

  .hamburger {
    display: flex;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .nav-search-wrap { display: none; }
  .nav-menu-search {
    display: block;
    width: 100%;
    margin-bottom: 6px;
  }

  .mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 28, 45, 0.34);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 998;
  }

  .mobile-overlay.active {
    display: block;
  }

  .nav-dropdown .dropdown-toggle svg {
    transform: rotate(0deg);
  }
  .nav-dropdown .dropdown-toggle.active svg {
    transform: rotate(180deg);
  }
}

@media (max-width: 1024px) {
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-content h1 { font-size: 2.4rem; }
  .home-hero { min-height: 560px; }
  .home-hero .hero-content { padding: 88px 0 122px; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
  .about-overview { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .industry-content { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero-content h1 { font-size: 2rem; }
  .hero { min-height: 400px; }
  .home-hero { height: 460px; min-height: 460px; }
  .home-hero .hero-content { padding: 72px 0 104px; }
  .home-hero-dots { bottom: 20px; }
  .section { padding: 56px 0; }
  .section-header h2 { font-size: 1.6rem; }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-2 { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 576px) {
  .hero-content h1 { font-size: 1.7rem; }
  .hero-content p { font-size: 1rem; }
  .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .product-actions { flex-direction: column; }
  .product-actions .btn { width: 100%; }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-2px);
}
.back-to-top svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
  .back-to-top svg { width: 18px; height: 18px; }
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }

/* ===== LEGAL PAGES ===== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-light);
  line-height: 1.8;
  font-size: 0.92rem;
}
.legal-content h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin: 36px 0 14px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 20px 0 8px;
}
.legal-content p {
  margin-bottom: 12px;
}
.legal-content ul {
  margin: 0 0 16px 20px;
  padding: 0;
}
.legal-content ul li {
  margin-bottom: 6px;
}
.legal-content strong { color: var(--text-dark); }
@media (max-width: 768px) {
  .legal-content { font-size: 0.85rem; }
  .legal-content h2 { font-size: 1.15rem; }
}

/* ===== INDUSTRY OVERVIEW (about.html uses .about-overview, industry sub-pages use .ind-overview) ===== */
.ind-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 768px) { .ind-overview { grid-template-columns: 1fr; } }

.ind-overview-img {}
.ind-overview-pic {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.ind-overview-text h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

.ind-overview-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.ind-highlight-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--accent-light, #e6f9ef);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
}

.ind-overview-text p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 12px;
  font-size: 15px;
}
.ind-overview-text p:last-child { margin-bottom: 0; }

/* ===== INDUSTRY ROWS (industries.html redesign) ===== */
.ind-rows { display: flex; flex-direction: column; }
.ind-row {
  display: grid;
  grid-template-columns: 40% 60%;
  align-items: center;
  text-decoration: none;
  color: inherit;
  min-height: 260px;
  transition: transform 0.4s,
              box-shadow 0.46s cubic-bezier(0.22, 1, 0.36, 1);
}
.ind-row:nth-child(even) { grid-template-columns: 60% 40%; }
.ind-row:nth-child(even) .ind-row-img-wrap { order: 2; }
.ind-row:nth-child(even) .ind-row-text { order: 1; }

.ind-row:nth-child(odd) { background: #fff; }
.ind-row:nth-child(even) { background: var(--bg-light); }

.ind-row:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.08); transform: translateY(-2px); z-index: 1; position: relative; }
.ind-row:hover .ind-row-title { color: var(--accent); }

.ind-row-img-wrap {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  height: auto;
  min-height: 0;
}
.ind-row-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s;
}
.ind-row:hover .ind-row-img-wrap img { transform: scale(1.05); }

.ind-row-text { padding: 40px 48px; }
.ind-row-title {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  transition: color 0.3s;
}
.ind-row-desc { color: var(--text-light); line-height: 1.75; font-size: 15px; margin-bottom: 20px; }
.ind-row-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  transition: gap 0.3s;
}
.ind-row-arrow svg { transition: transform 0.3s; }
.ind-row:hover .ind-row-arrow { gap: 14px; }
.ind-row:hover .ind-row-arrow svg { transform: translateX(4px); }

@media (max-width: 768px) {
  .ind-row { grid-template-columns: 35% 65% !important; }
  .ind-row:nth-child(even) { grid-template-columns: 65% 35% !important; }
  .ind-row-img-wrap {
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: 0;
  }
  .ind-row-text { padding: 20px 16px; }
  .ind-row-title { font-size: 17px; }
  .ind-row-desc { font-size: 13px; }
  .ind-row-arrow { font-size: 13px; }
}

/* ===== SEARCH RESULTS PAGE ===== */
.search-hero { text-align: center; padding: 48px 0 24px; }

.search-results-info { color: var(--text-light); font-size: 14px; margin-bottom: 24px; }
.search-results-info strong { color: var(--primary); font-weight: 600; }

.search-empty { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.search-empty-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.4; }
.search-empty h3 { font-family: 'Poppins', sans-serif; color: var(--text-light); margin-bottom: 8px; }

.search-tag { display: inline-block; background: var(--accent-light, #e6f9ef); color: var(--accent); font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 12px; margin-left: 0; vertical-align: middle; }
.search-card-link { display: flex; margin-top: 8px; }

@media (max-width: 576px) {
  .search-form { padding: 4px 4px 4px 14px; }
  .search-form .search-btn { padding: 10px 16px; font-size: 13px; }
}
