/* ============================================
   舜通电磁阀 - 网站主样式表
   ============================================ */

:root {
  --primary: #1a56db;
  --primary-dark: #0f3a9a;
  --primary-light: #3b82f6;
  --accent: #e63946;
  --dark: #1a1a2e;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
  --shadow: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px 0 rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --container-max: 1280px;
  --header-height: 72px;
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================== HEADER ==================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  text-decoration: none;
}

.logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  font-weight: 700;
}

.logo-text { color: var(--dark); }
.logo-text .sub { font-size: 11px; color: var(--gray-500); font-weight: 400; display: block; margin-top: -2px; }

/* ==================== NAVIGATION ==================== */
.main-nav { display: flex; align-items: center; gap: 2px; }

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: 8px;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: var(--gray-50);
}

.nav-link.active { font-weight: 600; }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%; left: 0;
  min-width: 200px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 100;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--gray-600);
  border-radius: 6px;
  transition: var(--transition);
}

.nav-dropdown a:hover { color: var(--primary); background: var(--gray-50); }

/* Language switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.lang-switch a { color: var(--gray-500); padding: 2px 6px; border-radius: 4px; }
.lang-switch a.active { color: var(--primary); font-weight: 600; }

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  width: 40px; height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.mobile-menu-btn span {
  width: 24px; height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ==================== HERO / CAROUSEL ==================== */
.hero-carousel {
  position: relative;
  margin-top: var(--header-height);
  height: 600px;
  overflow: hidden;
  background: var(--dark);
}

.carousel-slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-slide.active { opacity: 1; }

.carousel-slide .slide-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
}

.carousel-slide .slide-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.5) 0%, rgba(0,102,204,0.8) 100%);
}

.carousel-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 640px;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
}

.carousel-content > .carousel-text {
  max-width: 640px;
}

.carousel-content h1 {
  font-size: 60px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
  color: #fff;
  animation: fadeInUp 0.8s ease;
}

.carousel-content .slide-sub {
  font-size: 20px;
  color: rgba(229,231,235,1);
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.carousel-btn {
  display: inline-block;
  padding: 12px 32px;
  background: white;
  color: #0066CC;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  transition: var(--transition);
  animation: fadeInUp 0.8s ease 0.4s both;
}

.carousel-btn:hover {
  background: #f3f4f6;
  color: #0066CC;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Carousel arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  z-index: 3;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.carousel-arrow:hover {
  background: rgba(255,255,255,0.4);
}

.carousel-arrow.prev { left: 16px; }
.carousel-arrow.next { right: 16px; }

.carousel-indicators {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.carousel-indicator {
  width: 8px; height: 8px;
  background: rgba(255,255,255,0.5);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.carousel-indicator.active {
  background: white;
  width: 32px;
  border-radius: 4px;
}

/* ==================== SECTIONS ==================== */
.section { padding: 80px 0; }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--gray-500);
}

/* ==================== PRODUCTS GRID ==================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}

.product-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.product-card-image {
  width: 100%;
  height: 240px;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-card-image .product-icon {
  font-size: 64px;
  opacity: 0.3;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  box-sizing: border-box;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

.product-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-category {
  display: inline-block;
  padding: 2px 10px;
  background: var(--gray-50);
  color: var(--gray-500);
  font-size: 12px;
  border-radius: 12px;
  margin-bottom: 8px;
}

.product-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
  min-height: 50px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-model {
  font-size: 13px;
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: 600;
}

.product-card-desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 67px;
}

.product-card-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.btn-detail {
  flex: 1;
  padding: 8px 16px;
  background: var(--primary);
  color: white;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
}

.btn-detail:hover { background: var(--primary-dark); color: white; }

.btn-consult {
  flex: 1;
  padding: 8px 16px;
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
}

.btn-consult:hover { border-color: var(--primary); color: var(--primary); }

/* ==================== SOLUTIONS ==================== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.solution-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}

.solution-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
  border-color: var(--primary);
}

.solution-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.solution-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.solution-desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 12px;
}

.solution-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

/* ==================== NEWS ==================== */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-card {
  display: flex;
  gap: 20px;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}

.news-card:hover { box-shadow: var(--shadow-lg); }

.news-card-date {
  flex-shrink: 0;
  width: 80px;
  text-align: center;
  padding: 16px 0;
  background: var(--gray-50);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.news-card-date .day { font-size: 24px; font-weight: 800; color: var(--primary); }
.news-card-date .month { font-size: 12px; color: var(--gray-500); }

.news-card-body { flex: 1; padding: 16px 16px 16px 0; }

.news-card-category {
  display: inline-block;
  padding: 2px 10px;
  background: var(--primary);
  color: white;
  font-size: 12px;
  border-radius: 12px;
  margin-bottom: 8px;
}

.news-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.news-card-desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ==================== PAGE HEADER ==================== */
.page-header {
  margin-top: var(--header-height);
  padding: 80px 0;
  background: linear-gradient(to right, #0066CC, #004C99);
  color: white;
  text-align: center;
}

.page-header h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.page-header p { font-size: 20px; color: #dbeafe; }

/* Breadcrumb */
.breadcrumb {
  padding: 16px 0;
  font-size: 14px;
  color: var(--gray-500);
}

.breadcrumb a { color: var(--gray-500); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { margin: 0 8px; }

/* ==================== CATEGORIES / FILTER ==================== */
.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.category-btn {
  padding: 8px 20px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
}

.category-btn:hover, .category-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ==================== VIDEO ==================== */


/* ==================== DOWNLOAD ==================== */
.download-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.download-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.download-item:hover { box-shadow: var(--shadow-lg); border-color: var(--primary); }

.download-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.download-info { flex: 1; }
.download-title { font-size: 16px; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.download-desc { font-size: 14px; color: var(--gray-500); }

.download-btn {
  padding: 10px 24px;
  background: var(--primary);
  color: white;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
  transition: var(--transition);
}

.download-btn:hover { background: var(--primary-dark); color: white; }

/* ==================== FAQ ==================== */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active { border-color: var(--primary); box-shadow: var(--shadow-md); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
}

.faq-toggle {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 14px;
  color: var(--gray-500);
}

.faq-item.active .faq-toggle { background: var(--primary); color: white; transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 600px;
  padding: 0 24px 18px;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.8;
}

/* ==================== CONTACT ==================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-item:last-child { margin-bottom: 0; }

.contact-info-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-info-label { font-size: 12px; color: var(--gray-500); margin-bottom: 4px; }
.contact-info-value { font-size: 15px; font-weight: 600; color: var(--gray-900); }

.contact-form-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
}

.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--gray-900);
  transition: var(--transition);
  font-family: inherit;
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}

.form-textarea { resize: vertical; min-height: 120px; }

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.form-submit:hover { background: var(--primary-dark); }

/* ==================== PAGE BANNER ==================== */
.page-banner {
  margin-top: var(--header-height);
  background: linear-gradient(to right, #0066CC, #004C99);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.page-banner h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.page-banner p {
  font-size: 20px;
  color: #dbeafe;
  font-weight: 400;
}

/* About page content layout */
.about-content {
  padding: 64px 0;
}

.about-content.bg-gray { background: var(--gray-50); }
.about-content.bg-white { background: white; }

@media (min-width: 1024px) {
  .about-content { padding: 96px 0; }
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-text-block { margin-bottom: 32px; }
.about-text-block:last-child { margin-bottom: 0; }
.about-text-block h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
}
.about-text-block p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.8;
}

.about-image {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.about-image-spacer { margin-top: 48px; }

/* About certifications */
.about-cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

@media (min-width: 768px) {
  .about-cert-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.about-cert-item {
  text-align: center;
}

.about-cert-icon {
  width: 80px; height: 80px;
  margin: 0 auto 16px;
  background: var(--gray-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #0066CC;
}

.about-cert-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.about-cert-item p {
  font-size: 14px;
  color: var(--gray-500);
}

/* Stats on about page (white background variant) */
.about-stats {
  padding: 64px 0;
  background: white;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  text-align: center;
}

@media (min-width: 768px) {
  .about-stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}

.about-stat-num {
  font-size: 48px;
  font-weight: 800;
  color: #0066CC;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .about-stat-num { font-size: 48px; }
}

.about-stat-label {
  font-size: 15px;
  color: var(--gray-600);
}

/* ==================== STATS ==================== */
.stats-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item .stat-num { font-size: 42px; font-weight: 800; }
.stat-item .stat-label { font-size: 14px; opacity: 0.9; margin-top: 4px; }

/* ==================== DETAIL PAGE ==================== */
.detail-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.detail-header { margin-bottom: 32px; }

.detail-title { font-size: 28px; font-weight: 800; color: var(--gray-900); margin-bottom: 12px; }

.detail-meta {
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: var(--gray-500);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
}

.detail-body { font-size: 16px; line-height: 1.9; color: var(--gray-700); }
.detail-body h2 { font-size: 22px; font-weight: 700; color: var(--gray-900); margin: 32px 0 16px; }
.detail-body h3 { font-size: 18px; font-weight: 700; color: var(--gray-900); margin: 24px 0 12px; }
.detail-body p { margin-bottom: 16px; }
.detail-body ul, .detail-body ol { margin: 16px 0 16px 24px; }
.detail-body li { margin-bottom: 8px; }
.detail-body table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.detail-body th, .detail-body td { border: 1px solid var(--gray-200); padding: 10px 16px; text-align: left; }
.detail-body th { background: var(--gray-50); font-weight: 700; }

.detail-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-100);
}

.detail-nav a { font-size: 14px; color: var(--gray-600); }
.detail-nav a:hover { color: var(--primary); }

/* ==================== FOOTER ==================== */
.site-footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo { color: white; margin-bottom: 16px; }
.footer-brand .logo-text { color: white; }
.footer-brand p { font-size: 14px; line-height: 1.8; }
.footer-brand p a { color: var(--gray-400); text-decoration: none; }
.footer-brand p a:hover { color: white; text-decoration: underline; }

.footer-col h4 { color: white; font-size: 16px; margin-bottom: 16px; font-weight: 700; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--gray-400); font-size: 14px; }
.footer-col ul li a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
}
.footer-bottom p { color: var(--gray-400); }
.footer-bottom p a { color: var(--gray-400); text-decoration: none; }
.footer-bottom p a:hover { color: white; text-decoration: underline; }

/* ==================== PAGINATION ==================== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.page-btn {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
}

.page-btn:hover, .page-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ==================== BACK TO TOP ==================== */
.back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-lg);
}

.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ==================== MOBILE NAV ==================== */
.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0; right: 0; bottom: 0;
  background: white;
  z-index: 999;
  padding: 16px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-nav.open { transform: translateX(0); }

.mobile-nav a {
  display: block;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}

.mobile-nav a:hover, .mobile-nav a.active { color: var(--primary); }

.mobile-nav .nav-section-title {
  font-size: 12px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 16px 16px 8px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-nav, .lang-switch { display: none; }
  .mobile-menu-btn { display: flex; }
  
  .hero-carousel { height: 500px; }
  .carousel-content h1 { font-size: 36px; }
  .carousel-content .slide-sub { font-size: 16px; }
  .carousel-arrow { width: 36px; height: 36px; font-size: 18px; }
  
  .section { padding: 48px 0; }
  .section-title { font-size: 24px; }
  
  .page-banner { padding: 48px 0; }
  .page-banner h1 { font-size: 36px; }
  .page-banner p { font-size: 16px; }
  .about-content { padding: 48px 0; }
  .about-stats { padding: 48px 0; }
  .about-stat-num { font-size: 36px; }
  .about-text-block h2 { font-size: 20px; }
  .about-image-spacer { margin-top: 32px; }
  
  .products-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  
  .news-card { flex-direction: column; }
  .news-card-date { width: 100%; flex-direction: row; gap: 8px; justify-content: flex-start; padding: 12px 16px; }
  .news-card-body { padding: 0 16px 16px; }
  
  .detail-title { font-size: 22px; }
  .detail-content { padding: 24px 0; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  
  .page-header { padding: 48px 0; }
  .page-header h1 { font-size: 36px; }
  .page-header p { font-size: 16px; }
  
  .container { padding: 0 16px; }
  .header-inner { padding: 0 16px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item .stat-num { font-size: 32px; }
  
  .carousel-content h1 { font-size: 22px; }
  
  .product-card-actions { flex-direction: column; }
}


/* ==================== SVG ICONS ==================== */
.icon-svg {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* 解决方案卡片图标 */
.solution-icon .icon-svg {
  width: 28px;
  height: 28px;
  stroke: #fff;
}

/* 产品详情页特点列表图标 */
.detail-content ul li .icon-svg.icon-check {
  width: 16px;
  height: 16px;
  stroke: #10b981;
  margin-right: 8px;
  vertical-align: -3px;
  flex-shrink: 0;
}

.detail-content ul li .icon-svg.icon-cross {
  width: 16px;
  height: 16px;
  stroke: #ef4444;
  margin-right: 8px;
  vertical-align: -3px;
  flex-shrink: 0;
}

/* cert-feature-icon: certificates page quality icons */
.cert-feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a56db, #3b82f6);
  border-radius: 50%;
}
.cert-feature-icon .icon-svg {
  width: 28px;
  height: 28px;
  stroke: #fff;
}

/* ==================== VIDEO MODAL ==================== */
/* ==================== VIDEO CARDS ==================== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}

.video-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.video-card-body { padding: 16px; }
.video-card-title { font-size: 16px; font-weight: 700; color: #111827; margin-bottom: 4px; }
.video-card-desc { font-size: 14px; color: #4b5563; }

.video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}

.video-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  transition: background 0.3s ease;
}

.video-card:hover .video-thumb::after {
  background: rgba(0,0,0,0.15);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 64px;
  height: 64px;
  background: rgba(26, 86, 219, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(26, 86, 219, 0.4);
}

.video-card:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(26, 86, 219, 1);
}

.video-play-btn svg {
  width: 24px;
  height: 28px;
  margin-left: 4px;
}

/* ==================== INLINE VIDEO PLAYER ==================== */
.video-player-section {
  margin-bottom: 40px;
}

.video-player-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 0 4px;
}

.video-player-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0;
}

.video-player-hint {
  font-size: 14px;
  color: var(--gray-500);
  margin: 0;
}

.video-main-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: #000;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.video-main-player video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.video-player-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #93c5fd;
  font-size: 18px;
}

.video-player-placeholder svg {
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
  stroke: #3b82f6;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.video-player-placeholder:hover svg {
  opacity: 1;
}

.video-player-placeholder-text {
  font-size: 16px;
  color: #94a3b8;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .video-main-player {
    border-radius: 8px;
  }
  .video-player-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .video-player-title {
    font-size: 18px;
  }
}


