﻿/* ========================================
   冠隆医疗官网 - 核心样式文件 (合并版)
   合并: fonts.css + svg-icons.css + style.css
   优化: 减少HTTP请求，提升加载性能
   ======================================== */

/**
 * Local Fonts Configuration
 * 本地字体配置
 * 
 * @description 使用系统字体栈作为Inter字体的替代方案
 * @version 1.0.0
 * @updated 2025-01-28
 */

/* 
 * 字体栈说明：
 * - 优先使用系统自带的现代无衬线字体
 * - 提供跨平台的一致性体验
 * - 无需下载外部字体文件，加载速度更快
 */

:root {
  --font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 
                       "Helvetica Neue", Arial, "Noto Sans", sans-serif, 
                       "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", 
                       "Noto Color Emoji";
  
  --font-family-chinese: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                         "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
                         "微软雅黑", Arial, sans-serif;
}

/* 应用字体到全局 */
body {
  font-family: var(--font-family-chinese);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 英文内容使用系统字体 */
[lang="en"] {
  font-family: var(--font-family-base);
}

/* 
 * 如果将来需要使用Inter字体，取消下面的注释并下载字体文件
 * 字体下载地址：https://fonts.google.com/specimen/Inter
 */

/*
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter/inter-v12-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter/inter-v12-latin-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter/inter-v12-latin-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter/inter-v12-latin-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/inter/inter-v12-latin-800.woff2') format('woff2');
}

body {
  font-family: 'Inter', var(--font-family-chinese);
}
*/


/* ========================================
   SVG图标样式库 - 统一优化的2D轮廓风格
   ======================================== */

/* ========================================
   基础图标样式
   ======================================== */
.svg-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
  flex-shrink: 0;
  /* 确保图标在flex布局中保持比例 */
}

/* ========================================
   图标尺寸变体
   ======================================== */
.svg-icon.xxs {
  width: 12px;
  height: 12px;
  stroke-width: 3;
}

.svg-icon.xs {
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
}

.svg-icon.small {
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
}

.svg-icon.medium {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.svg-icon.large {
  width: 48px;
  height: 48px;
  stroke-width: 1.5;
}

.svg-icon.xl {
  width: 64px;
  height: 64px;
  stroke-width: 1;
}

.svg-icon.xxl {
  width: 80px;
  height: 80px;
  stroke-width: 0.75;
}

/* 固定尺寸类（兼容现有代码） */
.svg-icon-24 {
  width: 24px;
  height: 24px;
}

.svg-icon-80 {
  width: 80px;
  height: 80px;
}

/* ========================================
   图标颜色变体
   ======================================== */
.svg-icon.primary,
.svg-icon.primary-color {
  color: #139389;
}

.svg-icon.secondary {
  color: #6366f1;
}

.svg-icon.success {
  color: #10b981;
}

.svg-icon.warning {
  color: #f59e0b;
}

.svg-icon.danger {
  color: #ef4444;
}

.svg-icon.muted {
  color: #6b7280;
}

.svg-icon.white,
.svg-icon.white-icon {
  color: #ffffff;
}

.svg-icon.black {
  color: #000000;
}

.svg-icon.gray-light {
  color: #d1d5db;
}

.svg-icon.gray-dark {
  color: #4b5563;
}

/* ========================================
   图标动画和交互
   ======================================== */
.svg-icon.animated {
  transition: all 0.3s ease;
}

.svg-icon.animated:hover {
  transform: scale(1.1);
  color: #139389;
}

.svg-icon.spin {
  animation: svg-icon-spin 2s linear infinite;
}

@keyframes svg-icon-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.svg-icon.pulse {
  animation: svg-icon-pulse 2s ease-in-out infinite;
}

@keyframes svg-icon-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

/* ========================================
   上下文图标样式
   ======================================== */

/* 产品图标容器 */
.product-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 1rem;
  margin: 0 auto 1rem;
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
}

.product-icon:hover {
  border-color: #139389;
  background: linear-gradient(135deg, #f0fdfa 0%, #e0f2f1 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(19, 147, 137, 0.15);
}

.product-icon .svg-icon {
  width: 40px;
  height: 40px;
  color: #139389;
}

/* 卡片图标样式 */
.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card-icon .svg-icon {
  width: 48px;
  height: 48px;
  color: #139389;
}

.card:hover .card-icon .svg-icon {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* 导航图标样式 */
.nav-icon {
  width: 20px;
  height: 20px;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

/* 按钮图标样式 */
.btn .svg-icon {
  width: 18px;
  height: 18px;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.btn-primary .svg-icon,
.btn-secondary .svg-icon {
  color: inherit;
}

/* 链接图标样式 */
.card-link .svg-icon,
a .svg-icon {
  transition: transform 0.3s ease;
}

.card-link:hover .svg-icon,
a:hover .svg-icon {
  transform: translateX(3px);
}

/* 统计图标样式 */
.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.stat-icon .svg-icon {
  width: 36px;
  height: 36px;
  color: #139389;
}

/* 特色图标样式 */
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.feature-icon .svg-icon {
  width: 28px;
  height: 28px;
  color: #139389;
}

/* 头部信息栏图标 */
.info-bar .svg-icon {
  width: 16px;
  height: 16px;
  margin-right: 0.5rem;
  color: #ffffff;
}

/* Footer图标样式 */
.footer .svg-icon {
  width: 20px;
  height: 20px;
  color: #d1d5db;
  transition: color 0.3s ease;
}

.footer a:hover .svg-icon {
  color: #139389;
}

/* ========================================
   特殊用途图标样式
   ======================================== */

/* 社交媒体图标 */
.social-icon .svg-icon {
  width: 24px;
  height: 24px;
  transition: all 0.3s ease;
}

.social-icon:hover .svg-icon {
  transform: scale(1.2) rotate(5deg);
}

/* 加载/加载状态图标 */
.loading-icon .svg-icon {
  animation: svg-icon-spin 1s linear infinite;
}

/* 成功状态图标 */
.success-icon .svg-icon {
  color: #10b981;
}

/* 错误状态图标 */
.error-icon .svg-icon {
  color: #ef4444;
}

/* ========================================
   可访问性优化
   ======================================== */
.svg-icon {
  /* 确保图标可被屏幕阅读器识别 */
  pointer-events: none;
}

.svg-icon[aria-hidden="true"] {
  /* 如果图标纯粹装饰性，隐藏它 */
  aria-hidden: true;
}

/* ========================================
   响应式调整
   ======================================== */

/* 平板设备 (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .svg-icon.xl {
    width: 56px;
    height: 56px;
  }
  
  .svg-icon.large {
    width: 42px;
    height: 42px;
  }
  
  .product-icon {
    width: 70px;
    height: 70px;
  }
  
  .product-icon .svg-icon {
    width: 35px;
    height: 35px;
  }
  
  .card-icon .svg-icon {
    width: 42px;
    height: 42px;
  }
}

/* 移动设备 (< 768px) */
@media (max-width: 767px) {
  .svg-icon {
    width: 20px;
    height: 20px;
  }
  
  .svg-icon.small {
    width: 14px;
    height: 14px;
  }
  
  .svg-icon.large {
    width: 36px;
    height: 36px;
  }
  
  .svg-icon.xl {
    width: 48px;
    height: 48px;
  }
  
  .svg-icon.xxl {
    width: 60px;
    height: 60px;
  }
  
  .product-icon {
    width: 60px;
    height: 60px;
  }
  
  .product-icon .svg-icon {
    width: 30px;
    height: 30px;
  }
  
  .card-icon .svg-icon {
    width: 36px;
    height: 36px;
  }
  
  .stat-icon .svg-icon {
    width: 28px;
    height: 28px;
  }
  
  .feature-icon .svg-icon {
    width: 24px;
    height: 24px;
  }

  /* === 移动端表单优化 - 防止iOS自动缩放 === */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="search"],
  input[type="url"],
  textarea,
  select {
    font-size: 16px !important;
    padding: 0.875rem 1rem;
    min-height: 44px;
  }

  /* === 触摸目标尺寸统一 - 确保所有可点击元素≥44×44px === */
  a, button, .btn, .link-arrow, .nav-link, .mobile-menu-btn {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .btn {
    padding: 0.75rem 1.5rem;
  }

  .nav-link {
    padding: 0.75rem 1rem;
  }
}

/* 小屏移动设备 (< 480px) */
@media (max-width: 479px) {
  .svg-icon.large {
    width: 32px;
    height: 32px;
  }
  
  .svg-icon.xl {
    width: 40px;
    height: 40px;
  }
  
  .svg-icon.xxl {
    width: 50px;
    height: 50px;
  }
  
  .product-icon {
    width: 50px;
    height: 50px;
  }
  
  .product-icon .svg-icon {
    width: 25px;
    height: 25px;
  }
  
  .card-icon .svg-icon {
    width: 32px;
    height: 32px;
  }
}

/* ========================================
   打印样式优化
   ======================================== */
@media print {
  .svg-icon {
    stroke-width: 1;
    fill: #000000;
    stroke: #000000;
  }
  
  .svg-icon.animated,
  .svg-icon.spin,
  .svg-icon.pulse {
    animation: none;
  }
}


/* ========================================
   冠隆医疗官网 - 全局样式
   Kwanlon Medical Technology
   ======================================== */

/* === CSS变量系统 === */
:root {
  /* === 主色调 - 医疗蓝绿 (更温暖的青色) === */
  --color-primary: #00A896;
  /* 主色：温暖的青绿色 */
  --color-primary-dark: #028174;
  /* 深色：用于悬停和强调 */
  --color-primary-light: #02C39A;
  /* 浅色：用于背景和高亮 */
  --color-primary-lighter: #E8F8F5;
  /* 超浅色：用于卡片背景 */

  /* === 辅助色 - 科技紫 (保持专业感) === */
  --color-secondary: #5B7FFF;
  /* 辅助色：明亮的科技蓝紫 */
  --color-secondary-dark: #4A6FE8;
  /* 深色 */
  --color-secondary-light: #7B9FFF;
  /* 浅色 */
  --color-secondary-lighter: #EEF2FF;
  /* 超浅色 */

  /* === 强调色 - 活力橙 (增加人气) === */
  --color-accent: #FF6B6B;
  /* 强调色：温暖的珊瑚红 */
  --color-accent-dark: #E85555;
  /* 深色 */
  --color-accent-light: #FF8787;
  /* 浅色 */
  --color-accent-lighter: #FFE8E8;
  /* 超浅色 */

  /* === 成功色 - 生命绿 === */
  --color-success: #51CF66;
  /* 成功：生机绿 */
  --color-success-dark: #40C057;
  /* 深色 */
  --color-success-light: #8CE99A;
  /* 浅色 */
  --color-success-lighter: #E7F5E9;
  /* 超浅色 */

  /* === 警告色 - 阳光黄 === */
  --color-warning: #FFB84D;
  /* 警告：温暖的金黄 */
  --color-warning-dark: #FF9F1C;
  /* 深色 */
  --color-warning-light: #FFC97A;
  /* 浅色 */
  --color-warning-lighter: #FFF4E6;
  /* 超浅色 */

  /* === 信息色 - 天空蓝 === */
  --color-info: #4DABF7;
  /* 信息：清新的天空蓝 */
  --color-info-dark: #339AF0;
  /* 深色 */
  --color-info-light: #74C0FC;
  /* 浅色 */
  --color-info-lighter: #E7F5FF;
  /* 超浅色 */

  /* === 文字颜色 (更柔和的对比) === */
  --color-text-primary: #2C3E50;
  /* 主文字：深蓝灰 */
  --color-text-secondary: #5A6C7D;
  /* 次要文字：中蓝灰 */
  --color-text-muted: #8B95A1;
  /* 弱化文字：浅蓝灰 */
  --color-text-white: #FFFFFF;
  /* 白色文字 */
  --color-text-dark: #1A1A1A;
  /* 深色文字 */

  /* === 背景颜色 (更温暖的中性色) === */
  --color-bg-white: #FFFFFF;
  /* 纯白背景 */
  --color-bg-light: #F8F9FA;
  /* 浅灰背景 */
  --color-bg-gray: #F1F3F5;
  /* 灰色背景 */
  --color-bg-dark: #2C3E50;
  /* 深色背景 */
  --color-bg-darker: #1A252F;
  /* 更深背景 */

  /* === 边框颜色 === */
  --color-border-light: #E9ECEF;
  /* 浅边框 */
  --color-border-medium: #DEE2E6;
  /* 中边框 */
  --color-border-dark: #CED4DA;
  /* 深边框 */

  /* === 渐变色 === */
  --gradient-primary: linear-gradient(135deg, #00A896 0%, #02C39A 100%);
  --gradient-secondary: linear-gradient(135deg, #5B7FFF 0%, #7B9FFF 100%);
  --gradient-accent: linear-gradient(135deg, #FF6B6B 0%, #FF8787 100%);
  --gradient-warm: linear-gradient(135deg, #FFB84D 0%, #FF9F1C 100%);
  --gradient-cool: linear-gradient(135deg, #4DABF7 0%, #74C0FC 100%);
  --gradient-hero: linear-gradient(135deg, rgba(0, 168, 150, 0.9) 0%, rgba(91, 127, 255, 0.9) 100%);
  --gradient-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);

  /* 间距系统 */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;

  /* 字体系统 - 中文字体优化 */
  --font-family: 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', 'Source Han Sans CN', 'Helvetica Neue', Arial, sans-serif;
  --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 - 巨型标题 */

  /* 圆角系统 */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;

  /* 阴影系统 */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
  --shadow-sm: 0 2px 4px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px 0 rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 16px 0 rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 12px 24px 0 rgba(0, 0, 0, 0.12);
  --shadow-2xl: 0 20px 40px 0 rgba(0, 0, 0, 0.15);

  /* === 彩色阴影 (增加活力) === */
  --shadow-primary: 0 8px 16px 0 rgba(0, 168, 150, 0.2);
  --shadow-secondary: 0 8px 16px 0 rgba(91, 127, 255, 0.2);
  --shadow-accent: 0 8px 16px 0 rgba(255, 107, 107, 0.2);
  --shadow-success: 0 8px 16px 0 rgba(81, 207, 102, 0.2);

  /* 过渡动画 */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;

  /* 容器宽度 */
  --container-max-width: 1280px;
}

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

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

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.8;
  /* 中文字体需要更大的行高 */
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  /* 中文字体特性 */
  text-rendering: optimizeLegibility;
  /* 优化中文字体渲染 */
  -webkit-font-smoothing: antialiased;
  /* 字体平滑 */
  -moz-osx-font-smoothing: grayscale;
  color: var(--color-text-primary);
  background-color: var(--color-bg-white);
  margin-top: 130px;
  /* 为固定头部和信息栏留出空间 (80px + 50px) */
  transition: margin-top 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

ul,
ol {
  list-style: none;
}

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

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

.container-fluid {
  width: 100%;
  padding: 0 var(--spacing-lg);
}

/* === 顶部信息栏 === */
.top-info-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  min-height: 50px;
  height: auto;
  padding: 5px 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 500;
  z-index: 1001;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
}

.top-info-bar.hidden {
  transform: translateY(-100%);
  opacity: 0;
}

.top-info-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

  0%,
  100% {
    transform: translateX(-100%);
  }

  50% {
    transform: translateX(100%);
  }
}



.info-content {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  width: 100%;
  z-index: 1;
}

.info-left,
.info-right {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  height: 100%;
}

.info-left span,
.info-right span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  white-space: nowrap;
  padding: 0.375rem 0.625rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  height: 32px;
  line-height: 1;
  min-width: fit-content;
}


/* 图标大小控制 */
.info-left span,
.info-right span {
  font-size: 0.75rem;
}

.info-left span:first-child,
.info-right span:first-child,
.info-left span:last-child,
.info-right span:last-child {
  font-size: 0.75rem;
}

/* 确保emoji图标大小一致 */
.info-left span,
.info-right span {
  line-height: 1.2;
}

/* 缩小emoji图标 */
.info-left span,
.info-right span {
  font-size: 0.75rem;
}

.info-left span:first-child,
.info-right span:first-child,
.info-left span:nth-child(2),
.info-right span:nth-child(2),
.info-left span:last-child,
.info-right span:last-child {
  font-size: 0.75rem;
}

/* 使用transform缩小emoji图标 */
.info-left span::first-letter,
.info-right span::first-letter {
  font-size: 0.875rem;
  display: inline-block;
  transform: scale(0.8);
  transform-origin: center;
}


/* 特殊样式 - 只保留颜色 */
.info-left span:first-child {
  color: #10b981;
  font-weight: 600;
}

.info-left span:nth-child(2) {
  color: #3b82f6;
  font-weight: 600;
}

.info-right span:first-child {
  color: #f59e0b;
  font-weight: 600;
}

.info-right span:last-child {
  color: #8b5cf6;
  font-weight: 600;
}


.info-close-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  padding: 0.375rem;
  border-radius: 0.25rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-left: 0.75rem;
  opacity: 0.8;
}

.info-close-btn:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.info-close-btn:active {
  transform: scale(0.9);
  background-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 1024px) {

  .info-left,
  .info-right {
    gap: 1.25rem;
  }

  .info-left span,
  .info-right span {
    font-size: 0.7rem;
    padding: 0.3rem 0.5rem;
    height: 28px;
    gap: 0.3rem;
  }

  .info-close-btn {
    width: 24px;
    height: 24px;
    font-size: 1rem;
    margin-left: 0.5rem;
    padding: 0.25rem;
  }

  .top-info-bar::before {
    animation-duration: 4s;
  }
}

@media (max-width: 900px) {

  .info-left span:last-child,
  .info-right span:first-child {
    display: none;
  }

  .info-left,
  .info-right {
    gap: 0.875rem;
  }

  .info-left span,
  .info-right span {
    font-size: 0.65rem;
    padding: 0.25rem 0.4rem;
    height: 26px;
    gap: 0.25rem;
  }

  .info-close-btn {
    width: 22px;
    height: 22px;
    font-size: 0.9rem;
    margin-left: 0.375rem;
    padding: 0.2rem;
  }
}

/* === 导航栏 === */
.header {
  position: fixed;
  top: 50px;
  /* 调整位置，在信息栏下方 */
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-sm) 0;
  min-height: 80px;
}

.nav-logo {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.nav-logo-text {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-left: 16px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
}

.nav-link {
  position: relative;
  font-size: var(--font-size-base);
  font-weight: 500;
  color: var(--color-text-primary);
  padding: var(--spacing-xs) 0;
  transition: color var(--transition-fast);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transition: width var(--transition-normal);
}

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

.nav-link.active {
  color: var(--color-primary);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}


.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--spacing-xs);
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  position: relative;
}

.mobile-menu-btn span {
  width: 25px;
  height: 2px;
  background-color: var(--color-text-primary);
  transition: all var(--transition-fast);
}

/* === 按钮样式 === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  padding: 0.75rem 2rem;
  font-size: var(--font-size-base);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.025em;
}

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

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

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  color: var(--color-text-white) !important;
}

/* === 键盘导航支持 - 提升可访问性 === */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* === 滚动性能优化 === */
.hero-section,
.section,
.hero-carousel {
  will-change: transform;
}

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

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

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
  color: var(--color-text-white) !important;
}

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

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

/* 强调按钮 */
.btn-accent {
  background: var(--gradient-accent);
  color: var(--color-text-white);
  box-shadow: var(--shadow-accent);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #E85555 0%, #FF6B6B 100%);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

/* === New Hero Section === */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-text-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: var(--color-text-white);
  text-align: left;
  /* Left align for more modern feel */
}

.hero-title {
  font-size: var(--font-size-6xl);
  font-weight: 800;
  margin-bottom: var(--spacing-md);
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  font-weight: 400;
  margin-bottom: var(--spacing-xl);
  opacity: 0.95;
  max-width: 600px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-actions {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.4s backwards;
}

.btn-outline-white {
  background: transparent;
  color: var(--color-text-white);
  border-color: var(--color-text-white);
}

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

.hero-section.hero-small {
  height: 400px;
  min-height: 400px;
}

/* === Scenarios Grid === */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.scenarios-grid.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
  .scenarios-grid.grid-cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.scenario-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-white);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.scenario-image {
  height: 300px;
  background-size: cover;
  background-position: center;
  transition: transform var(--transition-slow);
}

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

.scenario-content {
  padding: var(--spacing-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.scenario-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
  color: var(--color-text-primary);
}

.scenario-desc {
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--color-primary);
  font-weight: 600;
  transition: all var(--transition-fast);
}

.link-arrow:hover {
  gap: var(--spacing-sm);
  color: var(--color-primary-dark);
}

.tech-product-card .link-arrow {
  margin-top: auto;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(19, 147, 137, 0.1);
}

/* === Tech Product Cards === */
.tech-product-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.tech-product-image {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(19, 147, 137, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
}

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

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

.tech-product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 50%);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: var(--spacing-md);
}

.tech-product-badge {
  background: rgba(19, 147, 137, 0.95);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.tech-product-content {
  padding: var(--spacing-xl);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tech-product-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: rgba(19, 147, 137, 0.1);
  margin-bottom: var(--spacing-md);
}

.tech-product-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--color-text-primary);
  line-height: 1.4;
}

.tech-product-desc {
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
  font-size: var(--font-size-base);
}

.tech-product-features {
  list-style: none;
  margin-bottom: var(--spacing-lg);
  flex-grow: 1;
  margin-top: auto;
}

.tech-product-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  line-height: 1.6;
  transition: color var(--transition-fast);
}

.tech-product-card:hover .tech-product-features li {
  color: var(--color-text-primary);
}

.tech-product-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* 核心技术网格响应式布局 */
.tech-grid-responsive {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

@media (max-width: 1024px) {
  .tech-grid-responsive {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }
}

@media (max-width: 768px) {
  .tech-grid-responsive {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .tech-product-image {
    height: 240px;
  }

  .tech-product-content {
    padding: var(--spacing-lg);
  }
}

@media (max-width: 480px) {
  .tech-product-image {
    height: 200px;
  }

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

  .tech-product-title {
    font-size: var(--font-size-lg);
  }

  .category-card-icon,
  .product-category-icon {
    width: 200px;
    height: 200px;
  }

  .category-card-icon img {
    width: 200px;
    height: 200px;
  }
}

/* === Compact Product Cards === */
.product-card-compact {
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

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

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

.product-card-compact:hover .product-compact-image img {
  transform: scale(1.08);
}

.product-compact-content {
  padding: var(--spacing-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-compact-title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-primary);
}

.product-compact-desc {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
}

/* === CTA Actions Simple === */
.cta-actions-simple {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.cta-link-primary,
.cta-link-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: var(--font-size-lg);
  font-weight: 600;
  transition: all var(--transition-normal);
  position: relative;
}

.cta-link-primary {
  color: var(--color-primary);
}

.cta-link-primary:hover {
  color: var(--color-primary-dark);
  gap: var(--spacing-sm);
}

.cta-link-primary::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-normal);
}

.cta-link-primary:hover::after {
  width: 100%;
}

.cta-link-secondary {
  color: var(--color-text-secondary);
}

.cta-link-secondary:hover {
  color: var(--color-primary);
  gap: var(--spacing-sm);
}

.cta-divider {
  color: var(--color-text-muted);
  font-size: var(--font-size-xl);
  opacity: 0.3;
}

@media (max-width: 768px) {
  .cta-actions-simple {
    flex-direction: column;
    gap: var(--spacing-md);
  }

  .cta-divider {
    display: none;
  }
}

/* === Product Category Cards === */
.product-category-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.category-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

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

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

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: var(--spacing-lg);
}

.category-count {
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: 700;
  backdrop-filter: blur(10px);
}

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

.category-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-primary);
}

.category-desc {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  line-height: 1.7;
  margin-bottom: var(--spacing-lg);
  flex-grow: 1;
}

/* === Breadcrumb Navigation - Simplified === */
.section-breadcrumb {
  padding: 0.75rem 0;
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 13px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

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

.breadcrumb a svg {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}

.breadcrumb-separator {
  color: #ccc;
  font-size: 12px;
  user-select: none;
  margin: 0 0.125rem;
}

.breadcrumb-current {
  color: #333;
  font-weight: normal;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .section-breadcrumb {
    padding: 0.5rem 0;
    margin-top: 0;
  }

  /* 产品中心页面：减少英雄区与面包屑的间隙 */
  .hero-section.hero-products + .section-breadcrumb {
    margin-top: 0;
    padding-top: 0.5rem;
  }

  .breadcrumb {
    font-size: 12px;
  }

  .breadcrumb a svg {
    width: 13px;
    height: 13px;
  }
}

/* === Simplified Button Interactions === */
.btn {
  position: relative;
  overflow: hidden;
}

.btn>* {
  position: relative;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  z-index: 0;
  pointer-events: none;
}

.btn:active::before {
  width: 300px;
  height: 300px;
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-white:hover,
.btn-outline-white:hover {
  opacity: 0.9;
}

.btn-primary:active,
.btn-secondary:active,
.btn-white:active,
.btn-outline-white:active {
  opacity: 0.8;
}

/* === Product Series List === */
.product-series-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-xl);
  margin-top: var(--spacing-2xl);
}

.product-series-item {
  display: flex;
  gap: var(--spacing-lg);
  padding: var(--spacing-xl);
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid #e5e7eb;
  transition: all var(--transition-normal);
}

.product-series-item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  transform: translateX(4px);
}

.product-series-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(19, 147, 137, 0.1);
  border-radius: var(--radius-md);
}

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

.product-series-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-primary);
}

.product-series-desc {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--spacing-md);
  font-size: var(--font-size-sm);
}

/* === Simple Feature Cards === */
.feature-card-simple {
  text-align: center;
  padding: var(--spacing-xl);
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

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

.feature-icon-simple {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto var(--spacing-md);
  background: rgba(19, 147, 137, 0.1);
  border-radius: 50%;
}

.feature-title-simple {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-primary);
}

.feature-desc-simple {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .product-series-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .product-series-item {
    flex-direction: column;
    text-align: center;
  }

  .product-series-icon {
    margin: 0 auto;
  }
}

/* === 栏目区域 === */
.section {
  padding: var(--spacing-3xl) 0;
}

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

.section-title {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-sm);
}

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

.section-bg-gray {
  background-color: var(--color-bg-gray);
}

/* CTA区域渐变背景 */
.cta-section-gradient {
  background: linear-gradient(135deg, #139389 0%, #0f7a6f 50%, #6366f1 100%);
  position: relative;
  overflow: hidden;
}

.cta-section-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.cta-section-gradient .section-title,
.cta-section-gradient .section-subtitle {
  color: var(--color-text-white);
  position: relative;
  z-index: 1;
}

.cta-section-gradient .cta-link-primary,
.cta-section-gradient .cta-link-secondary {
  color: var(--color-text-white);
  position: relative;
  z-index: 1;
}

.cta-section-gradient .cta-link-primary:hover,
.cta-section-gradient .cta-link-secondary:hover {
  color: rgba(255, 255, 255, 0.9);
}

.cta-section-gradient .cta-link-primary::after {
  background: var(--color-text-white);
}

.cta-section-gradient .cta-divider {
  color: rgba(255, 255, 255, 0.5);
}

/* 产品首页 - “为什么选择我们的产品” 区块更紧凑高度 */
.section-why-choose-products {
  padding-top: var(--spacing-3xl);
  padding-bottom: var(--spacing-3xl);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-why-choose-products .features-grid-4 {
  margin-top: var(--spacing-md);
  row-gap: var(--spacing-md);
  column-gap: var(--spacing-md);
  margin-bottom: var(--spacing-2xl);
}

.section-why-choose-products .feature-card {
  padding: var(--spacing-sm);
}

.section-why-choose-products .feature-title {
  margin-bottom: 0.25rem;
}

.section-why-choose-products .feature-desc {
  font-size: var(--font-size-sm);
  line-height: 1.6;
  margin-bottom: 0;
}

.section-why-choose-products .feature-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
}

.section-why-choose-products .feature-icon svg {
  width: 68px;
  height: 68px;
}

/* 产品分类卡片底部文字链接样式 */
.category-card-footer {
  margin-top: var(--spacing-md);
}

.product-link-text {
  font-size: var(--font-size-sm);
  color: var(--color-primary);
  font-weight: 600;
  position: relative;
}

.product-link-text::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--color-primary);
  opacity: 0.4;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  transform-origin: left;
}

.product-link-text:hover::after {
  opacity: 1;
  transform: scaleX(1.05);
}

/* 产品分类卡片 / 产品分类页图标容器样式 */
.category-card-icon,
.product-category-icon {
  width: 360px;
  height: 360px;
  margin: 0 auto var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.category-card-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
}

/* === Product Detail Info Table === */
.product-basic-info {
  margin-bottom: var(--spacing-lg);
  background: var(--color-bg-gray);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
}

.product-info-table {
  width: 100%;
  border-collapse: collapse;
}

.product-info-table tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.product-info-table tr:last-child {
  border-bottom: none;
}

.product-info-table td {
  padding: var(--spacing-sm) 0;
  vertical-align: top;
}

.product-info-table .info-label {
  color: var(--color-text-secondary);
  font-weight: 500;
  width: 120px;
  font-size: var(--font-size-sm);
}

.product-info-table .info-value {
  color: var(--color-text-primary);
  font-weight: 500;
}

.product-description-box {
  margin-bottom: var(--spacing-lg);
}

.product-description-text {
  color: var(--color-text-secondary);
  line-height: 1.8;
  font-size: var(--font-size-base);
}

.product-tags-section {
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.product-tags-title {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-sm);
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
}

.product-tag {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: rgba(19, 147, 137, 0.1);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.product-tag:hover {
  background: rgba(19, 147, 137, 0.15);
  transform: translateY(-1px);
}

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

.related-product-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.related-product-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: var(--color-bg-gray);
}

.related-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--spacing-md);
  transition: transform var(--transition-slow);
}

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

.related-product-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin: var(--spacing-md) var(--spacing-md) var(--spacing-xs);
  color: var(--color-text-primary);
}

.related-product-desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin: 0 var(--spacing-md) var(--spacing-md);
  line-height: 1.6;
  flex-grow: 1;
}

.related-product-card .btn {
  margin: 0 var(--spacing-md) var(--spacing-md);
  align-self: flex-start;
}

/* === 卡片样式 === */
.card {
  background-color: var(--color-bg-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  height: 100%;
}

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

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--color-text-white);
  font-size: var(--font-size-3xl);
  margin-bottom: var(--spacing-md);
}

.card-title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-sm);
}

.card-text {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  font-family: var(--font-family);
  line-height: 1.8;
  text-rendering: optimizeLegibility;
  word-break: break-word;
  margin-bottom: var(--spacing-md);
}

/* === Stats Grid === */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-2xl);
  background: var(--color-bg-white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.stat-item {
  text-align: center;
  padding: var(--spacing-md);
  border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: var(--spacing-xs);
  line-height: 1;
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  font-weight: 500;
}

/* === Feature Cards === */
.feature-card {
  text-align: center;
  padding: var(--spacing-lg);
  transition: transform var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
  transition: background-color var(--transition-normal);
}

.feature-card:hover .feature-icon-wrapper {
  background-color: var(--color-primary);
  color: var(--color-text-white);
}

.feature-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-primary);
}

.feature-text {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* === 网格布局 === */
.grid {
  display: grid;
  gap: var(--spacing-xl);
}

.grid-cols-1 {
  grid-template-columns: repeat(1, 1fr);
}

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

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gap-1rem {
  gap: 1rem;
}

.gap-2rem {
  gap: 2rem;
}

.gap-4rem {
  gap: 4rem;
}

/* === 博客详情页布局 === */
.blog-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.blog-main {
  min-width: 0;
  /* 防止内容溢出 */
}

.blog-sidebar {
  position: sticky;
  top: 100px;
  /* 距离顶部100px时开始粘性定位 */
}

.article-meta {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .article-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .article-meta>div:last-child {
    text-align: left !important;
  }
}

.responsive-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 500px;
}

@media (max-width: 768px) {
  .responsive-table {
    font-size: 0.75rem;
  }

  .responsive-table th,
  .responsive-table td {
    padding: 0.5rem !important;
  }

  .social-buttons {
    flex-direction: column;
  }

  .social-buttons button {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}

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

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
}

.footer-section h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-sm);
  line-height: 1.8;
}

.footer-section a:hover {
  color: var(--color-primary-light);
}

.footer-section ul {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-bottom {
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--font-size-sm);
}

.social-links {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;

  /* === Product Cards Modern === */
  .product-card-modern {
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
  }

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

  .product-card-image {
    position: relative;
    height: 320px;
    overflow: hidden;
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--transition-slow);
    padding: 0.5rem;
    max-width: 100%;
    max-height: 100%;
  }

  .product-card-modern:hover .product-card-image img {
    transform: scale(1.05);
  }

  .product-icon-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(19, 147, 137, 0.05);
  }

  .product-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
  }

  .product-card-modern:hover .product-card-overlay {
    opacity: 1;
  }

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

  .product-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: var(--spacing-sm);
  }

  .product-tag-modern {
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    background-color: rgba(19, 147, 137, 0.1);
    color: var(--color-primary);
    border-radius: 4px;
    font-weight: 500;
  }

  .product-card-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    line-height: 1.4;
  }

  .product-card-title a {
    color: var(--color-text-primary);
  }

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

  .product-card-desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .product-card-features {
    margin-bottom: var(--spacing-md);
    padding-left: 1.2rem;
    flex-grow: 1;
  }

  .product-card-features li {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
    list-style-type: disc;
  }

  .product-card-actions {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: auto;
  }

  .product-card-actions .btn {
    flex: 1;
    padding: 0.5rem;
    font-size: 0.875rem;
  }

  /* === Products Grid Modern === */
  .products-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
  }

  /* === Product Cards === */
  .product-card {
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
  }

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

  .product-icon-wrapper {
    margin-bottom: var(--spacing-md);
    color: var(--color-primary);
  }

  .product-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
  }

  .product-desc {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
  }

  .product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-lg);
  }

  .product-tag {
    background-color: rgba(19, 147, 137, 0.1);
    color: var(--color-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: var(--font-size-xs);
    font-weight: 500;
  }

  .btn-full-width {
    width: 100%;
    justify-content: center;
  }

  /* === Responsive Design === */
  @media (max-width: 1024px) {
    .hero-title {
      font-size: var(--font-size-5xl);
    }

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

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


  @media (max-width: 768px) {
    .hero-section {
      min-height: 500px;
    }

    /* 移动端优化：缩小 hero-small 高度 */
    .hero-section.hero-small {
      height: 240px;
      min-height: 240px;
      max-height: 240px;
    }

    .hero-title {
      font-size: var(--font-size-4xl);
    }

    .grid-cols-3,
    .grid-cols-2 {
      grid-template-columns: 1fr;
    }

    .tech-image-wrapper {
      margin-bottom: var(--spacing-lg);
    }

    .tech-product-image {
      height: 220px;
    }

    .tech-product-content {
      padding: var(--spacing-lg);
    }

    .product-compact-image {
      height: 180px;
    }

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

    .category-image {
      height: 200px;
    }

    .category-content {
      padding: var(--spacing-lg);
    }

    .section-breadcrumb {
      margin-top: 80px;
    }

    .breadcrumb {
      font-size: var(--font-size-xs);
    }

    .scenarios-grid {
      grid-template-columns: 1fr;
    }

    .stats-grid {
      grid-template-columns: 1fr;
    }

    .footer-content {
      grid-template-columns: 1fr;
    }
  }
}

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

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* === 工具类 === */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-sm {
  margin-bottom: var(--spacing-sm);
}

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

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

.mb-xl {
  margin-bottom: var(--spacing-xl);
}

.mt-xl {
  margin-top: var(--spacing-xl);
}

/* === 响应式设计 === */
@media (max-width: 1024px) {
  .grid-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .blog-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .blog-sidebar {
    position: static;
    order: -1;
    /* 在移动端将侧边栏放在主要内容前面 */
  }
}

@media (max-width: 768px) {
  .product-categories-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .category-card-icon,
  .product-category-icon {
    width: 100%;
    height: 300px;
  }

  .category-card-icon img {
    width: 100%;
    height: 100%;
  }

  .top-info-bar {
    display: none;
    /* 在移动端隐藏信息栏 */
  }

  .header {
    top: 0;
    /* 移动端头部回到顶部 */
  }

  body {
    margin-top: 80px;
    /* 移动端只考虑头部高度 */
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--color-bg-white);
    flex-direction: column;
    padding: var(--spacing-xl);
    transition: left var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    overflow-y: auto;
  }

  .nav-menu.active {
    left: 0;
  }

  .mobile-menu-btn {
    display: flex;
    z-index: 1001;
    position: relative;
  }

  /* 确保移动端菜单按钮可点击 */
  .mobile-menu-btn:active {
    opacity: 0.7;
  }

  .hero-title {
    font-size: var(--font-size-3xl);
  }

  .hero-subtitle {
    font-size: var(--font-size-lg);
  }

  .section-title {
    font-size: var(--font-size-3xl);
  }

  .blog-main .section-title {
    font-size: 2rem !important;
    line-height: 1.3 !important;
  }

  .product-categories-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .category-card-icon,
  .product-category-icon {
    height: 250px;
  }

  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: repeat(1, 1fr);
  }

  .related-products-grid {
    grid-template-columns: 1fr;
  }

  .product-info-table .info-label {
    width: 100px;
    font-size: var(--font-size-xs);
  }

  .blog-layout {
    gap: 1.5rem;
  }

  .blog-sidebar {
    order: -1;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 480px) {
  :root {
    font-size: 14px;
  }

  /* 小屏手机：进一步缩小 hero-small 高度 */
  .hero-section.hero-small {
    height: 200px;
    min-height: 200px;
    max-height: 200px;
  }

  .container {
    padding: 0 var(--spacing-sm);
  }

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

/* ========================================
   中文字体优化样式
   ======================================== */

/* 中文字体特定优化 */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family);
  font-weight: 600;
  /* 中文字体使用中等字重 */
  line-height: 1.3;
  /* 中文标题行高优化 */
  letter-spacing: -0.025em;
  /* 减少字母间距 */
  text-rendering: optimizeLegibility;
  /* 优化中文字体渲染 */
}

p {
  font-family: var(--font-family);
  line-height: 1.8;
  /* 段落行高更大，便于阅读 */
  margin-bottom: 1rem;
  text-rendering: optimizeLegibility;
  /* 优化中文字体渲染 */
  word-break: break-word;
  /* 中文换行优化 */
  hyphens: none;
  /* 禁用连字符 */
}

/* 中文字体特定优化 */
.hero-title {
  font-size: var(--font-size-6xl);
  font-weight: 700;
  font-family: var(--font-family);
  line-height: 1.2;
  /* 中文标题行高 */
  text-rendering: optimizeLegibility;
  letter-spacing: -0.02em;
}

.section-title {
  font-size: var(--font-size-4xl);
  font-weight: 600;
  font-family: var(--font-family);
  line-height: 1.3;
  text-rendering: optimizeLegibility;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: var(--font-size-lg);
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.card-title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.card-text {
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--color-text-secondary);
}

/* 按钮文字优化 */
.btn {
  font-weight: 500;
  letter-spacing: 0.025em;
}

/* 导航文字优化 */
.nav-link {
  font-weight: 500;
  font-size: var(--font-size-base);
}

/* 页脚文字优化 */
.footer-section h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section ul li {
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

/* 中文字体响应式优化 */
@media (max-width: 768px) {
  .hero-title {
    font-size: var(--font-size-4xl);
    line-height: 1.3;
  }

  .section-title {
    font-size: var(--font-size-3xl);
    line-height: 1.4;
  }

  .card-title {
    font-size: var(--font-size-lg);
  }

  .card-text {
    font-size: var(--font-size-sm);
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: var(--font-size-3xl);
  }

  /* 小屏手机：优化 hero-small 内的文字大小 */
  .hero-section.hero-small .hero-title {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-sm);
  }

  .hero-section.hero-small .hero-subtitle {
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-md);
  }

  .section-title {
    font-size: var(--font-size-2xl);
  }

  .card-title {
    font-size: var(--font-size-base);
  }
}

/* ========================================
   Hero Carousel Styles
   ======================================== */

.hero-carousel {
  position: relative;
  height: calc(100vh - 130px);
  /* 减去顶部信息栏和导航栏的高度 */
  min-height: 500px;
  max-height: 800px;
  overflow: hidden;
  margin-top: 0;
}

.hero-swiper {
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  /* 确保图片保持比例并居中显示 */
}

.hero-slide .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

/* 白色背景轮播图的遮罩层 - 使用浅色遮罩 */
.hero-slide-light .hero-overlay-light {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(2px);
}

.hero-slide .hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  color: white;
  max-width: 1200px;
  margin: 0;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
  min-height: 500px;
}

/* 白色背景轮播图的文字颜色 - 深色文字 */
.hero-slide-light .hero-content {
  color: #1f2937;
}

.hero-slide .hero-title {
  font-size: var(--font-size-6xl);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.4);
  max-width: 900px;
  word-wrap: break-word;
  text-align: left;
  width: 100%;
  color: #ffffff;
  letter-spacing: -0.01em;
}

/* 白色背景轮播图的标题 - 深色文字，增强阴影（无蒙层） */
.hero-slide-light .hero-title {
  color: #0f172a;
  text-shadow: 0 3px 16px rgba(255, 255, 255, 1), 0 2px 8px rgba(255, 255, 255, 0.9), 0 1px 4px rgba(0, 0, 0, 0.1);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-slide .hero-subtitle {
  font-size: var(--font-size-xl);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 1px 4px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.4);
  max-width: 700px;
  word-wrap: break-word;
  text-align: left;
  width: 100%;
  color: #f8fafc;
  font-weight: 400;
}

/* 白色背景轮播图的副标题 - 深色文字，增强阴影（无蒙层） */
.hero-slide-light .hero-subtitle {
  color: #334155;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 1), 0 1px 5px rgba(255, 255, 255, 0.9), 0 1px 3px rgba(0, 0, 0, 0.08);
  opacity: 0.9;
  font-weight: 400;
}

.hero-slide .hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.hero-slide .btn {
  padding: 1rem 2rem;
  font-size: var(--font-size-lg);
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  min-width: 160px;
  text-align: center;
}

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

.hero-slide .btn-white:hover {
  background: transparent;
  color: white;
  border-color: white;
}

.hero-slide .btn-secondary {
  background: transparent;
  color: white;
  border-color: white;
}

.hero-slide .btn-secondary:hover {
  background: white;
  color: var(--color-primary);
  border-color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3), 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* 深色背景轮播图的次要按钮优化 */
.hero-slide .btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.9);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide .btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-primary);
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4), 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* 白色背景轮播图的按钮样式 - 使用品牌主色 */
.hero-slide-light .btn-outline-dark {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  font-weight: 600;
  transition: all 0.3s ease;
}

.hero-slide-light .btn-outline-dark:hover {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 168, 150, 0.4), 0 4px 12px rgba(0, 168, 150, 0.3);
}

/* Swiper Navigation Buttons */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
  color: white;
  background: rgba(19, 147, 137, 0.9);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(19, 147, 137, 0.4);
  transition: all 0.3s ease;
}

/* 白色背景轮播图的导航按钮 - 使用品牌主色 */
.hero-slide-light ~ .swiper-button-next,
.hero-slide-light ~ .swiper-button-prev,
.hero-swiper .swiper-slide-active.hero-slide-light ~ .swiper-button-next,
.hero-swiper .swiper-slide-active.hero-slide-light ~ .swiper-button-prev {
  color: white;
  background: rgba(19, 147, 137, 0.95);
  backdrop-filter: blur(4px);
  border: 2px solid rgba(19, 147, 137, 0.5);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(19, 147, 137, 0.5);
}

.hero-swiper .swiper-slide-active.hero-slide-light ~ .swiper-button-next:hover,
.hero-swiper .swiper-slide-active.hero-slide-light ~ .swiper-button-prev:hover {
  background: #139389;
  color: white;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(19, 147, 137, 0.8);
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(19, 147, 137, 0.6), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
  background: #139389;
  color: white;
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 6px 20px rgba(19, 147, 137, 0.6), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-swiper .swiper-button-next:after,
.hero-swiper .swiper-button-prev:after {
  font-size: 20px;
  font-weight: 700;
  color: white;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-swiper .swiper-button-next {
  right: 2rem;
}

.hero-swiper .swiper-button-prev {
  left: 2rem;
}

/* Swiper Pagination */
.hero-swiper .swiper-pagination,
.hero-swiper .swiper-pagination-clickable,
.hero-swiper .swiper-pagination-bullets,
.hero-swiper .swiper-pagination-horizontal {
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  max-width: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  position: absolute;
  z-index: 10;
  flex-wrap: wrap;
  padding: 0.5rem;
}

.hero-swiper .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.2);
  opacity: 1;
  width: auto;
  height: auto;
  min-width: fit-content;
  padding: 0.5rem 1rem;
  border-radius: 1.5rem;
  margin: 0;
  font-size: 0.8rem;
  font-weight: 500;
  color: white;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  border: none;
  outline: none;
  position: relative;
  flex-shrink: 0;
}

/* 确保所有分页器按钮样式统一 */
.hero-swiper .swiper-pagination-bullet:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.hero-swiper .swiper-pagination-bullet:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.hero-swiper .swiper-pagination-bullet-active,
.hero-swiper .swiper-pagination-bullet-active:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #139389;
  font-weight: 600;
  transform: translateY(-1px);
}

/* 白色背景轮播图的分页器样式 - 深色样式 */
.hero-swiper .swiper-slide-active.hero-slide-light ~ .swiper-pagination .swiper-pagination-bullet {
  background: rgba(31, 41, 55, 0.3);
  color: #1f2937;
  border: 1px solid rgba(31, 41, 55, 0.2);
}

.hero-swiper .swiper-slide-active.hero-slide-light ~ .swiper-pagination .swiper-pagination-bullet:hover {
  background: rgba(31, 41, 55, 0.5);
  color: #111827;
}

.hero-swiper .swiper-slide-active.hero-slide-light ~ .swiper-pagination .swiper-pagination-bullet-active,
.hero-swiper .swiper-slide-active.hero-slide-light ~ .swiper-pagination .swiper-pagination-bullet-active:hover {
  background: #1f2937;
  color: #ffffff;
  border-color: #1f2937;
  font-weight: 600;
}

/* 确保点击状态样式 */
.hero-swiper .swiper-pagination-bullet:active {
  transform: translateY(0);
  background: rgba(255, 255, 255, 0.4);
}

/* 确保分页器容器样式统一 */
.hero-swiper .swiper-pagination-clickable .swiper-pagination-bullet {
  cursor: pointer;
}

/* 确保水平布局样式 */
.hero-swiper .swiper-pagination-horizontal {
  flex-direction: row;
}

/* 确保子弹样式统一 */
.hero-swiper .swiper-pagination-bullets .swiper-pagination-bullet {
  display: inline-flex;
  margin: 0;
}

/* 确保文字按钮完全可见 */
.hero-swiper .swiper-pagination-bullet {
  overflow: visible;
  text-overflow: clip;
}

/* 确保分页器容器不会溢出 */
.hero-swiper .swiper-pagination {
  overflow: visible;
  box-sizing: border-box;
}

/* 确保长文字按钮的显示 */
.hero-swiper .swiper-pagination-bullet[data-title] {
  min-width: max-content;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-carousel {
    height: 50vh;
    /* 移动端使用50%视口高度，更适合手机屏幕 */
    min-height: 400px;
    max-height: 500px;
  }

  .hero-slide {
    background-size: cover;
    background-position: center center;
    /* 确保图片居中显示 */
  }

  .hero-slide .hero-content {
    padding: 1.5rem 1rem;
    min-height: 400px;
    align-items: flex-start;
    justify-content: center;
  }

  .hero-slide .hero-title {
    font-size: var(--font-size-3xl);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    max-width: 100%;
  }

  .hero-slide .hero-subtitle {
    font-size: var(--font-size-base);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    max-width: 100%;
  }

  .hero-slide .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
  }

  .hero-slide .btn {
    width: 100%;
    max-width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: var(--font-size-base);
  }

  .hero-swiper .swiper-button-next,
  .hero-swiper .swiper-button-prev {
    width: 50px;
    height: 50px;
    right: 1rem;
    left: 1rem;
  }

  .hero-swiper .swiper-button-next:after,
  .hero-swiper .swiper-button-prev:after {
    font-size: 16px;
  }

  .hero-swiper .swiper-pagination,
  .hero-swiper .swiper-pagination-clickable,
  .hero-swiper .swiper-pagination-bullets,
  .hero-swiper .swiper-pagination-horizontal {
    bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.4rem;
    max-width: 95%;
    padding: 0.4rem;
    justify-content: center;
  }

  .hero-swiper .swiper-pagination-bullet {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
    border-radius: 1.2rem;
    font-weight: 500;
    min-width: fit-content;
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  .hero-carousel {
    height: 45vh;
    /* 小屏手机使用45%视口高度 */
    min-height: 320px;
    max-height: 450px;
  }

  .hero-slide {
    background-size: cover;
    background-position: center center;
    /* 确保图片居中显示，保持比例 */
  }

  .hero-slide .hero-content {
    padding: 1rem 0.75rem 1.5rem;
    min-height: 320px;
    align-items: flex-end;
    justify-content: flex-end;
  }

  .hero-slide .hero-title {
    font-size: var(--font-size-2xl);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    max-width: 100%;
  }

  .hero-slide .hero-subtitle {
    display: none;
  }

  .hero-slide .hero-actions {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    width: 100%;
  }

  .hero-slide .btn {
    width: auto;
    max-width: 100%;
    padding: 0.75rem 1.25rem;
    font-size: var(--font-size-sm);
    flex: 0 0 auto;
  }

  .hero-swiper .swiper-button-next,
  .hero-swiper .swiper-button-prev {
    width: 45px;
    height: 45px;
    right: 0.5rem;
    left: 0.5rem;
  }

  .hero-swiper .swiper-button-next:after,
  .hero-swiper .swiper-button-prev:after {
    font-size: 14px;
  }

  .hero-swiper .swiper-pagination,
  .hero-swiper .swiper-pagination-clickable,
  .hero-swiper .swiper-pagination-bullets,
  .hero-swiper .swiper-pagination-horizontal {
    bottom: 0.5rem;
    gap: 0.3rem;
    max-width: 98%;
    padding: 0.3rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-swiper .swiper-pagination-bullet {
    font-size: 0.6rem;
    padding: 0.3rem 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
    border-radius: 1rem;
    font-weight: 500;
    min-width: fit-content;
    flex-shrink: 0;
  }
}

/* Animation Enhancements */
.hero-slide .hero-title,
.hero-slide .hero-subtitle,
.hero-slide .hero-actions {
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
}

.hero-slide .hero-title {
  animation-delay: 0.2s;
}

.hero-slide .hero-subtitle {
  animation-delay: 0.4s;
}

.hero-slide .hero-actions {
  animation-delay: 0.6s;
}

/* 轮播切换时的动画优化 */
.hero-swiper .swiper-slide-active .hero-title,
.hero-swiper .swiper-slide-active .hero-subtitle,
.hero-swiper .swiper-slide-active .hero-actions {
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
}

.hero-swiper .swiper-slide-active .hero-title {
  animation-delay: 0.1s;
}

.hero-swiper .swiper-slide-active .hero-subtitle {
  animation-delay: 0.3s;
}

.hero-swiper .swiper-slide-active .hero-actions {
  animation-delay: 0.5s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Swiper Fade Effect Enhancement */
.hero-swiper .swiper-slide-active .hero-title,
.hero-swiper .swiper-slide-active .hero-subtitle,
.hero-swiper .swiper-slide-active .hero-actions {
  animation: fadeInUp 0.8s ease-out;
}

/* Loading State */
.hero-carousel.loading {
  background: linear-gradient(135deg, #139389 0%, #6366f1 100%);
}

.hero-carousel.loading .hero-content {
  opacity: 0;
}

.hero-carousel.loaded .hero-content {
  opacity: 1;
  transition: opacity 0.5s ease;
}

/* 性能优化 */
.hero-carousel {
  will-change: transform;
  transform: translateZ(0);
}

.hero-slide {
  will-change: transform, opacity;
  transform: translateZ(0);
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {

  .hero-swiper .swiper-button-next,
  .hero-swiper .swiper-button-prev {
    display: none;
    /* 在触摸设备上隐藏导航按钮 */
  }

  .hero-swiper .swiper-pagination,
  .hero-swiper .swiper-pagination-clickable,
  .hero-swiper .swiper-pagination-bullets,
  .hero-swiper .swiper-pagination-horizontal {
    bottom: 1rem;
    gap: 0.4rem;
    max-width: 95%;
    padding: 0.4rem;
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* 高分辨率屏幕优化 */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

  .hero-slide .hero-title,
  .hero-slide .hero-subtitle {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* ========================================
   返回顶部按钮
   ======================================== */
.back-to-top {
  display: none;
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white;
  font-size: 1.5rem;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: 999;
  align-items: center;
  justify-content: center;
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}

/* ========================================
   产品标签变体
   ======================================== */
.product-tag.primary {
  background-color: var(--color-primary-lighter);
  color: var(--color-primary);
}

.product-tag.secondary {
  background-color: var(--color-bg-gray);
  color: var(--color-text-muted);
}