
/* ==========================================
   E-Waste 电子垃圾回收设备网站 - 主样式表
   设计理念：环保 + 科技 + 专业 + 现代
   ========================================== */

/* ==========================================
   CSS Variables - 颜色系统定义
   ========================================== */
:root {
  /* 主色调 - Primary Colors (科技环保蓝绿) */
  --primary-color: #0A7B83;           /* 深青色 - 主品牌色，代表科技与环保的结合 */
  --primary-light: #1A9BA4;           /* 浅青色 - 用于悬停和轻量背景 */
  --primary-lighter: #E6F5F6;         /* 极浅青色 - 用于背景区域 */
  --primary-dark: #065D63;            /* 深青色 - 用于按钮按下、深色文字 */
  --primary-darker: #044347;          /* 极深青色 - 用于强调和对比 */
  
  /* 辅助色调 - Secondary Colors (环保绿) */
  --secondary-color: #2C5F2D;         /* 深绿色 - 环保主题色 */
  --secondary-light: #4A8F4C;         /* 浅绿色 - 用于图标和装饰 */
  --secondary-lighter: #E8F5E9;       /* 极浅绿色 - 用于背景 */
  --secondary-dark: #1B3F1C;          /* 深绿色 - 用于文字和边框 */
  
  /* 强调色 - Accent Colors (活力与创新) */
  --accent-color: #4CAF50;            /* 明亮绿 - 代表再生和生命力 */
  --accent-orange: #FF9800;           /* 橙色 - 代表能源转化、警示 */
  --accent-blue: #2196F3;             /* 科技蓝 - 代表创新科技 */
  --accent-electric: #00E5FF;         /* 电光蓝 - 用于科技感装饰 */
  
  /* 中性色调 - Neutral Colors */
  --dark-color: #1A1A1A;              /* 深黑色 - 主要文字颜色 */
  --dark-gray: #2D3E50;               /* 深蓝灰 - 副标题、次要文字 */
  --medium-gray: #546E7A;             /* 中灰 - 辅助文字 */
  --light-gray: #B0BEC5;              /* 浅灰 - 边框、分割线 */
  --lighter-gray: #ECEFF1;            /* 极浅灰 - 背景色 */
  --white: #FFFFFF;                   /* 纯白 - 主背景 */
  --off-white: #F8F9FA;               /* 米白 - 次要背景 */
  
  /* 功能色调 - Functional Colors */
  --success-color: #4CAF50;           /* 成功 - 绿色 */
  --info-color: #2196F3;              /* 信息 - 蓝色 */
  --warning-color: #FFC107;           /* 警告 - 琥珀色 */
  --danger-color: #F44336;            /* 危险 - 红色 */
  
  /* 渐变色 - Gradient Colors */
  --gradient-primary: linear-gradient(135deg, #0A7B83 0%, #2C5F2D 100%);
  --gradient-tech: linear-gradient(135deg, #0A7B83 0%, #2196F3 100%);
  --gradient-energy: linear-gradient(135deg, #4CAF50 0%, #FF9800 100%);
  --gradient-overlay: linear-gradient(180deg, rgba(10, 123, 131, 0.95) 0%, rgba(44, 95, 45, 0.95) 100%);
  
  /* 阴影系统 - Shadow System (Apple风格) */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.10);
  --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.12);
  --shadow-2xl: 0 20px 40px rgba(0, 0, 0, 0.15);
  
  /* 特殊阴影 - 带颜色的阴影 */
  --shadow-primary: 0 8px 16px rgba(10, 123, 131, 0.15);
  --shadow-accent: 0 8px 16px rgba(76, 175, 80, 0.15);
  
  /* 透明度变量 - Opacity Levels */
  --opacity-light: 0.1;
  --opacity-medium: 0.5;
  --opacity-heavy: 0.8;
  
  /* 过渡动画 - Transitions (Apple风格流畅动画) */
  --transition-fast: 0.15s ease-in-out;
  --transition-base: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
  --transition-cubic: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s ease-in-out;
  
  /* 边框圆角 - Border Radius (现代化圆角) */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  
  /* 间距系统 - Spacing System */
  --spacing-xs: 0.25rem;    /* 4px */
  --spacing-sm: 0.5rem;     /* 8px */
  --spacing-md: 1rem;       /* 16px */
  --spacing-lg: 1.5rem;     /* 24px */
  --spacing-xl: 2rem;       /* 32px */
  --spacing-2xl: 3rem;      /* 48px */
  --spacing-3xl: 4rem;      /* 64px */
  --spacing-4xl: 6rem;      /* 96px */
  
  /* 字体系统 - Typography */
  --primary-font: 'Roboto', 'Noto Sans SC', sans-serif;  /* 主字体 */
  --heading-font: 'Montserrat', 'Noto Sans SC', sans-serif;  /* 标题字体 */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* 字体大小 - Font Sizes */
  --font-size-xs: 0.75rem;      /* 12px */
  --font-size-sm: 0.875rem;     /* 14px */
  --font-size-base: 1rem;       /* 16px */
  --font-size-lg: 1.125rem;     /* 18px */
  --font-size-xl: 1.25rem;      /* 20px */
  --font-size-2xl: 1.5rem;      /* 24px */
  --font-size-3xl: 1.875rem;    /* 30px */
  --font-size-4xl: 2.25rem;     /* 36px */
  --font-size-5xl: 3rem;        /* 48px */
  --font-size-6xl: 3.75rem;     /* 60px */
  
  /* 行高 - Line Heights */
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  --line-height-loose: 2;
  
  /* Z-index 层级系统 */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* ==========================================
   全局重置与基础样式
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--primary-font);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-normal);
  color: var(--dark-color);
  background-color: var(--white);
  overflow-x: hidden;
}

/* ==========================================
   辅助类 - Utility Classes
   ========================================== */

/* 背景颜色类 */
.bg-primary { background-color: var(--primary-color) !important; }
.bg-primary-light { background-color: var(--primary-light) !important; }
.bg-primary-lighter { background-color: var(--primary-lighter) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }
.bg-secondary-light { background-color: var(--secondary-light) !important; }
.bg-accent { background-color: var(--accent-color) !important; }
.bg-dark { background-color: var(--dark-color) !important; }
.bg-gray { background-color: var(--lighter-gray) !important; }
.bg-off-white { background-color: var(--off-white) !important; }

/* 渐变背景类 */
.bg-gradient-primary { background: var(--gradient-primary) !important; }
.bg-gradient-tech { background: var(--gradient-tech) !important; }
.bg-gradient-energy { background: var(--gradient-energy) !important; }

/* 文字颜色类 */
.text-primary { color: var(--primary-color) !important; }
.text-primary-dark { color: var(--primary-dark) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.text-accent-orange { color: var(--accent-orange) !important; }
.text-dark { color: var(--dark-color) !important; }
.text-gray { color: var(--medium-gray) !important; }
.text-light-gray { color: var(--light-gray) !important; }
.text-white { color: var(--white) !important; }

/* 边框颜色类 */
.border-primary { border-color: var(--primary-color) !important; }
.border-secondary { border-color: var(--secondary-color) !important; }
.border-accent { border-color: var(--accent-color) !important; }
.border-light { border-color: var(--light-gray) !important; }

/* 阴影类 */
.shadow-xs { box-shadow: var(--shadow-xs) !important; }
.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
.shadow-xl { box-shadow: var(--shadow-xl) !important; }
.shadow-2xl { box-shadow: var(--shadow-2xl) !important; }
.shadow-primary { box-shadow: var(--shadow-primary) !important; }
.shadow-accent { box-shadow: var(--shadow-accent) !important; }

/* 圆角类 */
.rounded-sm { border-radius: var(--radius-sm) !important; }
.rounded-md { border-radius: var(--radius-md) !important; }
.rounded-lg { border-radius: var(--radius-lg) !important; }
.rounded-xl { border-radius: var(--radius-xl) !important; }
.rounded-2xl { border-radius: var(--radius-2xl) !important; }
.rounded-full { border-radius: var(--radius-full) !important; }

/* ==========================================
   按钮样式扩展
   ========================================== */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
  font-weight: var(--font-weight-semibold);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-sm);
}

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

.btn-secondary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--white);
  font-weight: var(--font-weight-semibold);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--white);
  font-weight: var(--font-weight-semibold);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-accent);
}

.btn-accent:hover {
  background-color: var(--secondary-light);
  border-color: var(--secondary-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-outline-primary {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-weight: var(--font-weight-semibold);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

/* ==========================================
   链接样式
   ========================================== */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

/* a:focus {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
} */

/* ==========================================
   标题样式
   ========================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--dark-color);
  margin-bottom: var(--spacing-md);
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

/* ==========================================
   卡片样式
   ========================================== */
.card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: none;
  transition: all var(--transition-base);
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.card-primary {
  border-left: 4px solid var(--primary-color);
}

.card-secondary {
  border-left: 4px solid var(--secondary-color);
}

.card-accent {
  border-left: 4px solid var(--accent-color);
}

/* ==========================================
   徽章样式
   ========================================== */
.badge-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.badge-secondary {
  background-color: var(--secondary-color);
  color: var(--white);
}

.badge-accent {
  background-color: var(--accent-color);
  color: var(--white);
}

.badge-success {
  background-color: var(--success-color);
  color: var(--white);
}

.badge-warning {
  background-color: var(--warning-color);
  color: var(--dark-color);
}

/* ==========================================
   表单样式
   ========================================== */
.form-control {
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: var(--font-size-base);
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(10, 123, 131, 0.1);
  outline: none;
}

.form-label {
  font-weight: var(--font-weight-medium);
  color: var(--dark-gray);
  margin-bottom: var(--spacing-sm);
}

/* ==========================================
   分割线样式
   ========================================== */
.divider {
  height: 1px;
  background-color: var(--light-gray);
  margin: var(--spacing-xl) 0;
}

.divider-primary {
  height: 2px;
  background: var(--gradient-primary);
}

/* ==========================================
   图标着色类
   ========================================== */
.icon-primary { color: var(--primary-color); }
.icon-secondary { color: var(--secondary-color); }
.icon-accent { color: var(--accent-color); }
.icon-orange { color: var(--accent-orange); }
.icon-blue { color: var(--accent-blue); }

/* ==========================================
   悬浮效果
   ========================================== */
.hover-lift {
  transition: all var(--transition-base);
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.hover-grow {
  transition: transform var(--transition-base);
}

.hover-grow:hover {
  transform: scale(1.05);
}

/* ==========================================
   覆盖层样式
   ========================================== */
.overlay {
  position: relative;
  overflow: hidden;
}

.overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-overlay);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 1;
}

.overlay:hover::before {
  opacity: 1;
}

.overlay > * {
  position: relative;
  z-index: 2;
}

/* ==========================================
   SEO优化 - 可访问性增强
   ========================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Focus visible for keyboard navigation */
*:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* 导航相关元素移除focus样式 */
.navbar .nav-link:focus-visible,
.navbar .dropdown-item:focus-visible,
.navbar .dropdown-toggle:focus-visible {
  outline: none;
  box-shadow: none;
}

/* 移除所有导航相关的点击边框和样式 */
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link:active,
.navbar-nav .dropdown-item:focus,
.navbar-nav .dropdown-item:active {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* ==========================================
   滚动条样式 (现代化设计)
   ========================================== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--lighter-gray);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* ==========================================
   选择文本样式
   ========================================== */
::selection {
  background-color: var(--primary-light);
  color: var(--white);
}

::-moz-selection {
  background-color: var(--primary-light);
  color: var(--white);
}

/* ==========================================
   加载动画
   ========================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn var(--transition-slow) var(--transition-cubic);
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.pulse {
  animation: pulse 2s var(--transition-cubic) infinite;
}

/* ==========================================
   响应式容器增强
   ========================================== */
.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* ==========================================
   节区间距
   ========================================== */
.section-padding {
  padding: var(--spacing-4xl) 0;
}

.section-padding-sm {
  padding: var(--spacing-2xl) 0;
}

.section-padding-lg {
  padding: 6rem 0;
}

/* ==========================================
   导航栏样式 - Navbar
   ========================================== */
.navbar {
  padding: 0.75rem 0;
  background-color: var(--white) !important;
  transition: all var(--transition-base);
  border-bottom: 1px solid var(--lighter-gray);
}

.navbar.sticky-top {
  box-shadow: var(--shadow-md);
}

/* Logo 样式 */
.navbar-brand {
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-2xl);
  font-family: var(--heading-font);
  color: var(--dark-color) !important;
  transition: all var(--transition-fast);
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-brand:hover {
  transform: translateY(-2px);
}

.navbar-logo {
  height: 45px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  font-size: 1.75rem;
  letter-spacing: -0.5px;
  font-weight: var(--font-weight-bold);
}

.brand-text .text-primary {
  color: var(--primary-color) !important;
}

/* 导航链接样式 */
.navbar-nav {
  gap: 0.5rem;
}

.nav-link {
  color: var(--dark-color) !important;
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
  letter-spacing: 0.5px;
  padding: 0.75rem 1rem !important;
  position: relative;
  transition: all var(--transition-fast);
  text-transform: uppercase;
}

/* 下拉菜单项 - 确保无缝连接 */
.dropdown {
  position: relative;
  
}

.dropdown .dropdown-menu {
  top: 140%;
  left: 0;
  border: none;
  z-index: 0;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: var(--gradient-primary);
  transition: transform var(--transition-base);
}

.nav-link:hover,
.nav-link:focus {
  color: var(--primary-color) !important;
  outline: none;
  box-shadow: none;
}

.nav-link:active,
.nav-link:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
  background-color: transparent !important;
}

.nav-link:hover::before,
.nav-link.active::before {
  transform: translateX(-50%) scaleX(1);
}

.nav-link.active {
  color: var(--primary-color) !important;
  font-weight: var(--font-weight-semibold);
  background-color: transparent !important;
}

/* 下拉菜单样式 - Dropdown Menu */
.dropdown-menu-custom {
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 0.5rem 0;
  margin-top: 0 !important;
  min-width: 240px;
  background-color: var(--white);
  border: 1px solid var(--lighter-gray);
  animation: dropdownFadeIn var(--transition-base) ease-out;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-item {
  color: var(--dark-gray);
  padding: 0.75rem 1.5rem;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-regular);
  transition: all var(--transition-fast);
  position: relative;
  border-left: 3px solid transparent;
}

.dropdown-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-primary);
  transform: scaleY(0);
  transition: transform var(--transition-fast);
}

.dropdown-item:hover {
  background-color: var(--primary-lighter);
  color: var(--primary-dark);
  padding-left: 1.75rem;
}

.dropdown-item:hover::before {
  transform: scaleY(1);
}

.dropdown-item:active,
.dropdown-item:focus {
  background-color: transparent !important;
  color: var(--dark-gray) !important;
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

.dropdown-item:active::before {
  transform: scaleY(0);
}

/* 覆盖Bootstrap的active样式 */
.dropdown-item.active {
  background-color: transparent !important;
  color: var(--dark-gray) !important;
}

/* 下拉箭头样式 */
.dropdown-toggle::after {
  margin-left: 0.5rem;
  vertical-align: middle;
  transition: transform var(--transition-fast);
}

.dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

/* 搜索框样式 - Search Box */
.navbar-search {
  margin-left: 1rem;
}

.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-full);
  padding: 0.5rem 2.5rem 0.5rem 1.25rem;
  font-size: var(--font-size-sm);
  width: 200px;
  transition: all var(--transition-base);
  background-color: var(--off-white);
}

.search-input:focus {
  background-color: var(--white);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(10, 123, 131, 0.1);
  outline: none;
}

.search-input::placeholder {
  color: var(--medium-gray);
  font-size: var(--font-size-sm);
}

.btn-search {
  position: absolute;
  right: 5px;
  background: transparent;
  border: none;
  color: var(--medium-gray);
  padding: 0.5rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.btn-search i {
  font-size: 1rem;
}

/* 汉堡菜单按钮样式 - Mobile Toggle */
.navbar-toggler {
  padding: 0.5rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.navbar-toggler:focus,
.navbar-toggler:active {
  box-shadow: none;
  outline: none;
  border: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(10, 123, 131, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 1.5rem;
  height: 1.5rem;
}

/* ==========================================
   顶部信息栏样式 - Top Info Bar
   ========================================== */
.top-info-bar {
  background-color: var(--dark-gray) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--font-size-sm);
  transition: all var(--transition-base);
}

.top-info-bar small {
  font-size: 0.8125rem;
  letter-spacing: 0.3px;
}

.top-info-bar i {
  color: var(--accent-color);
  transition: color var(--transition-fast);
}

.top-contact-link {
  transition: all var(--transition-fast);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
}

.top-contact-link:hover {
  color: var(--accent-color) !important;
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.top-contact-link:hover i {
  color: var(--accent-color);
  transform: scale(1.1);
}

.top-contact-link i.bi-whatsapp:hover {
  color: #25D366;
}

.top-contact-link:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* ==========================================
   返回顶部按钮 - Back to Top Button
   ========================================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  z-index: var(--z-fixed);
  opacity: 0;
  visibility: hidden;
}

.back-to-top:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2xl);
  filter: brightness(1.1);
}

.back-to-top:active {
  transform: translateY(0px);
}

.back-to-top[style*="display: flex"] {
  opacity: 1;
  visibility: visible;
  animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   首页轮播图样式 - Hero Carousel
   ========================================== */
.hero-carousel-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* 轮播容器 */
.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-fade .carousel-item.active {
  opacity: 1;
}

/* 轮播图片 */
.hero-image {
  width: 100%;
  height: 85vh;
  min-height: 600px;
  max-height: 900px;
  object-fit: cover;
  object-position: center;
}

/* 遮罩层 - 浅浅的半透明遮罩 */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 123, 131, 0.45) 0%,
    rgba(44, 95, 45, 0.35) 100%
  );
  z-index: 1;
}

/* 内容区域 */
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  z-index: 2;
  width: 90%;
  max-width: 900px;
  padding: var(--spacing-xl);
}

/* 标题样式 - Apple风格 */
.hero-title {
  font-family: var(--heading-font);
  font-size: 3.5rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: var(--spacing-xl);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  letter-spacing: -1px;
}

.hero-title .text-primary {
  color: var(--accent-color) !important;
  text-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

/* 描述文字 */
.hero-description {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-relaxed);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--spacing-2xl);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* 按钮组 */
.hero-actions {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* 主要按钮 - Apple风格 */
.btn-hero-primary {
  background-color: var(--white);
  color: var(--primary-color);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  padding: 1rem 2.5rem;
  border-radius: var(--radius-full);
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.btn-hero-primary:hover {
  background-color: var(--accent-color);
  color: var(--white);
  box-shadow: 0 12px 32px rgba(76, 175, 80, 0.3);
}

.btn-hero-primary i {
  transition: transform var(--transition-fast);
}

.btn-hero-primary:hover i {
  transform: translateX(5px);
}

/* 次要按钮 - 描边样式 */
.btn-hero-outline {
  background-color: transparent;
  color: var(--white);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  padding: 1rem 2.5rem;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255, 255, 255, 0.8);
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.btn-hero-outline:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: var(--white);
  color: var(--white);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.2);
}

.btn-hero-outline i {
  transition: transform var(--transition-fast);
}

.btn-hero-outline:hover i {
  transform: translateX(5px);
}

/* 轮播指示器 - Apple风格 */
.carousel-indicators {
  bottom: 40px;
  z-index: 3;
  margin-bottom: 0;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  margin: 0 6px;
  transition: all var(--transition-base);
}

.carousel-indicators [data-bs-target].active {
  background-color: var(--white);
  width: 32px;
  border-radius: var(--radius-full);
}

.carousel-indicators [data-bs-target]:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* 左右切换按钮 - 简洁现代 */
.carousel-control-prev,
.carousel-control-next {
  width: 60px;
  height: 60px;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  opacity: 0;
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
}

.hero-carousel-section:hover .carousel-control-prev,
.hero-carousel-section:hover .carousel-control-next {
  opacity: 1;
}

.carousel-control-prev {
  left: 30px;
}

.carousel-control-next {
  right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.carousel-control-icon {
  width: auto;
  height: auto;
}

.carousel-control-icon i {
  font-size: 2rem;
  color: var(--white);
}

/* 移除Bootstrap默认图标 */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  display: none;
}

/* ==========================================
   解决方案展示模块 - Solutions Section
   ========================================== */
.solutions-section {
  background-color: var(--off-white);
  position: relative;
}

/* 区块标题样式 */
.section-header {
  max-width: 800px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
  padding: 0.5rem 1.25rem;
  background-color: var(--primary-lighter);
  border-radius: var(--radius-full);
}
.why-choose-label {
  color: var(--white);
  background-color: #17a2b8;

}
.why-page-content-wrapper{
    padding: 0px !important;
}
.section-title {
  font-family: var(--heading-font);
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--dark-color);
  margin-bottom: var(--spacing-lg);
  line-height: var(--line-height-tight);
}

.section-description {
  font-size: var(--font-size-lg);
  color: var(--medium-gray);
  line-height: var(--line-height-relaxed);
  margin-bottom: 0;
}

/* 解决方案卡片 - Apple风格 */
.solution-card {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

/* 悬停效果 - 使用缩放代替位移，避免跳动 */
.solution-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-xl);
  border-color: var(--lighter-gray);
}

/* 图片容器 */
.solution-image-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  position: relative;
}

.solution-image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 123, 131, 0.1) 0%,
    rgba(10, 123, 131, 0.3) 100%
  );
  transition: opacity var(--transition-base);
}

.solution-card:hover .solution-image-wrapper::after {
  opacity: 0.5;
}

.solution-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-slow);
}

.solution-card:hover .solution-image {
  transform: scale(1.05);
}

/* 卡片标题 */
.solution-card-title {
  font-family: var(--heading-font);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--dark-color);
  margin-bottom: var(--spacing-md);
  line-height: var(--line-height-tight);
  text-align: center;
  padding: 0 1rem;
  padding-top: var(--spacing-xl);
}

/* 卡片描述 */
.solution-card-description {
  font-size: var(--font-size-sm);
  color: var(--medium-gray);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--spacing-xl);
  flex-grow: 1;
  text-align: center;
  padding: 0 var(--spacing-xl);
}

/* 卡片链接 */
.solution-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  transition: all var(--transition-fast);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  background-color: transparent;
  border: 1px solid var(--lighter-gray);
  margin: 0 var(--spacing-xl) var(--spacing-xl);
}

.solution-card-link:hover {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.solution-card-link i {
  transition: transform var(--transition-fast);
}

.solution-card-link:hover i {
  transform: translateX(5px);
}

/* 查看全部按钮 */
.btn-view-all {
  display: inline-flex;
  align-items: center;
  background-color: var(--white);
  color: var(--primary-color);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  padding: 1rem 2.5rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--primary-color);
  transition: all var(--transition-base);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.btn-view-all:hover {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: var(--shadow-primary);
}

.btn-view-all i {
  transition: transform var(--transition-fast);
}

.btn-view-all:hover i {
  transform: translateX(8px);
}

/* ==========================================
   关于我们模块 - About Us Section
   ========================================== */
.about-section {
  position: relative;
  overflow: hidden;
}

.about-background {
  padding: var(--spacing-4xl) 0;
  position: relative;
  overflow: hidden;
}

/* 视频背景 */
.about-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 0;
  object-fit: cover;
}

/* 视频遮罩层 */
.about-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 123, 131, 0.85) 0%,
    rgba(44, 95, 45, 0.85) 100%
  );
  z-index: 1;
}

/* 确保内容在视频和遮罩之上 */
.about-background .container {
  position: relative;
  z-index: 2;
}

/* 左侧内容 */
.about-content {
  color: var(--white);
  padding-right: var(--spacing-2xl);
}

.about-content .section-label {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.about-title {
  font-family: var(--heading-font);
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--white);
  margin-bottom: var(--spacing-xl);
  line-height: var(--line-height-tight);
}

.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-description {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.9);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--spacing-lg);
}

/* 关于我们按钮 */
.btn-about {
  display: inline-flex;
  align-items: center;
  background-color: var(--white);
  color: var(--primary-color);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  padding: 1rem 2.5rem;
  border-radius: var(--radius-full);
  border: none;
  transition: all var(--transition-base);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  margin-top: var(--spacing-lg);
}

.btn-about:hover {
  background-color: var(--accent-color);
  color: var(--white);
  box-shadow: 0 12px 32px rgba(76, 175, 80, 0.4);
}

.btn-about i {
  transition: transform var(--transition-fast);
}

.btn-about:hover i {
  transform: translateX(5px);
}

/* 统计卡片 */
.about-stats {
  padding-left: var(--spacing-2xl);
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg) var(--spacing-md);
  text-align: center;
  transition: all var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.stat-icon {
  width: 45px;
  height: 45px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  transition: all var(--transition-base);
}

.stat-icon i {
  font-size: 1.5rem;
  color: var(--white);
}

.stat-card:hover .stat-icon {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(360deg);
}

.stat-number {
  font-family: var(--heading-font);
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--white);
  margin-bottom: var(--spacing-xs);
  line-height: 1;
}

.stat-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: var(--font-weight-medium);
}

/* 装饰性元素 */
.about-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.decoration-circle {
  position: absolute;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  animation: float 20s ease-in-out infinite;
}

.decoration-circle-1 {
  width: 400px;
  height: 400px;
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.decoration-circle-2 {
  width: 300px;
  height: 300px;
  bottom: -150px;
  left: 10%;
  animation-delay: 5s;
}

.decoration-circle-3 {
  width: 200px;
  height: 200px;
  top: 50%;
  left: -100px;
  animation-delay: 10s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(180deg);
  }
  }

/* ==========================================
   案例展示模块 - Case Studies Section
   ========================================== */
.case-section {
  background-color: var(--off-white);
  position: relative;
}

/* 案例卡片 - 紧凑设计 */
.case-card {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--lighter-gray);
}

.case-card:hover {
  box-shadow: var(--shadow-xl);
  transform: scale(1.02);
  border-color: var(--primary-color);
}

/* 图片容器 - 控制高度 */
.case-image-wrapper {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
}

.case-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-slow);
}

.case-card:hover .case-image {
  transform: scale(1.1);
}

/* 图片遮罩层 */
.case-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: var(--spacing-md);
  transition: background var(--transition-base);
}

.case-card:hover .case-overlay {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

/* 国家标签 - 左上角 */
.case-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.875rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: var(--font-weight-semibold);
  color: var(--primary-color);
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.case-tag i {
  font-size: 0.75rem;
}

/* 日期标签 - 右上角 */
.case-date {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.875rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: var(--font-weight-semibold);
  color: var(--dark-color);
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.case-date i {
  font-size: 0.75rem;
}

/* 内容区域 - 紧凑内边距 */
.case-content {
  padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-md);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.case-title {
  font-family: var(--heading-font);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  color: var(--dark-color);
  margin-bottom: var(--spacing-sm);
  line-height: var(--line-height-tight);
  transition: color var(--transition-fast);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.case-card:hover .case-title {
  color: var(--primary-color);
}

.case-desc {
  font-size: 0.8125rem;
  color: var(--medium-gray);
  line-height: 1.5;
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 查看详情链接 */
.case-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-size: 0.8125rem;
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  transition: all var(--transition-fast);
  align-self: flex-start;
}

.case-link:hover {
  color: var(--primary-darker);
}

.case-link i {
  transition: transform var(--transition-fast);
}

.case-link:hover i {
  transform: translateX(5px);
}

/* ==========================================
   为什么选择我们 - Why Choose Us Section
   ========================================== */

/* 背景容器 */
.why-choose-section {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.why-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.why-background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.why-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 123, 131, 0.95) 0%,
    rgba(12, 89, 103, 0.9) 50%,
    rgba(10, 123, 131, 0.95) 100%
  );
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.why-choose-section .container {
  position: relative;
  z-index: 2;
  padding-top: var(--spacing-5xl);
  padding-bottom: var(--spacing-5xl);
}



/* 选项卡导航包装器 */
.why-tabs-wrapper {
  padding: 0;
}

/* 选项卡容器 */
.why-tabs {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

/* 选项卡按钮 */
.why-tab {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-lg) var(--spacing-xl);
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-lg);
  color: var(--white);
  font-family: var(--primary-font);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: left;
  position: relative;
  overflow: hidden;
}
.why-page-tab{
    color:black;
    background: #ffffff

}
.why-page-title{
    color:var(--primary-color) !important;
}
.why-tab::before,.why-page-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left var(--transition-slow);
}

.why-tab:hover::before {
  left: 100%;
}

.why-tab i {
  font-size: 1.5rem;
  opacity: 0.8;
  transition: all var(--transition-base);
}

.why-tab span {
  flex: 1;
}

.why-tab:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateX(5px);
}

.why-tab:hover i {
  opacity: 1;
  transform: scale(1.1);
}

/* 激活状态的选项卡 */
.why-tab.active {
  background: var(--white);
  color: var(--primary-color);
  border-color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.why-tab.active i {
  opacity: 1;
  color: var(--primary-color);
}

.why-tab.active::before {
  display: none;
}

/* 内容包装器 */
.why-content-wrapper {
  padding: var(--spacing-3xl) 0;
  min-height: 500px;
  position: relative;
}

/* 内容项 */
.why-content {
  display: none;
  animation: fadeInUp 0.6s ease-out;
}

.why-content.active {
  display: block;
}

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

/* 内容文字区域 */
.why-content-text {
  color: var(--white);
}

.why-content-title {
  font-family: var(--heading-font);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--white);
  margin-bottom: var(--spacing-lg);
  line-height: 1.3;
}

.why-content-description {
  font-size: var(--font-size-base);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-xl);
}

/* 特点列表 */
.why-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-features-list li {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--spacing-md);
  padding: var(--spacing-sm) 0;
  transition: all var(--transition-fast);
}

.why-features-list li:hover {
  transform: translateX(5px);
}

.why-features-list li i {
  font-size: 1.25rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

/* 视频包装器 */
.why-video-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  background: rgba(0, 0, 0, 0.2);
  aspect-ratio: 16 / 9;
}

.why-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
}

/* 视频控制器样式 */
.why-video::-webkit-media-controls-panel {
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(0, 0, 0, 0.8)
  );
}

/* ==========================================
   新闻展示 - News Section
   ========================================== */

.news-section {
  background-color: var(--off-white);
}

/* 推荐新闻卡片 */
.featured-news-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.featured-news-card:hover {
  box-shadow: var(--shadow-xl);
}

.featured-news-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.featured-news-image-wrapper {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
}

.featured-news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.featured-news-card:hover .featured-news-image {
  transform: scale(1.05);
}

.featured-badge {
  position: absolute;
  top: var(--spacing-lg);
  left: var(--spacing-lg);
  background: var(--primary-color);
  color: var(--white);
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.5px;
  z-index: 2;
}

.featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.6),
    transparent
  );
  opacity: 0;
  transition: opacity var(--transition-base);
}

.featured-news-card:hover .featured-overlay {
  opacity: 1;
}

.featured-news-content {
  padding: var(--spacing-xl);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.featured-news-meta {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.news-category,
.news-date,
.news-author,
.news-views {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--font-size-sm);
  color: var(--medium-gray);
}

.news-category i,
.news-date i,
.news-author i,
.news-views i {
  font-size: 1rem;
  color: var(--primary-color);
}

.featured-news-title {
  font-family: var(--heading-font);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--dark-color);
  margin-bottom: var(--spacing-md);
  line-height: 1.4;
  transition: color var(--transition-fast);
}

.featured-news-link:hover .featured-news-title {
  color: var(--primary-color);
}

.featured-news-excerpt {
  font-size: var(--font-size-base);
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: var(--spacing-lg);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-news-footer {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
  padding-top: var(--spacing-md);
  margin-top: auto;
  border-top: 1px solid var(--lighter-gray);
}

/* 最新新闻列表 */
.latest-news-wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.latest-news-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-md);
  border-bottom: 2px solid var(--primary-color);
}

.latest-news-title {
  font-family: var(--heading-font);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--dark-color);
  margin: 0;
}

.view-all-news {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.view-all-news:hover {
  gap: 0.75rem;
  color: var(--primary-dark);
}

.view-all-news i {
  transition: transform var(--transition-fast);
}

.view-all-news:hover i {
  transform: translateX(3px);
}

.latest-news-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.latest-news-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.latest-news-item:hover {
  box-shadow: var(--shadow-md);
}

.latest-news-link {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  text-decoration: none;
  color: inherit;
  padding: var(--spacing-md);
}

.latest-news-image-wrapper {
  flex-shrink: 0;
  width: 120px;
  height: 90px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.latest-news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.latest-news-item:hover .latest-news-image {
  transform: scale(1.1);
}

.latest-news-content {
  flex: 1;
  min-width: 0;
}

.latest-news-item-title {
  font-family: var(--heading-font);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--dark-color);
  line-height: 1.5;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition-fast);
}

.latest-news-link:hover .latest-news-item-title {
  color: var(--primary-color);
}

.latest-news-meta {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  font-size: var(--font-size-xs);
}

.latest-news-meta .news-date {
  color: var(--medium-gray);
}

.latest-news-meta .news-category {
  color: var(--primary-color);
  background: var(--primary-lighter);
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-sm);
  font-weight: var(--font-weight-medium);
}

.latest-news-meta .news-category i {
  display: none;
}

/* ==========================================
   展会信息 - Exhibition Section
   ========================================== */

.exhibition-section {
  background-color: var(--white);
}

/* 展会卡片 */
.exhibition-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
}

.exhibition-card:hover {
  box-shadow: var(--shadow-xl);
}

.exhibition-card[data-status="upcoming"]:hover {
  border-color: var(--primary-color);
}

.exhibition-card[data-status="ongoing"]:hover {
  border-color: var(--accent-color);
}

.exhibition-card[data-status="completed"]:hover {
  border-color: var(--medium-gray);
}

/* 状态标识 */
.exhibition-status {
  position: absolute;
  top: var(--spacing-lg);
  right: var(--spacing-lg);
  z-index: 2;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.status-badge i {
  font-size: 0.875rem;
}

.status-upcoming {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--white);
}

.status-ongoing {
  background: linear-gradient(135deg, var(--accent-color), #e67e22);
  color: var(--white);
  animation: pulse 2s ease-in-out infinite;
}

.status-completed {
  background: linear-gradient(135deg, var(--medium-gray), var(--dark-gray));
  color: var(--white);
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }
  50% {
    box-shadow: 0 2px 20px rgba(242, 153, 74, 0.5);
  }
}

/* 展会图片 */
.exhibition-image-wrapper {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: var(--spacing-md);
}

.exhibition-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.exhibition-card:hover .exhibition-image {
  transform: scale(1.05);
}

/* 展会内容 */
.exhibition-body {
  flex: 1;
}

.exhibition-body .exhibition-title {
  font-family: var(--heading-font);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  color: var(--dark-color);
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid var(--lighter-gray);
  line-height: 1.3;
}

.exhibition-info-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-xs);
}

.exhibition-info-row:last-child {
  margin-bottom: 0;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--text-color);
}

.info-item i {
  font-size: 0.875rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

/* ===================================
   Footer Module - Apple Style
   =================================== */

/* 页脚主容器 */
.site-footer {
  background: linear-gradient(135deg, #1a1d29 0%, #2d3142 50%, #1a1d29 100%);
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.site-footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(0, 123, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 255, 163, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

/* 页脚主要内容区 */
.footer-main {
  padding: 4rem 0 3rem;
  position: relative;
  z-index: 1;
}

/* 品牌信息区域 */
.footer-brand {
  max-width: 100%;
}

.footer-logo {
  display: inline-block;
  text-decoration: none;
  margin-bottom: var(--spacing-lg);
  transition: opacity var(--transition-base);
}

.footer-logo:hover {
  opacity: 0.8;
}

.footer-logo .brand-text {
  font-size: 1.875rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.footer-description {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--spacing-md);
  max-width: 90%;
}

.footer-tagline {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-top: var(--spacing-lg);
  padding-left: var(--spacing-md);
  border-left: 3px solid var(--primary-color);
  font-style: italic;
}

/* 页脚链接区域 */
.footer-links {
  padding: 0;
}

.footer-links-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: var(--spacing-lg);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  padding-bottom: var(--spacing-sm);
}

.footer-links-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), transparent);
  border-radius: 2px;
}
.footer-links-title a {
  color: #ffffff!important;
}
.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: var(--spacing-sm);
}

.footer-menu li:last-child {
  margin-bottom: 0;
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  transition: color var(--transition-base);
  position: relative;
  padding-left: 20px;
}

.footer-menu a::before {
  content: '→';
  position: absolute;
  left: 0;
  opacity: 0;
  color: var(--primary-color);
  transition: opacity var(--transition-base);
}

.footer-menu a:hover {
  color: #ffffff;
}

.footer-menu a:hover::before {
  opacity: 1;
}

/* 联系方式区域 */
.footer-contact {
  padding: 0;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
}

.footer-contact-list li:last-child {
  margin-bottom: 0;
}

.footer-contact-list i {
  font-size: 1.125rem;
  color: var(--primary-color);
  margin-top: 2px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.footer-contact-list span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footer-contact-list a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all var(--transition-base);
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
}

.footer-contact-list a:hover {
  color: #ffffff;
}

.footer-contact-list a:hover i {
  transform: scale(1.15);
  color: #ffffff;
}

/* 底部版权区域 */
.footer-bottom {
  padding: 1.5rem 0;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.copyright p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition-base);
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

.footer-bottom-links .separator {
  color: rgba(255, 255, 255, 0.3);
}


/* ===================================
   Page Banner - Apple Style
   =================================== */

/* Banner容器 */
.page-banner-section {
  position: relative;
  overflow: hidden;
}

.page-banner-wrapper {
  position: relative;
  width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 背景图片 */
.page-banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

/* 遮罩层 */
.page-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 123, 131, 0.45) 0%,
    rgba(44, 95, 45, 0.35) 100%
  );
  z-index: 2;
}

/* Banner内容 */
.page-banner-content {
  position: relative;
  z-index: 3;
  width: 100%;
  text-align: center;
  padding: 2rem 0;
}

.banner-content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out;
}



/* 主标题 */
.banner-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: var(--spacing-lg);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* 副标题 */
.banner-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--spacing-xl);
  line-height: 1.6;
  font-weight: 400;
}

/* 面包屑导航 */
.banner-breadcrumb {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-xl);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: var(--spacing-sm);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  text-transform: uppercase;
  
}

.breadcrumb-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all var(--transition-base);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

.breadcrumb-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.breadcrumb-link i {
  font-size: 1rem;
}

.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0.25rem;
  font-size: 0.875rem;
}

.breadcrumb-active {
  color: #ffffff;
  font-weight: 500;
}

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

/* ==========================================
   Process Flow Chart - 流程图模块（固定布局）
   ========================================== */

.process-flow-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f0f4f8 100%);
  overflow-x: auto;
}

/* 流程图选项卡 */
.flow-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.flow-tabs {
  display: flex;
  gap: 16px;
  background: rgba(255, 255, 255, 0.9);
  padding: 8px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(10, 123, 131, 0.1),
              0 2px 8px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(10px);
}

.flow-tab {
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  color: #5a6c7d;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  white-space: nowrap;
}

.flow-tab:hover {
  color: #0A7B83;
  background: rgba(10, 123, 131, 0.05);
  border-color: rgba(10, 123, 131, 0.2);
}

.flow-tab.active {
  color: #ffffff;
  background: linear-gradient(135deg, #0A7B83 0%, #1A9BA4 100%);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(10, 123, 131, 0.3),
              0 2px 8px rgba(0, 0, 0, 0.1);
}

.flow-tab.active:hover {
  background: linear-gradient(135deg, #1A9BA4 0%, #2CBCC5 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 123, 131, 0.4),
              0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 流程图选项卡智能滚动 - Flow Tabs Smart Scroll */
.flow-tabs {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  /* 隐藏滚动条 */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  -webkit-overflow-scrolling: touch; /* 触摸滚动优化 */
  flex-wrap: nowrap; /* 防止换行 */
}

/* 隐藏滚动条 - Webkit */
.flow-tabs::-webkit-scrollbar {
  display: none;
  height: 0;
}

/* 确保选项卡按钮不收缩 */
.flow-tab {
  flex-shrink: 0;
}

/* 额外节点动画 */
.extra-node {
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.extra-node.show {
  display: flex !important;
  animation: fadeInNode 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInNode {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* 主流程节点 - 在非PCB方案时向下移动 */
.flow-chart-container.with-equipment .main-node,
.flow-chart-container.with-equipment .main-node ~ .flow-node:not(.extra-node):not(.equipment-node) {
  transform: translateY(120px);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 产品节点（左右两侧）也需要向下移动 */
.flow-chart-container.with-equipment .extra-node:not(.equipment-node).show {
  animation: fadeInNodeWithOffset 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInNodeWithOffset {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(130px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(120px);
  }
}

/* 设备节点在hover时保持正确的transform */
.flow-chart-container.with-equipment .equipment-node:hover {
  transform: translateY(-3px) scale(1.02) !important;
}

/* 产品节点在hover时保持向下偏移 */
.flow-chart-container.with-equipment .extra-node:not(.equipment-node):hover {
  transform: translateY(117px) scale(1.02) !important;
}

/* 主流程节点在hover时保持向下偏移 */
.flow-chart-container.with-equipment .main-node:hover,
.flow-chart-container.with-equipment .main-node ~ .flow-node:not(.extra-node):not(.equipment-node):hover {
  transform: translateY(117px) scale(1.02) !important;
}

.flow-chart-container {
  position: relative;
  width: 1400px;
  height: 1400px;
  margin: 0 auto;
 


  padding: 20px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 当显示设备节点时，容器增加高度 */
.flow-chart-container.with-equipment {
  height: 1520px;
}

/* SVG箭头层在非PCB方案时向下移动 */
.flow-chart-container.with-equipment .flow-arrows {
  transform: translateY(120px);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 非PCB方案的箭头默认隐藏（PCB方案时） */
.non-pcb-arrow {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s;
}

/* 额外箭头默认隐藏 */
.extra-arrow {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s;
}

/* 非PCB方案时显示这些箭头 */
.flow-chart-container.with-equipment .non-pcb-arrow {
  opacity: 0.6;
  visibility: visible;
}

/* 悬停时增强显示 */
.flow-chart-container.with-equipment .non-pcb-arrow:hover {
  opacity: 1;
  stroke-width: 3;
}

/* SVG 箭头层 */
.flow-arrows {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.arrow-line {
  fill: none;
  stroke: #0A7B83;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.6;
  transition: all var(--transition-base);
}

.arrow-line:hover {
  opacity: 1;
  stroke-width: 3;
}

/* 图例样式 */
.flow-legend {
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.98);
  border: 1.5px solid rgba(10, 123, 131, 0.15);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08),
              0 2px 8px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(10px);
}

.legend-title {
  font-size: 14px;
  font-weight: 600;
  color: #2d3e50;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.legend-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.legend-color {
  width: 32px;
  height: 24px;
  border-radius: 6px;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.legend-machine {
  background: linear-gradient(135deg, #FFF8F0 0%, #FFF4E6 100%);
  border-color: rgba(255, 152, 0, 0.3);
}

.legend-product {
  
  border-color: #FFD700;
}

.legend-material {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-color: rgba(10, 123, 131, 0.2);
}

.legend-item span {
  font-size: 13px;
  color: #5a6c7d;
  font-weight: 500;
}

/* 流程节点基础样式 */
.flow-node {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 140px;
  height: 100px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 2px solid rgba(10, 123, 131, 0.2);
  border-radius: 16px;
  padding: 16px;
  text-decoration: none;
  color: var(--dark-color);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(10, 123, 131, 0.08),
              0 2px 8px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transform-origin: center;
}

.flow-node:hover {
  background: linear-gradient(135deg, #0A7B83 0%, #1A9BA4 100%);
  border-color: #0A7B83;
  box-shadow: 0 12px 40px rgba(10, 123, 131, 0.25),
              0 8px 20px rgba(0, 0, 0, 0.1);
  z-index: 10;
  transform: scale(1.05);
}

.flow-node:hover .node-icon {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1) rotate(5deg);
}

.flow-node:hover .node-title {
  color: #ffffff;
}

/* 节点图标 */
.node-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  
  border-radius: 12px;
  color: #ffffff;
  font-size: 22px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 节点标题 */
.node-title {
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
  color: var(--dark-color);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.3px;
}

/* 节点尺寸变体 */
.flow-node.node-small {
  width: 70px;
  height: 70px;
  gap: 4px;
  padding: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  border: 1.5px solid #FFD700;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08),
              0 1px 3px rgba(0, 0, 0, 0.06);
}

.flow-node.node-small .node-icon {
  width: 28px;
  height: 28px;
  font-size: 18px;
  background: transparent;
  color: #FFD700;
  border-radius: 0;
}

.flow-node.node-small .node-title {
  font-size: 10px;
  font-weight: 600;
  color: #5a6c7d;
  letter-spacing: 0.3px;
}

.flow-node.node-small:hover {
  background: linear-gradient(180deg, #ffffff 0%, #f0f4f8 100%) !important;
  border-color: #FFD700 !important;
  box-shadow: 0 4px 16px rgba(255, 215, 0, 0.2),
              0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.flow-node.node-small:hover .node-icon {
  color: #FFB800 !important;
  background: transparent !important;
  transform: scale(1.15) rotate(0deg) !important;
}

.flow-node.node-small:hover .node-title {
  color: #5a6c7d !important;
}

/* 废料节点特殊样式 (flow-node + node-wide) */
.flow-node.node-wide {
  width: 180px;
  height: 100px;
  background: linear-gradient(135deg, #FFF8F0 0%, #FFF4E6 100%);
  border: 2px solid rgba(255, 152, 0, 0.3);
  box-shadow: 0 4px 20px rgba(255, 152, 0, 0.12),
              0 2px 8px rgba(0, 0, 0, 0.06);
}

.flow-node.node-wide .node-icon {
  
  color: #ffffff;
  
}

.flow-node.node-wide .node-title {
  color: #E65100;
  font-weight: 600;
}

.flow-node.node-wide:hover {
  background: linear-gradient(135deg, #FFF4E6 0%, #FFE0B2 100%) !important;
  border-color: #FF9800 !important;
  box-shadow: 0 12px 40px rgba(255, 152, 0, 0.25),
              0 8px 20px rgba(0, 0, 0, 0.1) !important;
}

.flow-node.node-wide:hover .node-icon {
  color: #ffffff !important;
  transform: scale(1.1) rotate(5deg) !important;
}

.flow-node.node-wide:hover .node-title {
  color: #E65100 !important;
}

.flow-node.node-large {
  width: 280px;
  height: 100px;
}

.flow-node.node-tall {
  width: 120px;
  height: 120px;
}

.flow-node.node-xlarge {
  width: 280px;
  height: 100px;
}

/* 滚动条样式 */
.process-flow-section::-webkit-scrollbar {
  height: 12px;
}

.process-flow-section::-webkit-scrollbar-track {
  background: rgba(10, 123, 131, 0.05);
  border-radius: 6px;
}

.process-flow-section::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #0A7B83 0%, #1A9BA4 100%);
  border-radius: 6px;
  transition: all var(--transition-base);
}

.process-flow-section::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #065D63 0%, #0A7B83 100%);
}

/* 鼠标悬停时高亮连接的箭头 */
.flow-node:hover ~ .flow-arrows .arrow-line {
  opacity: 0.3;
}

/* 节点连接动画 */
@keyframes flowPulse {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

.arrow-line {
  animation: flowPulse 3s ease-in-out infinite;
}

/* 节点进入动画 */
@keyframes nodeAppear {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.flow-node {
  animation: nodeAppear 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

/* 错开动画延迟 */
.flow-node:nth-child(1) { animation-delay: 0.1s; }
.flow-node:nth-child(2) { animation-delay: 0.15s; }
.flow-node:nth-child(3) { animation-delay: 0.2s; }
.flow-node:nth-child(4) { animation-delay: 0.25s; }
.flow-node:nth-child(5) { animation-delay: 0.3s; }
.flow-node:nth-child(6) { animation-delay: 0.35s; }
.flow-node:nth-child(7) { animation-delay: 0.4s; }
.flow-node:nth-child(8) { animation-delay: 0.45s; }
.flow-node:nth-child(9) { animation-delay: 0.5s; }
.flow-node:nth-child(10) { animation-delay: 0.55s; }
.flow-node:nth-child(11) { animation-delay: 0.6s; }
.flow-node:nth-child(12) { animation-delay: 0.65s; }
.flow-node:nth-child(13) { animation-delay: 0.7s; }
.flow-node:nth-child(14) { animation-delay: 0.75s; }
.flow-node:nth-child(15) { animation-delay: 0.8s; }

/* ==========================================
   解决方案详情顶部简介模块 - Solution Introduction Section
   ========================================== */

/* 解决方案简介区域 */
.solution-intro-section {
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

/* ==========================================
   左侧媒体展示区域 - Media Display Area
   ========================================== */

/* 媒体展示包装器 */
.media-display-wrapper {
  position: relative;
  width: 100%;
}

/* 主展示区域 */
.media-main-display {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 宽高比 */
  background-color: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  margin-bottom: var(--spacing-lg);
}

/* 媒体项目 */
.media-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

.media-item.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  
}

/* 视频包装器 */
.video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* 图片展示 */
.media-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.media-item:hover .media-image {
  transform: scale(1.05);
}




/* ==========================================
   缩略图导航 - Thumbnail Navigation
   ========================================== */

.media-thumbnails {
  display: flex;
  gap: var(--spacing-md);
  overflow-x: auto;
  padding: var(--spacing-xs) 0;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) var(--lighter-gray);
}

/* 隐藏滚动条但保持功能 */
.media-thumbnails::-webkit-scrollbar {
  height: 6px;
}

.media-thumbnails::-webkit-scrollbar-track {
  background: var(--lighter-gray);
  border-radius: var(--radius-full);
}

.media-thumbnails::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: var(--radius-full);
}

/* 缩略图项目 */
.thumbnail-item {
  flex: 0 0 auto;
  width: 120px;
  height: 90px;
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
}

.thumbnail-wrapper {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 3px solid transparent;
  transition: all var(--transition-base);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.thumbnail-item.active .thumbnail-wrapper {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(10, 123, 131, 0.15);
}

.thumbnail-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-base);
}

.thumbnail-item:hover .thumbnail-wrapper {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.thumbnail-item:hover .thumbnail-wrapper img {
  transform: scale(1.1);
}

/* 视频指示器 */
.video-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.video-indicator i {
  font-size: 1.25rem;
  color: var(--primary-color);
}

.thumbnail-item:hover .video-indicator {
  background: var(--white);
  transform: translate(-50%, -50%) scale(1.1);
}

/* ==========================================
   右侧简介内容 - Introduction Content
   ========================================== */

.solution-intro-content {
  padding: 0;
}

/* 方案标签 */
.intro-label {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-lg);
  background: var(--primary-lighter);
  color: var(--primary-dark);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--spacing-lg);
  border: 1px solid rgba(10, 123, 131, 0.2);
}

.intro-label i {
  color: var(--accent-color);
  font-size: 1rem;
}

/* 方案标题 */
.intro-title {
  font-family: var(--heading-font);
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--dark-color);
  line-height: var(--line-height-tight);
  margin-bottom: var(--spacing-lg);
  letter-spacing: -0.5px;
}

/* 方案简介 */
.intro-description {
  color: var(--medium-gray);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--spacing-2xl);
}

.intro-description p {
  margin-bottom: var(--spacing-md);
}

.intro-description p:last-child {
  margin-bottom: 0;
}

/* 行动按钮组 */
.intro-actions {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.btn-intro-primary {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  padding: 0.875rem 3rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
  background: var(--gradient-primary);
  border: 2px solid transparent;
  color: var(--white);
  box-shadow: var(--shadow-primary);
  cursor: pointer;
}

/* ==========================================
   解决方案详情区域 - Solution Details Section
   ========================================== */

/* 粘性选项卡导航容器 */
.solution-tabs-wrapper {
  background: var(--white);
  border-bottom: 1px solid var(--lighter-gray);
  position: sticky;
  top: 0px; /* 导航栏高度 */
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* 选项卡导航 */
.solution-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.solution-tabs::-webkit-scrollbar {
  display: none;
}

/* 选项卡按钮 */
.tab-item {
  flex: 1;
  min-width: 120px;
  padding: var(--spacing-lg) var(--spacing-md);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--medium-gray);
  font-weight: var(--font-weight-medium);
  position: relative;
}

.tab-item i {
  font-size: 1.5rem;
  transition: all var(--transition-base);
}

.tab-item span {
  font-size: var(--font-size-sm);
  white-space: nowrap;
}

.tab-item:hover {
  background: var(--off-white);
  color: var(--primary-color);
}

.tab-item:hover i {
  transform: translateY(-2px);
}

.tab-item.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
  background: linear-gradient(to top, rgba(10, 123, 131, 0.05), transparent);
}

.tab-item.active i {
  color: var(--primary-color);
}

/* 内容区域 */
.detail-content-section {
  scroll-margin-top: 150px; /* 粘性导航高度 + 偏移 */
}

/* 内容块 */
.content-block {
  background: var(--white);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-xl);
  border: 1px solid var(--lighter-gray);
  box-shadow: var(--shadow-sm);
}

.content-title {
  font-family: var(--heading-font);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--dark-color);
  margin-bottom: var(--spacing-lg);
  line-height: var(--line-height-tight);
}

.content-description {
  font-size: var(--font-size-base);
  color: var(--medium-gray);
  line-height: var(--line-height-relaxed);
  margin-bottom: 0;
}

/* ==========================================
   相关产品卡片 - Related Product Cards
   ========================================== */

.related-product-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
  border: 1px solid var(--lighter-gray);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.related-product-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

/* 产品图片 */
.product-image {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 75%; /* 4:3 */
  overflow: hidden;
  background: var(--white);
}

.product-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.related-product-card:hover .product-image img {
  transform: scale(1.1);
}

/* 产品信息 */
.product-info {
  padding: var(--spacing-xl);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-name {
  font-family: var(--heading-font);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--dark-color);
  margin-bottom: var(--spacing-md);
  line-height: var(--line-height-tight);
}

.product-desc {
  font-size: var(--font-size-sm);
  color: var(--medium-gray);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--spacing-lg);
  flex: 1;
}

/* 查看详情按钮 */
.btn-product-detail {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--primary-color);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
  text-decoration: none;
  transition: all var(--transition-base);
}

.btn-product-detail:hover {
  gap: var(--spacing-sm);
  color: var(--primary-dark);
}

.btn-product-detail i {
  transition: transform var(--transition-fast);
}

.btn-product-detail:hover i {
  transform: translateX(4px);
}

/* ==========================================
   询价表单 - Quote Form
   ========================================== */

.quote-form-wrapper {
  background: var(--white);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-xl);
  border: 1px solid var(--lighter-gray);
  box-shadow: var(--shadow-md);
}

/* 表单组 */
.form-group {
  margin-bottom: 0;
}

.form-label {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--dark-gray);
  margin-bottom: var(--spacing-sm);
}

.form-label i {
  color: var(--primary-color);
  font-size: 1rem;
}

.form-label .required {
  color: var(--accent-color);
}

/* 表单控件 */
.quote-form .form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: var(--font-size-base);
  color: var(--dark-color);
  background: var(--white);
  border: 2px solid var(--lighter-gray);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.quote-form .form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(10, 123, 131, 0.1);
}

.quote-form .form-control::placeholder {
  color: var(--light-gray);
}

.quote-form select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

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

/* 提交按钮 */
.btn-quote-submit {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-primary);
}

/* 表单说明 */
.form-note {
  margin-top: var(--spacing-lg);
  padding: var(--spacing-md);
  background: var(--off-white);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  color: var(--medium-gray);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: 0;
}

.form-note i {
  color: var(--accent-color);
  font-size: 1.125rem;
}

/* ==========================================
   案例列表页面 - Case Archive Page
   ========================================== */

/* 案例卡片 */
.case-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.case-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--lighter-gray);
}

.case-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 卡片元信息标签 */
.case-meta-badges {
  position: absolute;
  top: var(--spacing-md);
  left: var(--spacing-md);
  right: var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--spacing-sm);
  z-index: 2;
}

.case-location,
.case-date {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--dark-gray);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.case-location i {
  color: var(--primary-color);
  font-size: 0.875rem;
}

.case-date i {
  color: var(--accent-color);
  font-size: 0.875rem;
}

/* 卡片内容区 */
.case-content {
  padding: var(--spacing-xl);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case-title {
  font-family: var(--heading-font);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  line-height: var(--line-height-tight);
  margin-bottom: var(--spacing-sm);
  transition: color var(--transition-fast);
}

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

.case-title a:hover {
  color: var(--primary-color);
}

.case-description {
  font-size: var(--font-size-sm);
  color: var(--medium-gray);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--spacing-lg);
  flex: 1;
}

.case-link {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--primary-color);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
}

.case-link:hover {
  color: var(--primary-dark);
}

.case-link i {
  font-size: 1rem;
}

/* 分页导航 */
.case-pagination {
  margin-top: var(--spacing-3xl);
  padding-top: var(--spacing-2xl);
  border-top: 1px solid var(--lighter-gray);
}

.pagination-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-xs);
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination-item {
  list-style: none;
}

.pagination-link {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0 var(--spacing-sm) !important;
  background: var(--white) !important;
  border: 2px solid var(--lighter-gray) !important;
  border-radius: var(--radius-md) !important;
  font-size: var(--font-size-sm) !important;
  font-weight: var(--font-weight-semibold);
  color: var(--dark-gray) !important;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none !important;
  box-sizing: border-box !important;
}

/* 确保WordPress生成的分页链接样式正确 */
.case-pagination .pagination-link,
.case-pagination a.pagination-link,
.case-pagination span.pagination-link {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0 var(--spacing-sm) !important;
  background: var(--white) !important;
  border: 2px solid var(--lighter-gray) !important;
  border-radius: var(--radius-md) !important;
  font-size: var(--font-size-sm) !important;
  font-weight: var(--font-weight-semibold);
  color: var(--dark-gray) !important;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none !important;
  box-sizing: border-box !important;
}

.pagination-link:hover:not(:disabled),
.case-pagination .pagination-link:hover:not(:disabled),
.case-pagination a.pagination-link:hover:not(:disabled) {
  background: var(--off-white) !important;
  border-color: var(--primary-color) !important;
  color: var(--primary-color) !important;
}

.pagination-item.active .pagination-link,
.case-pagination .pagination-item.active .pagination-link,
.case-pagination .pagination-item.active a.pagination-link,
.case-pagination .pagination-item.active span.pagination-link {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: var(--white) !important;
}

.pagination-item.disabled .pagination-link,
.case-pagination .pagination-item.disabled .pagination-link,
.case-pagination .pagination-item.disabled span.pagination-link {
  opacity: 0.4 !important;
  cursor: not-allowed !important;
  background: var(--white) !important;
  border-color: var(--lighter-gray) !important;
  color: var(--dark-gray) !important;
}

.pagination-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--spacing-xs);
  color: var(--medium-gray);
  font-weight: var(--font-weight-semibold);
}

/* ==========================================
   客户评价模块 - Customer Feedback Section
   ========================================== */

.customer-feedback-section {
  background: var(--off-white);
}

/* 标题区域 */
.feedback-header {
  max-width: 800px;
  margin: 0 auto;
}

.title-underline {
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  margin: var(--spacing-md) auto 0;
  border-radius: var(--radius-full);
}

/* 评价卡片 */
.feedback-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* 客户信息 */
.feedback-customer {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.customer-flag {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--lighter-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
}

.flag-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.customer-name {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin: 0;
  line-height: var(--line-height-tight);
}

/* 聊天预览 */
.feedback-chat-preview {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--spacing-lg);
  background: var(--lighter-gray);
  border: 1px solid var(--lighter-gray);
}

.chat-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 评分星级 */
.feedback-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: var(--spacing-md);
}

.feedback-rating i {
  color: var(--accent-color);
  font-size: 1rem;
}

/* 评价引用 */
.feedback-quote {
  margin: 0;
  flex: 1;
  display: flex;
  align-items: flex-start;
}

.feedback-quote p {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
  color: var(--medium-gray);
  font-style: italic;
  margin: 0;
  position: relative;
  padding-left: var(--spacing-lg);
}

.feedback-quote p::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -0.25rem;
  font-size: 2rem;
  color: var(--primary-color);
  font-family: Georgia, serif;
  line-height: 1;
}

/* ==========================================
   案例详情页面 - Case Detail Page
   ========================================== */

/* 案例简介区域 */
.case-intro-section {
  background: var(--white);
}

/* 左侧图片容器 */
/* .case-media-container {
  position: sticky;
  top: 100px;
} */

.case-main-image {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.case-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* 图片切换器 */
.case-image-switcher {
  margin-top: var(--spacing-lg);
}

.case-thumb-btn {
  width: 100%;
  padding: 0;
  border: 3px solid transparent;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: none;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
}

.case-thumb-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background var(--transition-base);
}

.case-thumb-btn:hover::after {
  background: rgba(0, 0, 0, 0.2);
}

.case-thumb-btn.active {
  border-color: var(--primary-color);
}

.case-thumb-btn.active::after {
  background: rgba(76, 175, 80, 0.1);
}

.case-thumb-btn img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

/* 右侧信息容器 */
.case-info-container {
  padding-left: var(--spacing-xl);
}

.case-info-title {
  font-family: var(--heading-font);
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  line-height: var(--line-height-tight);
  margin-bottom: var(--spacing-xl);
}

/* 参数列表容器 */
.case-parameters-box {
  background: var(--off-white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.case-parameters {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.case-param-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--lighter-gray);
}

.case-param-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.param-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.param-icon i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.param-content {
  flex: 1;
}

.param-label {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--medium-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.param-value {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  line-height: var(--line-height-normal);
}

/* 联系按钮 */
.case-contact-btn-wrapper {
  padding-top: var(--spacing-xl);
  border-top: 2px solid var(--lighter-gray);
  margin-top: var(--spacing-xl);
}

/* ==========================================
   新闻列表页面 - News Archive Page
   ========================================== */




/* 新闻卡片 News Cards */
.news-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--lighter-gray);
}

.news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-body {
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  flex-wrap: wrap;
}

.news-date,
.news-author {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--font-size-xs);
  color: var(--medium-gray);
}

.news-date i,
.news-author i {
  font-size: 0.875rem;
  color: var(--primary-color);
}

.news-title {
  font-family: var(--heading-font);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  line-height: var(--line-height-tight);
  margin-bottom: var(--spacing-sm);
}

.news-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-title a:hover {
  color: var(--primary-color);
}

.news-excerpt {
  font-size: var(--font-size-sm);
  color: var(--medium-gray);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--spacing-lg);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  margin-top: auto;
}

.news-link:hover {
  color: var(--primary-dark);
}

.news-link i {
  font-size: 1rem;
}

/* ==========================================
   新闻详情页面 - News Detail Page
   ========================================== */

/* 新闻详情文章容器 */
.news-detail-article {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* 新闻元信息 */
.news-detail-meta {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--lighter-gray);
}

.news-detail-date,
.news-detail-author {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--font-size-sm);
  color: var(--medium-gray);
}

.news-detail-date i,
.news-detail-author i {
  font-size: 1rem;
  color: var(--primary-color);
}

/* 新闻标题 */
.news-detail-title {
  font-family: var(--heading-font);
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  line-height: var(--line-height-tight);
  margin-bottom: var(--spacing-lg);
}

/* 新闻标签 */
.news-detail-tags {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
  border-bottom: 1px solid var(--lighter-gray);
}

.news-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--off-white);
  color: var(--primary-color);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.news-tag:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* 新闻内容 */
.news-detail-content {
  margin-bottom: var(--spacing-2xl);
}

.news-detail-content p {
  font-size: var(--font-size-base);
  color: var(--text-primary);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--spacing-lg);
}

.news-detail-content p:last-child {
  margin-bottom: 0;
}

/* 社交媒体分享 */
.news-detail-share {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-xl);
  background: var(--off-white);
  border-radius: var(--radius-lg);
  margin-bottom: var(--spacing-2xl);
}

.share-title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin: 0;
  white-space: nowrap;
}

.share-buttons {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.share-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--medium-gray);
  border-radius: 50%;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 1.125rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.share-facebook:hover {
  background: #1877F2;
  color: var(--white);
}

.share-x:hover {
  background: #000000;
  color: var(--white);
}

.share-linkedin:hover {
  background: #0A66C2;
  color: var(--white);
}

.share-whatsapp:hover {
  background: #25D366;
  color: var(--white);
}

.share-link:hover {
  background: var(--primary-color);
  color: var(--white);
}

.share-link.copied {
  background: var(--primary-color);
  color: var(--white);
}

/* 上下篇导航 */
.news-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  padding-top: var(--spacing-2xl);
  border-top: 2px solid var(--lighter-gray);
}

.news-nav-item {
  min-width: 0;
}

.news-nav-link {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  padding: var(--spacing-lg);
  background: var(--off-white);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all var(--transition-fast);
  height: 100%;
}

.news-nav-link:hover {
  background: var(--lighter-gray);
}

.news-nav-prev .nav-label {
  align-self: flex-start;
}

.news-nav-next {
  text-align: right;
}

.news-nav-next .nav-label {
  align-self: flex-end;
}

.nav-label {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--primary-color);
  text-transform: uppercase;
}

.nav-label i {
  font-size: 0.875rem;
}

.nav-title {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--text-primary);
  line-height: var(--line-height-tight);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================
   关于我们页面 - About Us Page
   ========================================== */

/* 关于我们简介区域 */
.about-intro-section {
  background: var(--off-white);
}

/* 左侧内容 */
.about-intro-content {
  padding: var(--spacing-lg) 0;
}

/* ABOUT US 徽章 */
.about-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: #17a2b8;
  color: var(--white);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: 1px;
  border-radius: var(--radius-full);
  margin-bottom: var(--spacing-lg);
}

/* 标题 */
.about-intro-title {
  font-family: var(--heading-font);
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  line-height: var(--line-height-tight);
  margin-bottom: var(--spacing-xl);
}

/* 描述文字 */
.about-intro-description {
  margin-bottom: var(--spacing-2xl);
}

.about-intro-description p {
  font-size: var(--font-size-base);
  color: var(--text-primary);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--spacing-md);
}

.about-intro-description p:last-child {
  margin-bottom: 0;
}

/* 特点网格 */
.about-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-2xl);
}

/* 特点项 */
.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #17a2b8;
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 1.5rem;
}

.feature-content {
  flex: 1;
  min-width: 0;
}

.feature-title {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  line-height: var(--line-height-tight);
}

.feature-text {
  font-size: var(--font-size-xs);
  color: var(--medium-gray);
  line-height: 1.4;
  margin: 0;
}

/* 联系按钮 */
.about-intro-action {
  margin-top: var(--spacing-xl);
}

.btn-about-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: #17a2b8;
  color: var(--white);
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-base);
  box-shadow: 0 2px 8px rgba(23, 162, 184, 0.3);
}

.btn-about-contact:hover {
  background: #138496;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(23, 162, 184, 0.4);
}

/* 右侧视频 */
.about-video-wrapper {
  position: relative;
}

.about-video-container {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  /* background: var(--dark-gray); */
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
}

/* 16:9 比例 */
.about-video-container::before {
  content: '';
  display: block;
  padding-top: 56.25%; /* 16:9 */
}

.about-video-container > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.about-video-container:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 播放按钮 */
.video-play-btn {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  color: #17a2b8;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  z-index: 10;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

.video-play-btn i {
  font-size: 2rem;
  margin-left: 4px;
}

.video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 6px 30px rgba(23, 162, 184, 0.5);
  background: var(--white);
}

/* 视频文字提示 */
.video-overlay-text {
  padding: var(--spacing-lg);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--white);
  text-align: center;
  z-index: 5;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  top: auto !important;
  width: 100% !important;
  height: auto !important;
}

.video-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--white);
  margin-bottom: 0.25rem;
}

.video-subtitle {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* HTML5 Video Player */
.about-video-player {
  background: var(--black);
  z-index: 15;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.about-video-player::-webkit-media-controls-panel {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

/* ==========================================
   业务区域 - Business Section
   ========================================== */

.business-section {
  background: var(--white);
}

/* 业务卡片 */
.business-card {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: all 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.business-card:hover {
  border-color: #17a2b8;
  box-shadow: 0 4px 20px rgba(23, 162, 184, 0.15);
}

/* 业务图标 */
.business-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.business-icon i {
  font-size: 1.75rem;
  color: var(--white);
}

/* 业务标题 */
.business-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: var(--line-height-tight);
}

/* 业务描述 */
.business-desc {
  font-size: var(--font-size-sm);
  color: var(--medium-gray);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================
   联系信息卡片 - Contact Info Cards
   ========================================== */

.contact-info-section {
  background: #f8f9fa;
}

/* 联系卡片 */
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.contact-info-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* 联系卡片图标 */
.contact-card-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
}

.contact-card-icon i {
  font-size: 2rem;
  color: var(--white);
}

/* 联系卡片图标颜色 */
.contact-card-icon.icon-whatsapp{
  background: #25D366;
}
.link-whatsapp {
  color: #25D366;
}
.link-email {
  color: #17a2b8;
}
.link-phone {
  color: #4267B2;
}
.contact-card-icon.icon-email {
  background: #17a2b8;
}

.contact-card-icon.icon-phone {
  background: #4267B2;
}

.contact-card-icon.icon-location {
  background: #FF6B6B;
}

/* 联系卡片标题 */
.contact-card-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

/* 联系卡片描述 */
.contact-card-desc {
  font-size: var(--font-size-sm);
  color: var(--medium-gray);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

/* 联系卡片链接 */
.contact-card-link {
  display: inline-block;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-card-link:hover {
  color: #2d4373;
}

/* 联系卡片地址 */
.contact-card-address {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  line-height: 1.6;
}

/* ==========================================
   地图展示区域 - Map Section
   ========================================== */

.contact-map-section {
  background: var(--white);
}

.section-subtitle {
  font-size: var(--font-size-base);
  margin-top: 0.5rem;
}

/* 地图容器 */
.map-container {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.map-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
/* ========================================
     404错误页面样式
     ======================================== */
  
  .motor-404-page {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
  }

  .error-section {
    position: relative;
    padding: 2rem 0;
  }

  /* 视觉动画区域 */
  .error-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
  }

  /* 背景齿轮动画 */
  .gear-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    z-index: 1;
  }

  .gear {
    position: absolute;
    color: rgba(30, 58, 138, 0.1);
    font-size: 4rem;
    animation: rotate 10s linear infinite;
  }

  .gear-1 {
    top: 20%;
    left: 10%;
    animation-duration: 8s;
    animation-direction: reverse;
  }

  .gear-2 {
    top: 10%;
    right: 15%;
    animation-duration: 12s;
    font-size: 3rem;
  }

  .gear-3 {
    bottom: 20%;
    left: 20%;
    animation-duration: 6s;
    animation-direction: reverse;
    font-size: 2.5rem;
  }

  @keyframes rotate {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }

  /* 404数字样式 */
  .error-number {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 8rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    text-shadow: 0 4px 20px rgba(30, 58, 138, 0.3);
    margin-bottom: 2rem;
  }

  .digit-4 {
    animation: bounce 2s ease-in-out infinite;
  }

  .digit-0 {
    position: relative;
  }

  .motor-gear-icon {
    animation: rotate 3s linear infinite;
    color: var(--motor-secondary);
    filter: drop-shadow(0 4px 15px rgba(5, 150, 105, 0.4));
  }

  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
    }
    40% {
      transform: translateY(-20px);
    }
    60% {
      transform: translateY(-10px);
    }
  }

  /* 错误内容样式 */
  .error-title {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    color: #000000;
    margin-bottom: 1.5rem;
  }

  .error-description {
    font-size: var(--font-size-lg);
    color: #000000;
    line-height: var(--line-height-relaxed);
    max-width: 600px;
    margin: 0 auto;
  }


  /* 快速导航卡片 */
  .quick-nav-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--primary-color);
  }

  .nav-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-xl);
    text-decoration: none;
    color: var(--primary-color);
   
    height: 100%;
    position: relative;
    overflow: hidden;
  }

  .nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 58, 138, 0.05), transparent);
    transition: left 0.6s ease;
  }

  .nav-card:hover::before {
    left: 100%;
  }

  .nav-card:hover {
    border-color: var(--primary-color);
    color: var(--primary-color); 
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.15);
    text-decoration: none;
  }

  .nav-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-lighter));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all var(--transition-normal);
  }

  .nav-card:hover .nav-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
  }

  .nav-icon i {
    font-size: 1.5rem;
    color: white;
  }

  .nav-card span {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    text-align: center;
  }


  /* 背景粒子效果 */
  .particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
  }

  .particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-lighter));
    border-radius: 50%;
    opacity: 0.6;
    animation: float 8s ease-in-out infinite;
  }

  .particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 6s;
  }

  .particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 8s;
  }

  .particle:nth-child(3) {
    top: 80%;
    left: 20%;
    animation-delay: 4s;
    animation-duration: 7s;
  }

  .particle:nth-child(4) {
    top: 30%;
    left: 70%;
    animation-delay: 1s;
    animation-duration: 9s;
  }

  .particle:nth-child(5) {
    top: 70%;
    left: 50%;
    animation-delay: 3s;
    animation-duration: 5s;
  }

  @keyframes float {
    0%, 100% {
      transform: translateY(0px) rotate(0deg);
      opacity: 0.6;
    }
    25% {
      transform: translateY(-20px) rotate(90deg);
      opacity: 0.8;
    }
    50% {
      transform: translateY(-10px) rotate(180deg);
      opacity: 0.4;
    }
    75% {
      transform: translateY(-30px) rotate(270deg);
      opacity: 0.9;
    }
  }

/* ==========================================
   首页解决方案选项卡智能滚动样式
   Home Solutions Tabs Smart Scroll Styles
   ========================================== */

/* 选项卡导航容器 - 启用水平滚动 */
.solution-tabs-wrapper .solution-nav-tabs {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  /* 隐藏滚动条但保持可滚动 */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  /* 启用触摸滚动 */
  -webkit-overflow-scrolling: touch;
  /* 防止内容换行 */
  flex-wrap: nowrap;
}

/* 隐藏滚动条 - Webkit浏览器 */
.solution-tabs-wrapper .solution-nav-tabs::-webkit-scrollbar {
  display: none;
  height: 0;
}

/* 确保选项卡按钮不会收缩 */
.solution-tabs-wrapper .solution-nav-tabs .nav-item {
  flex-shrink: 0;
}

/* 选项卡按钮样式优化 */
.solution-tabs-wrapper .solution-nav-tabs .nav-link {
  white-space: nowrap;
  flex-shrink: 0;
}

/* 左侧渐变遮罩 - 提示有更多内容 */
.solution-tabs-wrapper::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 30px;
  background: linear-gradient(to right, rgba(248, 249, 250, 1), rgba(248, 249, 250, 0));
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity var(--transition-base);
}

/* 右侧渐变遮罩 - 提示有更多内容 */
.solution-tabs-wrapper::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 30px;
  background: linear-gradient(to left, rgba(248, 249, 250, 1), rgba(248, 249, 250, 0));
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity var(--transition-base);
}

/* 当容器可滚动时显示渐变遮罩（通过JS添加类） */
.solution-tabs-wrapper.has-scroll-left::before {
  opacity: 1;
}

.solution-tabs-wrapper.has-scroll-right::after {
  opacity: 1;
}