/* ========================================
   普泰新创官网 - 主样式文件
   ======================================== */

/* CSS变量定义 */
:root {
  /* 主色调 */
  --primary-color: #0066cc;
  --primary-dark: #0052a3;
  --primary-light: #e6f0ff;
  
  /* 品牌色 */
  --ecoflow-color: #00b14f;
  --jackery-color: #ff6b00;
  --carku-color: #e60012;
  
  /* 中性色 */
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --text-light: #999999;
  --border-color: #e5e5e5;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --bg-dark: #1a1a2e;
  
  /* 字体 */
  --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  
  /* 间距 - 与HTML兼容 */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 64px;
  
  /* 圆角 */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* 阴影 */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  
  /* 过渡 */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* 容器宽度 */
  --container-max: 1200px;
  --container-padding: 20px;
}

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

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

body {
  font-family: var(--font-primary);
  color: var(--text-primary);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* 容器 */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ========================================
   头部导航
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff;
  transition: all var(--transition-normal);
}

.header.scrolled {
  box-shadow: 0 1px 8px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 var(--container-padding);
  max-width: var(--container-max);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  visibility: hidden;
}
.logo.logo-ready { visibility: visible; }

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 13px;
}

.logo-text {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
}

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

/* 导航菜单 */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  visibility: hidden;
}

.nav-menu.rendered {
  visibility: visible;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: #333;
  padding: 8px 0;
  position: relative;
  transition: color 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: #1a1a1a;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #1a1a1a;
  transition: width 0.2s;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* 导航按钮 */
.nav-cta {
  background: var(--primary-color);
  color: white;
  padding: 8px 20px;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,102,204,0.3);
}

/* ========================================
   Mega菜单（产品中心下拉）
   ======================================== */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  max-width: 100vw;
  height: 500px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 1001;
  margin-top: 12px;
  display: flex;
  overflow: hidden;
}

.nav-item-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  margin-top: 0;
}

/* 下拉箭头 */
.nav-dropdown-trigger::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 5px;
  vertical-align: middle;
  transition: transform 0.2s;
}

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

/* Mega菜单 - 左侧分类 */
.mega-menu-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: #f8f9fa;
  border-right: 1px solid #eee;
  padding: 12px 0;
  overflow-y: auto;
}

.mega-menu-category {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 12px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
}

.mega-menu-category:hover,
.mega-menu-category.active {
  background: #ffffff;
  color: var(--primary-color);
}

.mega-menu-category .cat-icon {
  width: 90px;
  height: 90px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
  margin-bottom: 8px;
  flex-shrink: 0;
}

.mega-menu-category .cat-icon img {
  width: 90px;
  height: 90px;
  border-radius: 10px;
  object-fit: contain;
}

.mega-menu-category .cat-name {
  font-size: 13px;
  line-height: 1.3;
}

.mega-menu-category .cat-arrow {
  display: none;
}

/* Mega菜单 - 右侧产品展示 */
.mega-menu-content {
  flex: 1;
  padding: 20px 24px;
  min-height: 300px;
  overflow-y: auto;
}

.mega-menu-brand-section {
  margin-bottom: 20px;
}

.mega-menu-brand-title {
  font-size: 13px;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f0f0f0;
}

.mega-menu-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.mega-menu-product-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: 8px;
  transition: background 0.15s;
  text-decoration: none;
  color: inherit;
}

.mega-menu-product-card:hover {
  background: #f5f7fa;
}

.mega-menu-product-card img {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  background: #f0f0f0;
  flex-shrink: 0;
}

.mega-menu-product-card .product-card-info {
  min-width: 0;
}

.mega-menu-product-card .product-card-name {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mega-menu-product-card .product-card-specs {
  font-size: 13px;
  color: #999;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mega-menu-view-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  margin-top: 8px;
  border: 1px solid #eee;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.15s;
}

.mega-menu-view-all:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* 兼容旧的下拉菜单项样式 */
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  position: relative;
  text-decoration: none;
}

.nav-dropdown-item:hover {
  background: var(--primary-light);
  color: var(--primary-color);
}

.nav-dropdown-item i {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

/* 品牌颜色下拉项 */
.nav-dropdown-item.ecoflow:hover {
  background: linear-gradient(90deg, rgba(0, 177, 79, 0.1), transparent);
}

.nav-dropdown-item.jackery:hover {
  background: linear-gradient(90deg, rgba(255, 107, 0, 0.1), transparent);
}

.nav-dropdown-item.carku:hover {
  background: linear-gradient(90deg, rgba(230, 0, 18, 0.1), transparent);
}

/* 下拉标签 */
.nav-dropdown-tag {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  color: white;
  margin-left: auto;
}

.nav-dropdown-tag.ecoflow { background: var(--ecoflow-color); }
.nav-dropdown-tag.jackery { background: var(--jackery-color); }
.nav-dropdown-tag.carku { background: var(--carku-color); }

/* 移动端菜单按钮 */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-fast);
}

/* ========================================
   Banner轮播
   ======================================== */
.banner {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  margin-top: 72px;
  overflow: hidden;
}

.banner-slides {
  position: relative;
  height: 100%;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.banner-slide.active {
  opacity: 1;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
}

.banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 10;
  width: 90%;
  max-width: 800px;
}

.banner-tag {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 14px;
  margin-bottom: 20px;
}

.banner-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.banner-desc {
  font-size: clamp(16px, 2vw, 20px);
  opacity: 0.9;
  margin-bottom: 40px;
  line-height: 1.6;
}

.banner-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Banner指示器 */
.banner-indicators {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.banner-indicator {
  width: 40px;
  height: 4px;
  background: rgba(255,255,255,0.4);
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.banner-indicator.active {
  background: white;
  width: 60px;
}

/* ========================================
   按钮
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 15px;
  transition: all var(--transition-fast);
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--bg-light);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

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

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

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

.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

/* ========================================
   品牌展示区
   ======================================== */
.brands-section {
  padding: var(--spacing-xxl) 0;
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-color);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--spacing-lg);
  align-items: start;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* 品牌轮播 Carousel */
.brands-carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}
.brands-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
}
.brands-track.centered {
  justify-content: center;
}
.brands-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.95);
  color: var(--primary-color);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  cursor: pointer;
  z-index: 10;
  font-size: 14px;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.brands-arrow:hover { background: var(--primary-color); color: white; }
.brands-arrow-prev { left: 8px; }
.brands-arrow-next { right: 8px; }
.brands-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.brands-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}
.brands-dot.active {
  background: var(--primary-color);
  width: 24px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .brands-arrow { display: flex; }
  .brands-arrow-prev { left: 4px; }
  .brands-arrow-next { right: 4px; }
  .brands-dots { display: flex; }
}
@media (max-width: 576px) {
  .brands-arrow {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }
  .brands-arrow-prev { left: 2px; }
  .brands-arrow-next { right: 2px; }
}

.brand-more-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  text-align: center;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  border: 2px dashed var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  cursor: pointer;
}

.brand-more-card:hover {
  border-color: var(--primary-color);
  background: var(--primary-light);
}

.brand-more-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
  transition: all var(--transition-normal);
}

.brand-more-card:hover .brand-more-icon {
  background: var(--primary-color);
  color: white;
}

.brand-more-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.brand-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  text-align: center;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.brand-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.brand-logo {
  width: 100px;
  height: 100px;
  margin: 0 auto var(--spacing-md);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: white;
}

.brand-logo.ecoflow {
  background: linear-gradient(135deg, #00b14f, #009641);
}

.brand-logo.jackery {
  background: linear-gradient(135deg, #ff6b00, #e55c00);
}

.brand-logo.carku {
  background: linear-gradient(135deg, #e60012, #c4000f);
}

.brand-name {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.brand-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
  line-height: 1.7;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-color);
  font-weight: 500;
  font-size: 14px;
}

.brand-link:hover {
  gap: 10px;
}

/* ========================================
   产品展示区
   ======================================== */
.products-section {
  padding: var(--spacing-xxl) 0;
}

.products-tabs {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-xl);
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 14px;
  background: var(--bg-light);
  color: var(--text-secondary);
  border: 2px solid transparent;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.tab-btn:hover {
  background: var(--primary-light);
  color: var(--primary-color);
}

.tab-btn.active {
  background: var(--primary-color);
  color: white;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

/* 产品滑动容器 */
.products-slider-wrap {
  position: relative;
}

.products-slider {
  overflow: hidden;
}

.products-slider-track {
  display: flex;
  transition: transform 0.4s ease;
}

.products-slider-track .products-grid,
.products-slider-track .scenarios-grid {
  min-width: 100%;
  flex-shrink: 0;
}

.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s;
  font-size: 14px;
  color: var(--text-secondary);
}

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

.slider-nav-btn.prev { left: -20px; }
.slider-nav-btn.next { right: -20px; }

.slider-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.slider-nav-btn:disabled:hover {
  background: white;
  color: var(--text-secondary);
  border-color: var(--border);
}

.products-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f5f5f5;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 12px;
  background: var(--primary-color);
  color: white;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.product-brand {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: white;
}

.product-brand.ecoflow {
  background: var(--ecoflow-color);
}

.product-brand.jackery {
  background: var(--jackery-color);
}

.product-brand.carku {
  background: var(--carku-color);
}

.product-info {
  padding: var(--spacing-md);
}

.product-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.product-price {
  font-size: 18px;
  font-weight: 700;
  color: #e60012;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.price-tag {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  background: var(--price-tag-bg, linear-gradient(135deg, #ff6b35, #e60012));
  color: var(--price-tag-color, #ffffff);
  animation: priceTagPulse 2s ease-in-out infinite;
}
@keyframes priceTagPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}
@keyframes priceTagShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}
@keyframes priceTagBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.product-specs {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

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

/* ========================================
   应用场景
   ======================================== */
.scenarios-section {
  padding: var(--spacing-xxl) 0;
  background: var(--bg-light);
}

.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
}

.scenario-card {
  position: relative;
  height: 300px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.scenario-card > div:first-child {
  width: 100%;
  height: 100%;
}

.scenario-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--spacing-lg);
  background: linear-gradient(transparent, rgba(0,0,0,0.15));
  color: white;
}

.scenario-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.scenario-desc {
  font-size: 14px;
  opacity: 0.9;
}

/* ========================================
   关于我们
   ======================================== */
.about-section {
  padding: var(--spacing-xxl) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.about-image > div {
  width: 100%;
  height: 400px;
}

.about-content h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}

.about-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ========================================
   新闻资讯
   ======================================== */
.news-section {
  padding: var(--spacing-xxl) 0;
  background: var(--bg-light);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.news-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.news-image {
  height: 200px;
  overflow: hidden;
}

.news-content {
  padding: var(--spacing-md);
}

.news-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-color);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  margin-bottom: 12px;
}

.news-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
  line-height: 1.4;
}

.news-excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-sm);
  line-height: 1.6;
}

.news-date {
  font-size: 13px;
  color: var(--text-light);
}

/* ========================================
   联系我们
   ======================================== */
.contact-section {
  padding: var(--spacing-xxl) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
}

.contact-info h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}

.contact-info p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
  line-height: 1.8;
}

.contact-details {
  margin-bottom: var(--spacing-lg);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: var(--spacing-md);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 15px;
  color: var(--text-primary);
  margin: 0;
}

/* 表单样式 */
.contact-form {
  background: var(--bg-light);
  padding: var(--spacing-lg);
  border-radius: var(--radius-xl);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

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

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 15px;
  transition: all var(--transition-fast);
  background: var(--bg-white);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--primary-light);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}

/* ========================================
   页脚
   ======================================== */
.footer {
  background: var(--bg-dark);
  color: white;
  padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-about {
  max-width: 300px;
}

.footer-brand {
  margin-bottom: var(--spacing-md);
}

.footer-brand .logo-text {
  color: white;
}

.footer-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

.footer-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

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

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.footer-copyright {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.footer-legal a:hover {
  color: white;
}

/* ========================================
   页面标题区
   ======================================== */
.page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  text-align: center;
}

.page-hero-content h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: 16px;
}

.page-hero-content p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 24px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  opacity: 0.8;
}

.breadcrumb a:hover {
  opacity: 1;
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1200px) {
  .scenarios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* 大屏幕到中等屏幕：商品卡 2 列 */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* 品牌网格 2 列 */
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: var(--spacing-md);
    gap: 0;
    box-shadow: var(--shadow-md);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-link {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
  }
  
  .nav-cta {
    margin-top: var(--spacing-sm);
    width: 100%;
    text-align: center;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  
  /* 中等屏幕：商品卡保持 2 列 */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }
  
  /* 中等屏幕：场景卡保持 2 列 */
  .scenarios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* 中等屏幕：案例网格 2 列 */
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .scenarios-section .container {
    overflow-x: hidden;
  }
  .banner {
    height: 70vh;
    min-height: 500px;
  }
  
  .banner-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .scenarios-grid {
    display: flex !important;
    flex-direction: row;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .scenarios-grid::-webkit-scrollbar { display: none; }
  .scenarios-grid .scenario-card {
    min-width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
    flex-shrink: 0;
    scroll-snap-align: center;
    height: calc(100vw - 48px);
  }
  
  .about-stats {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-about {
    max-width: 100%;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .product-image {
    aspect-ratio: 1 / 1;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .products-dots { display: flex; }
  .slider-nav-btn.prev { left: 2px; }
  .slider-nav-btn.next { right: 2px; }
  .slider-nav-btn { width: 28px; height: 28px; font-size: 11px; }
}

@media (max-width: 768px) {
  .header-inner {
    height: 64px;
  }
  
  .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }
  
  .logo-text {
    font-size: 16px;
  }
  
  .banner {
    margin-top: 64px;
  }
  
  .page-hero {
    padding: 100px 0 60px;
  }
  
  /* 手机端隐藏 hover 下拉菜单 */
  .nav-dropdown {
    display: none !important;
  }
  
  /* 手机端让产品中心与其他导航项一致 */
  .nav-item-dropdown {
    display: contents;
  }
  
  /* 手机端隐藏下拉箭头 */
  .nav-dropdown-trigger::after {
    display: none;
  }
  
  /* 手机端隐藏导航链接底部横线 */
  .nav-link::after {
    display: none;
  }
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

.animate-fadeIn {
  animation: fadeIn 0.6s ease forwards;
}

/* 滚动显示动画 */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease;
}

.reveal.animate {
  opacity: 0;
  transform: translateY(30px);
}

.reveal.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 加载占位 */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
