
a:focus { outline: none !important; }
:root {
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-500: #64748B;
  --gray-700: #334155;
  --gray-900: #0F172A;
  --blue-primary: #0066FF;
  --blue-light: #3388FF;
  --blue-gradient: linear-gradient(135deg, #0066FF 0%, #00D4FF 100%);
  --cyan-accent: #00D4FF;
  --gold: #D4AF37;
  --gold-light: #E8C547;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.1);
  --shadow-xl: 0 12px 32px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-btn: 50px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); color: var(--gray-900); background: var(--white); line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; } img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-title { font-size: 2.25rem; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.02em; }
.section-subtitle { font-size: 1.05rem; color: var(--gray-500); margin-bottom: 56px; line-height: 1.6; }

/* Navigation */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(0,0,0,0.05); transition: var(--transition); }
.nav.scrolled { background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: 1200px; margin: 0 auto; }
.logo { font-size: 1.25rem; font-weight: 800; color: var(--blue-primary); display: flex; align-items: center; gap: 10px; }
.logo span { font-weight: 500; font-size: 0.85rem; color: var(--gray-500); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--gray-700); position: relative; outline: none !important; }
.nav-links a:hover, .nav-links a.active { color: var(--blue-primary); }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--blue-primary); transition: width 0.3s; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 24px; height: 24px; }

/* 滚动触发动画 */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Page Hero */
.page-hero {
  background: 
    radial-gradient(circle at 85% 15%, rgba(0,102,255,0.05) 0%, transparent 35%),
    radial-gradient(circle at 15% 85%, rgba(0,212,255,0.04) 0%, transparent 35%),
    linear-gradient(180deg, #EDF5FF 0%, #F5FAFF 50%, #FFFFFF 100%);
  padding: 160px 0 120px;
  color: #0F172A;
  position: relative;
  overflow: hidden;
}

/* 全背景极淡网格点阵 */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(30,60,120,0.25) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  opacity: 1.0;
  pointer-events: none;
}

/* 右下角大光晕 */
.page-hero::after {
  content: '';
  position: absolute;
  right: -150px;
  bottom: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,80,200,0.15) 0%, transparent 65%);
  pointer-events: none;
}

/* 右下角产品/车间场景线框图 */
.page-hero-scene {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  height: 360px;
  opacity: 0.12;
  pointer-events: none;
}
.page-hero-scene svg { width: 100%; height: 100%; }

.page-hero-inner { position: relative; z-index: 1; max-width: 700px; }
.page-hero-label { display: inline-block; font-size: 0.8rem; font-weight: 600; color: #0066FF; letter-spacing: 0.15em; margin-bottom: 16px; text-transform: uppercase; }
.page-hero h1 { font-size: 3rem; font-weight: 800; margin-bottom: 20px; line-height: 1.2; }
.page-hero-line { width: 48px; height: 4px; background: linear-gradient(90deg, #D4AF37, #F59E0B); border-radius: 2px; margin-bottom: 20px; }
.page-hero p { font-size: 1.1rem; color: #64748B; line-height: 1.7; max-width: 560px; }

/* 底部波浪 */
.page-hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1;
}

/* Filter Tabs */
.filter-tabs { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; justify-content: center; }
.filter-tab { padding: 10px 24px; background: var(--white); border: 1px solid var(--gray-200); border-radius: 50px; font-size: 0.9rem; font-weight: 500; color: var(--gray-700); cursor: pointer; transition: var(--transition); outline: none; }
.filter-tab:hover { border-color: var(--blue-primary); color: var(--blue-primary); }
.filter-tab.active { background: var(--blue-primary); color: var(--white); border-color: var(--blue-primary); }

/* Products Grid */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

/* Product Card */
.product-card { background: var(--white); border: 1px solid #F0F0F0; border-radius: var(--radius); overflow: hidden; transition: var(--transition); cursor: pointer; position: relative; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue-primary); }

.product-img { height: 240px; overflow: hidden; position: relative; background: var(--gray-50); flex-shrink: 0; }
.product-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.4) 100%);
  pointer-events: none;
  z-index: 1;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.product-card:hover .product-img img { transform: scale(1.05); }

.product-type-badge { position: absolute; top: 12px; right: 12px; padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; z-index: 1; }
/* 高压柜 - 深蓝，电力行业高压警示 */
.product-type-badge.hv { background: #1E3A8A; color: white; }
/* 低压柜 - 品牌蓝，主力产品线 */
.product-type-badge.lv { background: var(--blue-primary); color: white; }
/* 通讯电源 - 青色，智能化通信属性 */
.product-type-badge.comm { background: #0891B2; color: white; }
/* 特种柜 - 橙色，差异化特殊定制 */
.product-type-badge.special { background: #EA580C; color: white; }
/* 预制舱 - 绿色，户外环保集成 */
.product-type-badge.power { background: #10B981; color: white; }

.product-info { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-info h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--gray-900); }
.product-info p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.6; margin-bottom: 0; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.pagination[hidden] { display: none; }
.pagination-btn { min-width: 40px; height: 40px; padding: 0 14px; border: 1px solid var(--gray-200); background: var(--white); border-radius: 50px; color: var(--gray-700); font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: var(--transition); }
.pagination-btn:hover:not(:disabled) { border-color: var(--blue-primary); color: var(--blue-primary); }
.pagination-btn.is-active { background: var(--blue-primary); color: var(--white); border-color: var(--blue-primary); }
.pagination-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 28px; border-radius: var(--radius-btn); font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: var(--transition); border: 2px solid transparent; text-decoration: none; }
.btn-primary { background: var(--blue-primary); color: var(--white); border-color: var(--blue-primary); }
.btn-primary:hover { background: var(--blue-light); border-color: var(--blue-light); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,102,255,0.3); }

/* 响应式 */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero-scene { display: none; }
  .page-hero-inner { max-width: 100%; }
}
@media (max-width: 768px) {
  .nav-links { display: none !important; }
  .nav-toggle { display: block; }
  .nav-links.show { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: white; padding: 24px; box-shadow: var(--shadow-md); gap: 16px; }
  .products-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 140px 0 80px; }
  .page-hero h1 { font-size: 2.2rem; }
  .page-hero-wave { height: 50px; }
}
/* Footer */
.footer { background: var(--gray-900); color: var(--gray-300); padding: 60px 0 30px; border-top: 1px solid #E2E8F0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer h4 { color: var(--white); font-size: 1rem; font-weight: 700; margin-bottom: 20px; }
.footer p, .footer li { font-size: 0.9rem; line-height: 1.8; margin-bottom: 8px; }
.footer a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; text-align: center; font-size: 0.85rem; }


:root {
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-500: #64748B;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
  --blue-primary: #0066FF;
  --blue-light: #3388FF;
  --blue-gradient: linear-gradient(135deg, #0066FF 0%, #00D4FF 100%);
  --cyan-accent: #00D4FF;
  --gold: #D4AF37;
  --gold-light: #E8C547;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.1);
  --shadow-xl: 0 12px 32px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-btn: 50px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
a:focus { outline: none !important; }
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); color: var(--gray-900); background: var(--white); line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; } img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Navigation */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(0,0,0,0.05); transition: var(--transition); }
.nav.scrolled { background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: 1200px; margin: 0 auto; }
.logo { font-size: 1.25rem; font-weight: 800; color: var(--blue-primary); display: flex; align-items: center; gap: 10px; }
.logo span { font-weight: 500; font-size: 0.85rem; color: var(--gray-500); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--gray-700); position: relative; outline: none !important; }
.nav-links a:hover, .nav-links a.active { color: var(--blue-primary); }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--blue-primary); transition: width 0.3s; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-link { padding: 10px 24px; border-radius: 50px; color: var(--blue-primary); font-weight: 600; position: relative; outline: none !important; }
.nav-link:hover { color: var(--blue-primary); }
.nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--blue-primary); transition: width 0.3s; }
.nav-link:hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle svg { width: 24px; height: 24px; }

/* 面包屑 */
.breadcrumb {
  max-width: 1200px;
  margin: 88px auto 0;
  padding: 16px 24px 0;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.breadcrumb a {
  color: var(--blue-primary);
  text-decoration: none;
}

.breadcrumb span {
  margin: 0 8px;
  color: var(--gray-200);
}

/* 产品详情 */
.product-detail {
  max-width: 1200px;
  margin: 24px auto 0;
  padding: 0 24px 80px;
}

.product-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.product-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.product-image {
  border-radius: 12px;
  overflow: hidden;
  background: var(--gray-100);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  position: relative;
}

.product-image::after {
  content: '🔍';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  font-size: 2rem;
  opacity: 0;
  transition: all 0.3s;
  background: rgba(255,255,255,0.9);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.product-image:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.product-image:hover img {
  transform: scale(1.05);
}

.product-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--cyan-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 3rem;
  font-weight: 800;
}

.product-info h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.product-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.product-badge {
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

.badge-hv {
  background: rgba(0, 102, 255, 0.1);
  color: var(--primary);
}

.badge-lv {
  background: rgba(0, 212, 255, 0.1);
  color: #0099CC;
}

.badge-special {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold);
}

.product-desc {
  font-size: 1.1rem;
  color: var(--gray-600);
  margin-bottom: 32px;
  line-height: 1.8;
}

.product-specs {
  background: var(--gray-50);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 32px;
}

.product-specs h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--gray-800);
}

.product-selling-points {
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.04), rgba(0, 212, 255, 0.04));
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.selling-point-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.6;
}

.selling-point-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table tr {
  border-bottom: none;
}

.spec-table tr:nth-child(odd) {
  background: #F8FAFC;
}

.spec-table td {
  padding: 12px 16px;
  font-size: 0.95rem;
  border: 1px solid var(--gray-200);
}

.spec-table td:first-child {
  color: #64748B;
  width: 50%;
  font-weight: 500;
  background: rgba(248, 250, 252, 0.5);
}

.spec-table td:last-child {
  color: #0F172A;
  font-weight: 600;
  width: 50%;
}

.product-applications-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.apps-label {
  font-size: 0.9rem;
  color: var(--gray-500);
  font-weight: 500;
}

.app-tag {
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.08), rgba(0, 212, 255, 0.08));
  color: var(--blue-primary);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(0, 102, 255, 0.2);
  transition: all 0.3s;
}

.app-tag:hover {
  background: var(--blue-primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 102, 255, 0.2);
}

.app-separator {
  color: var(--gray-300);
  font-size: 0.9rem;
  margin: 0 2px;
}

.product-certs {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.cert-badge {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-800);
  display: flex;
  align-items: center;
  gap: 6px;
}

.cert-badge.gold {
  background: rgba(212, 175, 55, 0.05);
  border-color: var(--gold);
  color: var(--gold);
}

.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: #0052CC;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--primary);
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid var(--primary);
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: rgba(0, 102, 255, 0.08);
  transform: translateY(-2px);
}

.btn-primary-inline {
  display: inline-block;
  background: var(--blue-primary);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
  flex-shrink: 0;
}

.btn-primary-inline:hover {
  background: #0052CC;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.product-cta {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.product-action-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  color: var(--gray-700);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.action-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.action-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(0, 102, 255, 0.04);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 102, 255, 0.1);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  cursor: zoom-out;
}

.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 2;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

/* 相关产品 */
.related-section {
  border-top: 1px solid var(--gray-200);
  padding-top: 48px;
}

.related-section h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 32px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--primary);
}

.related-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 8px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
}

.related-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.related-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* Footer */
.footer { background: var(--gray-900); color: var(--gray-300); padding: 60px 0 30px; border-top: 1px solid #E2E8F0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer h4 { color: var(--white); font-size: 1rem; font-weight: 700; margin-bottom: 20px; }
.footer p, .footer li { font-size: 0.9rem; line-height: 1.8; margin-bottom: 8px; }
.footer a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; text-align: center; font-size: 0.85rem; }


/* 响应式 */
@media (max-width: 1024px) {
  .product-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  
@media (max-width: 768px) {
  .nav-links { display: flex; gap: 32px; align-items: center; }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .product-info h1 {
    font-size: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .btn-primary-inline {
    margin-top: 12px;
  }

  
/* 动画 */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
  
    
