/* ========================================
   博士通重工 - 主样式文件
   ======================================== */

/* 导入字体 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS 变量 */
:root {
  --nav-bg: #1A3A5C;
  --footer-bg: #0D2240;
  --primary-blue: #2B7DE9;
  --accent-blue: #5AAFF5;
  --light-bg: #F2F7FF;
  --card-border: #D0E8FF;
  --hero-bg: #152D50;
  --footer-divider: #1E3D60;
  --inactive-nav: #A8CCF0;
  --active-nav: #FFFFFF;
  --brand-sub: #7BAEDD;
  --text-dark: #1A3A5C;
  --text-body: #4A5568;
  --text-light: #6B7280;
  --card-bg: #F5F9FF;
}

/* 基础重置 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

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

a {
  text-decoration: none;
  color: inherit;
}

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

/* ========================================
   导航栏
   ======================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--nav-bg);
  height: 80px;
  display: flex;
  align-items: center;
  padding: 0 80px;
  gap: 0;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 144px;
  margin: 0 auto 0 auto;
  transform: translateX(15%);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.navbar-logo img {
  height: 55px;
  width: 170px;
  object-fit: contain;
  border-radius: 8px;
}

.navbar-brand-text {
  display: flex;
  flex-direction: column;
}

.navbar-brand-text .brand-name {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
}

.navbar-brand-text .brand-sub {
  color: var(--brand-sub);
  font-size: 11px;
}

.navbar-links a {
  color: var(--inactive-nav);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--active-nav);
}

.navbar-search {
  position: relative;
  margin-left: 32px;
}

.navbar-search input {
  background: #243F5C;
  border: 1px solid #3A6080;
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
  height: 40px;
  width: 220px;
  padding: 0 14px 0 36px;
  outline: none;
  transition: border-color 0.2s;
}

.navbar-search input::placeholder {
  color: #7BAEDD;
}

.navbar-search input:focus {
  border-color: var(--primary-blue);
}

.navbar-search .search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #7BAEDD;
  pointer-events: none;
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 320px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(10,22,40,0.18);
  display: none;
  z-index: 2000;
  overflow: hidden;
  border: 1px solid var(--card-border);
}

.search-dropdown.show {
  display: block;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid #f0f4f8;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background: var(--light-bg);
}

.search-result-item .result-img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  border: 1px solid var(--card-border);
}

.search-result-item .result-info .result-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}

.search-result-item .result-info .result-cat {
  font-size: 11px;
  color: var(--primary-blue);
  margin-top: 2px;
}

.search-no-result {
  padding: 20px 16px;
  text-align: center;
  color: var(--text-light);
  font-size: 13px;
}

.navbar-cta {
  margin-left: 20px;
  background: var(--primary-blue);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.navbar-cta:hover {
  background: #1D6FD4;
}

/* 汉堡菜单（移动端） */
.navbar-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}

.navbar-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

.navbar-mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: var(--nav-bg);
  z-index: 999;
  padding: 20px;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid #243F5C;
}

.navbar-mobile-menu.open {
  display: flex;
}

.navbar-mobile-menu a {
  color: var(--inactive-nav);
  font-size: 15px;
  padding: 12px 0;
  border-bottom: 1px solid #243F5C;
  display: block;
}

.navbar-mobile-menu a:last-child {
  border-bottom: none;
}

.navbar-mobile-menu a:hover,
.navbar-mobile-menu a.active {
  color: #fff;
}

.mobile-search-wrap {
  padding: 12px 0;
  border-bottom: 1px solid #243F5C;
}

.mobile-search-wrap input {
  width: 100%;
  background: #243F5C;
  border: 1px solid #3A6080;
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
  height: 40px;
  padding: 0 14px;
  outline: none;
}

/* 语言切换 */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 16px;
  flex-shrink: 0;
}

.lang-btn {
  background: transparent;
  border: 1px solid #3A6080;
  color: var(--inactive-nav);
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

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

/* ========================================
   Hero / Banner 区域
   ======================================== */
.hero {
  position: relative;
  height: 740px;
  overflow: hidden;
}

.hero-slides {
  display: flex;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.hero-slide {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,22,40,0.93) 0%, rgba(13,58,112,0.73) 60%, rgba(29,111,212,0.53) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 0 160px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(29,111,212,0.2);
  border-radius: 20px;
  padding: 6px 16px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-blue);
  border-radius: 50%;
}

.hero-badge span {
  color: #B0D8F7;
  font-size: 13px;
  font-weight: 500;
}

.hero-title {
  color: #fff;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 4px;
  line-height: 1.2;
  max-width: 800px;
}

.hero-subtitle {
  color: #BDDDF3;
  font-size: 16px;
  line-height: 1.8;
  max-width: 680px;
}

.hero-btns {
  display: flex;
  gap: 20px;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-blue);
  color: #fff;
  padding: 16px 40px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.2s, transform 0.1s;
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  background: #1D6FD4;
  transform: translateY(-1px);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  padding: 14px 38px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid #fff;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat-num {
  color: var(--accent-blue);
  font-size: 36px;
  font-weight: 700;
}

.hero-stat-label {
  color: #A8CCF0;
  font-size: 13px;
}

.hero-divider {
  width: 1px;
  height: 40px;
  background: rgba(74,158,232,0.33);
}

/* 轮播控制 */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.27);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: background 0.2s;
}

.carousel-btn:hover {
  background: rgba(255,255,255,0.25);
}

.carousel-btn.prev { left: 32px; }
.carousel-btn.next { right: 32px; }

.carousel-dots {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  z-index: 10;
}

.carousel-dot {
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.4);
  width: 24px;
  cursor: pointer;
  transition: all 0.3s;
}

.carousel-dot.active {
  background: #fff;
  width: 48px;
}

.hero-bottom-grad {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.73));
  pointer-events: none;
  z-index: 5;
}

/* ========================================
   通用 Section 样式
   ======================================== */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-tag-line {
  width: 32px;
  height: 3px;
  background: var(--primary-blue);
  border-radius: 2px;
}

.section-tag-text {
  color: var(--primary-blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
}

.section-title {
  color: var(--text-dark);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
}

.section-subtitle {
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.8;
}

/* ========================================
   关于我们区域（主页）
   ======================================== */
.about-section {
  background: #fff;
  padding: 0 120px;
  height: 580px;
  display: flex;
  align-items: center;
  gap: 80px;
}

.about-img {
  width: 680px;
  height: 500px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.about-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-content .section-title {
  font-size: 36px;
  line-height: 1.4;
}

.about-desc {
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.8;
}

/* ========================================
   产品中心区域（主页）
   ======================================== */
.products-section {
  background: var(--light-bg);
  padding: 80px 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.prod-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
}

.prod-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(10,22,40,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.prod-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(10,22,40,0.14);
}

.prod-card-img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: #f8f9fa;
  padding: 8px;
}

.prod-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.prod-card-cat {
  background: #EEF6FF;
  color: var(--primary-blue);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 3px;
  display: inline-block;
}

.prod-card-name {
  color: var(--text-dark);
  font-size: 18px;
  font-weight: 700;
}

.prod-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.prod-card-detail-link {
  color: var(--primary-blue);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

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

/* ========================================
   数据成就区域
   ======================================== */
.stats-section {
  background: #1A3D6E;
  height: 160px;
  padding: 0 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.stat-num {
  color: #fff;
  font-size: 40px;
  font-weight: 700;
}

.stat-label {
  color: #84BFE8;
  font-size: 13px;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(42,90,144,0.33);
}

/* ========================================
   为何选择我们
   ======================================== */
.why-section {
  background: #fff;
  padding: 80px 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  width: 100%;
}

.why-card {
  background: var(--card-bg);
  border-radius: 8px;
  border: 1px solid var(--card-border);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.why-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(10,22,40,0.08);
}

.why-icon-box {
  width: 56px;
  height: 56px;
  background: var(--primary-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-title {
  color: var(--text-dark);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

.why-desc {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}

/* ========================================
   CTA 横幅
   ======================================== */
.cta-section {
  position: relative;
  height: 360px;
  background: url('https://images.unsplash.com/photo-1731397978688-05b1f71790be?w=1440') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.94), rgba(29,78,154,0.94));
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta-title {
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  max-width: 800px;
}

.cta-subtitle {
  color: #BDDDF3;
  font-size: 16px;
  max-width: 640px;
}

.cta-btns {
  display: flex;
  gap: 20px;
}

/* ========================================
   页脚
   ======================================== */
.footer {
  background: var(--footer-bg);
}

.footer-main {
  padding: 64px 120px 48px;
  display: flex;
  gap: 60px;
  align-items: center;
}

.footer-brand {
  width: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  height: 45px;
  width: 135px;
  object-fit: contain;
  border-radius: 8px;
}

.footer-slogan {
  color: #84BFE8;
  font-size: 14px;
  line-height: 1.8;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #A8CCF0;
  font-size: 13px;
}

.footer-contact-row svg { flex-shrink: 0; margin-top: 2px; }

.footer-nav-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.footer-nav-col-title {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.footer-nav-col a {
  color: #84BFE8;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-nav-col a:hover {
  color: #fff;
}

.footer-qr {
  width: 184px;
  height: 184px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-divider {
  height: 1px;
  background: var(--footer-divider);
}

.footer-bottom {
  padding: 20px 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--footer-bg);
}

.footer-copyright,
.footer-icp {
  color: #5A8EBE;
  font-size: 13px;
}

/* ========================================
   页面 Banner（内页通用）
   ======================================== */
.page-banner {
  position: relative;
  height: 320px;
  background: url('https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?w=1440') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 120px;
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,22,40,0.87), rgba(13,58,112,0.8));
}

.page-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--inactive-nav);
  font-size: 13px;
}

.breadcrumb a {
  color: var(--inactive-nav);
  transition: color 0.2s;
}

.breadcrumb a:hover { color: #fff; }

.breadcrumb span { color: #7BAEDD; }

.page-banner-title {
  color: #fff;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 2px;
}

.page-banner-sub {
  color: #BDDDF3;
  font-size: 18px;
}

/* ========================================
   关于我们页
   ======================================== */
.company-intro {
  padding: 80px 120px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 80px;
}

.company-intro-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.company-intro-right {
  width: 680px;
  height: 560px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.company-stats {
  display: flex;
  gap: 48px;
  margin-top: 8px;
}

.company-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.company-stat-num {
  color: var(--primary-blue);
  font-size: 32px;
  font-weight: 700;
}

.company-stat-label {
  color: var(--text-light);
  font-size: 13px;
}

.timeline-section {
  padding: 80px 120px;
  background: var(--light-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.timeline {
  display: flex;
  gap: 8px;
  width: 100%;
}

.timeline-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.timeline-dot {
  width: 48px;
  height: 48px;
  background: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}

.timeline-content {
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--card-border);
  padding: 16px 20px;
  width: 100%;
}

.timeline-year {
  color: var(--primary-blue);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.timeline-text {
  color: var(--text-body);
  font-size: 13px;
  line-height: 1.6;
}

/* ========================================
   产品中心页
   ======================================== */
.products-page {
  padding: 60px 120px;
  background: #fff;
  display: flex;
  gap: 40px;
}

.products-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--card-bg);
  border-radius: 8px;
  border: 1px solid #D4E8FA;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: flex-start;
  position: sticky;
  top: 100px;
}

.sidebar-title {
  color: var(--text-dark);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.sidebar-divider {
  height: 1px;
  background: var(--card-border);
  margin-bottom: 8px;
}

.sidebar-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.sidebar-cat:hover {
  background: #EEF6FF;
}

.sidebar-cat.active {
  background: var(--primary-blue);
}

.sidebar-cat-text {
  font-size: 14px;
  color: #374151;
  font-weight: 400;
}

.sidebar-cat.active .sidebar-cat-text {
  color: #fff;
  font-weight: 600;
}

.sidebar-cat-count {
  background: #EEF6FF;
  color: var(--primary-blue);
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 10px;
}

.sidebar-cat.active .sidebar-cat-count {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

.products-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--card-bg);
  border-radius: 6px;
  border: 1px solid #D4E8FA;
}

.toolbar-count {
  color: var(--text-light);
  font-size: 14px;
}

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

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 0;
}

.page-btn {
  min-width: 36px;
  height: 36px;
  border-radius: 4px;
  border: 1px solid #D4E8FA;
  background: #fff;
  color: #374151;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  transition: all 0.15s;
  font-family: inherit;
}

.page-btn:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.page-btn.active {
  background: var(--primary-blue);
  color: #fff;
  border-color: var(--primary-blue);
  font-weight: 700;
}

.page-btn:disabled {
  color: #9CA3AF;
  cursor: not-allowed;
}

/* ========================================
   产品详情页
   ======================================== */
.product-detail {
  padding: 60px 120px;
  background: #fff;
  display: flex;
  gap: 60px;
}

.product-img-area {
  width: 570px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  gap: 16px;
}

.product-main-img {
  width: 100%;
  flex: 1;
  min-height: 400px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  background: #f8fbff;
}

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

.product-thumb {
  width: 114px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--card-border);
  cursor: pointer;
  transition: border-color 0.2s;
}

.product-thumb.active,
.product-thumb:hover {
  border-color: var(--primary-blue);
  border-width: 2px;
}

.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.product-category-tag {
  background: #EEF6FF;
  color: var(--primary-blue);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 3px;
  display: inline-block;
}

.product-name {
  color: var(--text-dark);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
}

.product-divider {
  height: 1px;
  background: var(--card-border);
}

.product-specs {
  background: #F2F7FF;
  border: 1px solid #D0E8FF;
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.spec-title {
  color: var(--text-dark);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.spec-row {
  display: flex;
}

.spec-key {
  background: #E8F3FF;
  color: var(--text-body);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  width: 50%;
  border-radius: 4px 0 0 4px;
}

.spec-val {
  background: #fff;
  color: #374151;
  font-size: 13px;
  padding: 10px 16px;
  width: 50%;
  border: 1px solid var(--card-border);
  border-radius: 0 4px 4px 0;
}

.product-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.btn-inquiry {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary-blue);
  color: #fff;
  padding: 14px 40px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
  text-align: center;
}

.btn-inquiry:hover { background: #1D6FD4; }

.btn-contact-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--primary-blue);
  padding: 14px 40px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid var(--primary-blue);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
  text-align: center;
}

.btn-contact-outline:hover { background: #EEF6FF; }

.product-contact-bar {
  display: flex;
  gap: 32px;
  background: #F2F7FF;
  border: 1px solid #D0E8FF;
  border-radius: 8px;
  padding: 16px 20px;
}

.product-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1A3A5C;
  font-size: 13px;
  font-weight: 500;
}

/* 产品描述区 */
.product-desc-section {
  padding: 60px 120px;
  background: var(--light-bg);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--card-border);
  padding: 24px;
}

.feat-icon-wrap {
  width: 44px;
  height: 44px;
  background: #EEF6FF;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-text {
  color: #1A3A5C;
  font-size: 15px;
  font-weight: 700;
}

/* 配件图号区 */
.parts-section {
  padding: 60px 120px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.parts-header {
  background: var(--primary-blue);
  color: #fff;
  padding: 14px 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.parts-header-zh {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.parts-header-sep {
  font-size: 16px;
  color: #BDDDF3;
}

.parts-header-en {
  font-size: 14px;
  font-weight: 400;
  color: #BDDDF3;
}

.parts-cat-block {
  margin-bottom: 24px;
}

.parts-cat-header {
  background: #1A3A5C;
  padding: 8px 16px;
  border-radius: 4px 4px 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.parts-cat-zh {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.parts-cat-en {
  color: #A8CCF0;
  font-size: 13px;
  font-weight: 400;
}

.parts-grid-nums {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  border: 1px solid var(--card-border);
  border-top: none;
  border-radius: 0 0 4px 4px;
  overflow: hidden;
}

.parts-grid-nums span {
  height: 32px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 12px;
  color: #374151;
  border-right: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  background: #FFFFFF;
}

/* 奇数行（第1、3、5...行，每行10格） */
.parts-grid-nums span:nth-child(20n+1),
.parts-grid-nums span:nth-child(20n+2),
.parts-grid-nums span:nth-child(20n+3),
.parts-grid-nums span:nth-child(20n+4),
.parts-grid-nums span:nth-child(20n+5),
.parts-grid-nums span:nth-child(20n+6),
.parts-grid-nums span:nth-child(20n+7),
.parts-grid-nums span:nth-child(20n+8),
.parts-grid-nums span:nth-child(20n+9),
.parts-grid-nums span:nth-child(20n+10) {
  background: #EEF5FF;
}

.parts-grid-nums span:nth-child(10n) {
  border-right: none;
}

.parts-note {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.parts-note-zh {
  color: #2B7DE9;
  font-size: 16px;
  font-weight: 700;
}

.parts-note-en {
  color: #6B7280;
  font-size: 13px;
  font-weight: 400;
}

.parts-table-wrap {
  overflow-x: auto;
}

.parts-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.parts-table th {
  background: #E8F3FF;
  color: var(--text-dark);
  font-weight: 600;
  padding: 10px 14px;
  text-align: left;
  border: 1px solid #D0E8FF;
  white-space: nowrap;
}

.parts-table td {
  padding: 9px 14px;
  border: 1px solid #e8f0fa;
  color: #374151;
  white-space: nowrap;
}

.parts-table tr:nth-child(even) td {
  background: #f8fbff;
}



/* 相关产品 */
.related-section {
  padding: 60px 120px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.related-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

/* ========================================
   联系我们页
   ======================================== */
.contact-info-section {
  padding: 80px 120px;
  background: var(--light-bg);
  display: flex;
  gap: 60px;
}

.contact-cards {
  width: 283px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
}

.contact-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #D4E8FA;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 16px rgba(10,22,40,0.03);
}

.contact-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  background: var(--primary-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-card-title {
  color: var(--text-dark);
  font-size: 18px;
  font-weight: 700;
}

.contact-card-value {
  color: var(--primary-blue);
  font-size: 15px;
  font-weight: 600;
}

.contact-card-note {
  color: var(--text-light);
  font-size: 13px;
}

.contact-map-frame {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  height: 597px;
}

.contact-map-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* 联系表单 */
.contact-form-section {
  padding: 80px 120px;
  background: #fff;
  display: flex;
  gap: 80px;
}

.form-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.form-label {
  color: #374151;
  font-size: 13px;
  font-weight: 600;
}

.form-input {
  height: 48px;
  border-radius: 6px;
  border: 1px solid #D1E8F5;
  background: #fff;
  padding: 0 16px;
  font-size: 14px;
  color: #374151;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-input:focus {
  border-color: var(--primary-blue);
}

.form-textarea {
  border-radius: 6px;
  border: 1px solid #D1E8F5;
  background: #fff;
  padding: 16px;
  font-size: 14px;
  color: #374151;
  font-family: inherit;
  outline: none;
  resize: vertical;
  min-height: 160px;
  line-height: 1.7;
  width: 100%;
  transition: border-color 0.2s;
}

.form-textarea:focus {
  border-color: var(--primary-blue);
}

.btn-submit {
  height: 52px;
  background: var(--primary-blue);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
  width: 100%;
}

.btn-submit:hover { background: #1D6FD4; }

.form-right {
  width: 380px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.faq-title {
  color: var(--text-dark);
  font-size: 22px;
  font-weight: 700;
}

.faq-item {
  background: var(--light-bg);
  border-radius: 8px;
  border: 1px solid #D4E8FA;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-q {
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 700;
}

.faq-a {
  color: var(--text-body);
  font-size: 13px;
  line-height: 1.7;
}

/* ========================================
   提示弹窗
   ======================================== */
.toast {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(10,22,40,0.18);
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 9999;
  opacity: 0;
  transition: all 0.3s;
  border-left: 4px solid var(--primary-blue);
  min-width: 300px;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast-icon { font-size: 20px; }
.toast-text { font-size: 14px; color: var(--text-dark); font-weight: 500; }

/* ========================================
   响应式
   ======================================== */
@media (max-width: 1200px) {
  .navbar { padding: 0 40px; }
  .navbar-links { gap: 24px; }
  .about-section { padding: 0 60px; gap: 48px; }
  .products-section { padding: 60px; }
  .stats-section { padding: 0 60px; }
  .why-section { padding: 60px; }
  .footer-main { padding: 48px 60px; }
  .footer-bottom { padding: 20px 60px; }
  .products-page { padding: 40px 60px; }
  .product-detail { padding: 40px 60px; }
  .parts-section { padding: 40px 60px; }
  .related-section { padding: 40px 60px; }
  .contact-info-section { padding: 60px; }
  .contact-form-section { padding: 60px; }
  .company-intro { padding: 60px; }
  .timeline-section { padding: 60px; }
  .product-desc-section { padding: 40px 60px; }
  .cta-section { padding: 0 60px; }
}

@media (max-width: 1024px) {
  .navbar-links { display: none; }
  .navbar-search { display: none; }
  .lang-switcher { display: none; }
  .navbar-cta { display: none; }
  .navbar-hamburger { display: flex; }

  .hero-title { font-size: 40px; }
  .hero-content { padding: 0 80px; }

  .about-section { height: auto; padding: 60px 40px; flex-direction: column; }
  .about-img { width: 100%; height: 300px; }

  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }

  .stats-section { height: auto; padding: 40px; flex-wrap: wrap; gap: 32px; justify-content: center; }
  .stat-divider { display: none; }

  .products-page { padding: 40px; flex-direction: column; }
  .products-sidebar { width: 100%; position: static; flex-direction: row; flex-wrap: wrap; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }

  .product-detail { padding: 40px; flex-direction: column; }
  .product-img-area { width: 100%; }

  .feature-list { grid-template-columns: repeat(2, 1fr); }
  .parts-grid { grid-template-columns: repeat(5, 1fr); }
  .parts-grid-nums { grid-template-columns: repeat(5, 1fr); overflow-x: auto; }
  .parts-grid-nums span:nth-child(10n) { border-right: 1px solid var(--card-border); }
  .parts-grid-nums span:nth-child(5n) { border-right: none; }
  /* 奇偶行按5列重算 */
  .parts-grid-nums span:nth-child(20n+1),
  .parts-grid-nums span:nth-child(20n+2),
  .parts-grid-nums span:nth-child(20n+3),
  .parts-grid-nums span:nth-child(20n+4),
  .parts-grid-nums span:nth-child(20n+5) { background: #EEF5FF; }
  .parts-grid-nums span:nth-child(20n+6),
  .parts-grid-nums span:nth-child(20n+7),
  .parts-grid-nums span:nth-child(20n+8),
  .parts-grid-nums span:nth-child(20n+9),
  .parts-grid-nums span:nth-child(20n+10) { background: #FFFFFF; }
  .parts-grid-nums span:nth-child(20n+11),
  .parts-grid-nums span:nth-child(20n+12),
  .parts-grid-nums span:nth-child(20n+13),
  .parts-grid-nums span:nth-child(20n+14),
  .parts-grid-nums span:nth-child(20n+15) { background: #EEF5FF; }
  .parts-grid-nums span:nth-child(20n+16),
  .parts-grid-nums span:nth-child(20n+17),
  .parts-grid-nums span:nth-child(20n+18),
  .parts-grid-nums span:nth-child(20n+19),
  .parts-grid-nums span:nth-child(20n+20) { background: #FFFFFF; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-info-section { flex-direction: column; padding: 40px; }
  .contact-cards { width: 100%; flex-direction: row; flex-wrap: wrap; }
  .contact-card { flex: 1; min-width: 200px; }
  .contact-map-frame { min-height: 280px; }

  .contact-form-section { flex-direction: column; padding: 40px; }
  .form-right { width: 100%; }

  .company-intro { padding: 40px; flex-direction: column; }
  .company-intro-right { width: 100%; height: 300px; }

  .timeline { flex-wrap: wrap; }
  .timeline-item { min-width: calc(50% - 4px); }

  .footer-main { flex-wrap: wrap; padding: 40px; }
  .footer-brand { width: 100%; }
  .footer-bottom { padding: 20px 40px; }

  .page-banner-title { font-size: 36px; }
}

@media (max-width: 768px) {
  .navbar { padding: 0 20px; height: 70px; }

  .hero { height: 580px; }
  .hero-title { font-size: 28px; letter-spacing: 2px; }
  .hero-subtitle { font-size: 14px; }
  .hero-content { padding: 0 24px; gap: 20px; }
  .hero-btns { flex-direction: column; gap: 12px; }
  .hero-stats { gap: 24px; }
  .hero-stat-num { font-size: 28px; }

  .section-title { font-size: 28px; }
  .prod-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }

  .about-section { padding: 40px 20px; }
  .products-section { padding: 40px 20px; }
  .why-section { padding: 40px 20px; }

  .products-page { padding: 20px; }
  .products-grid { grid-template-columns: 1fr; }

  .product-detail { padding: 20px; }
  .parts-section { padding: 20px; }
  .parts-grid { grid-template-columns: repeat(4, 1fr); }
  .parts-grid-nums { grid-template-columns: repeat(4, 1fr); }
  .parts-grid-nums span:nth-child(5n) { border-right: 1px solid var(--card-border); }
  .parts-grid-nums span:nth-child(4n) { border-right: none; }
  /* 奇偶行按4列重算 */
  .parts-grid-nums span:nth-child(8n+1),
  .parts-grid-nums span:nth-child(8n+2),
  .parts-grid-nums span:nth-child(8n+3),
  .parts-grid-nums span:nth-child(8n+4) { background: #EEF5FF; }
  .parts-grid-nums span:nth-child(8n+5),
  .parts-grid-nums span:nth-child(8n+6),
  .parts-grid-nums span:nth-child(8n+7),
  .parts-grid-nums span:nth-child(8n+8) { background: #FFFFFF; }
  .parts-note { align-items: flex-start; }
  .parts-note-zh { font-size: 14px; }
  .parts-note-en { font-size: 12px; }
  .related-section { padding: 20px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-info-section { padding: 20px; }
  .contact-form-section { padding: 20px; }
  .form-row { flex-direction: column; }

  .company-intro { padding: 20px; }
  .timeline-section { padding: 20px; }
  .timeline-item { min-width: 100%; }

  .footer-main { padding: 32px 20px; }
  .footer-bottom { padding: 16px 20px; flex-direction: column; gap: 8px; text-align: center; }

  .cta-title { font-size: 26px; }
  .cta-btns { flex-direction: column; gap: 12px; }

  .page-banner { height: 220px; }
  .page-banner-title { font-size: 28px; }
  .page-banner-sub { font-size: 14px; }

  .product-desc-section { padding: 20px; }
  .feature-list { grid-template-columns: 1fr; }

  .product-actions { flex-direction: column; }

  .stat-item { min-width: 45%; }

  .footer-nav-col { width: 50%; }
  .contact-card { min-width: 100%; }
}

/* ========================================
   动画
   ======================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeInUp 0.5s ease forwards;
}

/* ========================================
   工具类
   ======================================== */
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.hidden { display: none !important; }
