
:root { 
  /* 主题色 */
  --c-primary: #444444;
  --c-primary-dark: #333333;
  --c-primary-light: #555555;
  
  /* 辅助色 */
  --c-accent: #DAA520;
  --c-accent-dark: #B8860B;
  --c-accent-light: #F0C040;
  
  /* 文本色 */
  --c-text-primary: #444444;
  --c-text-secondary: #666666;
  --c-text-light: #999999;
  
  /* 背景色 */
  --c-bg: #ffffff;
  --c-bg-light: #ffffff;
  
  /* 边框色 */
  --c-border: #e0e0e0;
  
  /* 阴影 */
  --c-card-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  
  /* 过渡 */
  --c-transition: all 0.3s ease;
}

* { 
  box-sizing: border-box; 
}

html, body { 
  margin: 0; 
  padding: 0; 
  font-family: 'Times New Roman', Georgia, serif;
  color: var(--c-text-primary);
  background-color: var(--c-bg);
  background-image: url('../images/1760589112880.gif');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* 页面容器 */
/* 页面容器 - 基础样式（默认适配手机等小屏幕） */
.container {
  position: relative;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 0;
  padding: 20px; /* 保留内边距，避免内容贴边 */
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  max-width: 100%; /* 手机等小屏幕：填满宽度 */
  margin: 20px auto; /* 居中显示 */
  box-sizing: border-box; /* 确保padding不影响整体宽度计算 */
}

/* 媒体查询：适配电脑等大屏幕（屏幕宽度 ≥ 768px 时生效） */
@media (min-width: 768px) {
  .container {
    max-width: 80%; /* 电脑宽屏：占屏幕宽度的80% */
  }
}

.container.nav {
  max-width: 100%;
  margin: 0;
  padding: 0 20px;
  background: transparent;
  box-shadow: none;
}
a { 
  color: var(--c-primary); 
  text-decoration: none; 
  transition: var(--c-transition);
}

a:hover { 
  color: var(--c-accent); 
  text-decoration: none;
}
.header { 
  position: sticky; 
  top: 0; 
  z-index: 100; 
  background: rgba(255, 255, 255, 1); 
  backdrop-filter: blur(0px); 
  border-bottom: 1px solid rgba(0, 0, 0, 0.1); 
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); 
  margin: 0; 
  padding: 0; 
  width: 100%; 
}
.nav { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  padding: 24px 0; 
  margin: 0; 
  width: 100%; 
}

.nav .brand { 
  display: flex; 
  align-items: center; 
  gap: 16px; 
  font-weight: 900;
}

/* 品牌名称和标语样式 */
.nav .brand-name {
  color: #000000; /* 纯黑色 */
  font-size: 1.6rem; /* 显著增大字体大小 */
  font-weight: 900; /* 极粗体 */
  line-height: 1.2;
  letter-spacing: -0.5px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.nav .brand-tagline {
  color: #000000; /* 纯黑色 */
  font-size: 1rem;
  font-weight: 700;
  margin-top: 4px;
  letter-spacing: 0.5px;
}.logoimg { 
  width: 90px; 
  height: 90px; 
  border-radius: 0; /* 移除圆角，保持矩形 */
  object-fit: contain;
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0,0);
}
.nav ul { 
  list-style: none; 
  display: flex; 
  gap: 24px; 
  margin: 0; 
  padding: 0;
}

.nav a { 
  color: var(--c-text-secondary); 
  font-weight: 600; 
  font-size: 15px;
  padding: 8px 0;
  position: relative;
}

.nav a.active, .nav a:hover { 
  color: var(--c-primary);
}

.nav a.active::after { 
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--c-accent);
  border-radius: 2px;
}

.language-switch {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid var(--c-border);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  margin-left: 12px;
  background-color: var(--c-bg);
  line-height: 1.4;
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
}

.language-switch:hover {
  background-color: var(--c-accent);
  border-color: var(--c-accent);
  color: var(--c-text-primary);
}

.btn { 
  display: inline-block; 
  padding: 12px 24px; 
  background: var(--c-accent); 
  color: var(--c-text-primary); 
  border-radius: 0;
  font-weight: 600; 
  font-size: 15px;
  text-align: center;
  cursor: pointer;
  transition: var(--c-transition);
  border: 1px solid var(--c-accent-dark);
  box-shadow: 3px 3px 0 var(--c-accent-dark);
}

.btn:hover { 
  background: var(--c-accent-dark); 
  color: var(--c-bg);
  transform: translateY(-1px);
  box-shadow: 4px 4px 0 var(--c-accent-dark);
}
.btn-outline { 
  background: var(--c-bg); 
  color: var(--c-primary); 
  border: 2px solid var(--c-primary);
  box-shadow: 3px 3px 0 var(--c-primary);
}

.btn-outline:hover { 
  background: var(--c-primary); 
  color: var(--c-bg);
  border-color: var(--c-primary);
  box-shadow: 4px 4px 0 var(--c-accent);
}
.hero { 
  padding: 120px 0;
  color: white;
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  background-image: url('../images/hero_head.gif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 10;
}

.hero { 
  padding: 120px 0;
  color: white;
  position: relative; /* 关键：确保视频相对当前容器定位 */
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  /* 移除原有的background-image相关属性 */
  z-index: 10;
}

/* 背景视频样式 */
.hero-bg-video {
  position: absolute; /* 脱离文档流，不干扰container布局 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 覆盖容器，保持比例 */
  z-index: -1; /* 置于内容下方，不遮挡文字 */
}


.hero .container {
  position: relative;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 40px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  margin-left: 0;
  margin-right: auto;
}

.hero h1 { 
  font-size: 56px;
  line-height: 1.1;
  margin: 16px 0 24px;
  font-weight: 700;
  color: white;
  letter-spacing: -1px;
  position: relative;
  z-index: 1;
}

.hero p.lead { 
  color: rgba(255, 255, 255, 0.9); 
  font-size: 22px;
  line-height: 1.6;
  max-width: 700px;
  margin-bottom: 32px;
  font-weight: 400;
  position: relative;
  z-index: 1;
}

.hero .btn {
  margin-right: 16px;
  background: var(--c-accent);
  color: var(--c-primary);
  border-color: var(--c-accent-dark);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
  font-weight: 700;
  z-index: 10;
}

.hero .btn:hover {
  background: var(--c-accent-dark);
  color: white;
  border-color: var(--c-accent-dark);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
}

.hero .btn:last-child {
  margin-right: 0;
}

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

.hero .btn-outline:hover {
  background: white;
  color: var(--c-primary);
  border-color: white;
}
.grid-3 { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
  gap: 24px;
}
.card { 
  background: rgba(255, 255, 255, 0.98); 
  border: 1px solid var(--c-border); 
  border-radius: 0;
  padding: 24px;
  box-shadow: var(--c-card-shadow);
  transition: var(--c-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--c-accent);
}

/* 核心优势图片样式 */
.advantage-card {
  padding: 0 24px;
  overflow: hidden;
}

/* 2. 让图片容器重新贴边，不受上面 padding 影响 */
.advantage-image-container {
  width: calc(100% + 48px); /* 24+24=48 px 把左右 padding 补回来 */
  height: 240px;
  margin: 0 -24px;          /* 左右负 margin 拉回去 */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--c-bg);
}

/* 3. 其余样式保持不动 */
.advantage-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.advantage-card:hover .advantage-image {
  transform: scale(1.05);
}

.advantage-card .badge {
  margin-top: 20px;
  margin-bottom: 10px;
  margin-left: 0;
  margin-right: 0;
}

.advantage-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  margin-left: 0;
  margin-right: 0;
}

.advantage-card .subtle {
  margin-top: 0;
  margin-bottom: 20px;
  margin-left: 0;
  margin-right: 0;
  line-height: 1.6;
  color: var(--c-text-secondary);
  font-size: 14px;
  word-wrap: break-word;
  hyphens: auto;
}

/* 应用领域卡片样式 */
.application-card {
  text-align: center;
  padding: 20px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.95);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.application-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* 应用领域图片容器 */
.application-image-container {
  width: 100%;
  height: 180px;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 8px;
  background-color: var(--c-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 应用领域图片样式 */
.application-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

/* 应用领域卡片标题样式 */
.application-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--c-text-primary);
}

/* 应用领域卡片描述样式 */
.application-card .subtle {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-text-secondary);
}

/* 响应式调整 */
@media (max-width: 768px) {
  .application-image-container {
    height: 150px;
  }
  
  .application-card h3 {
    font-size: 1.1rem;
  }
}

/* 产品滚动容器样式 */
.products-scroll-container {
    position: relative;
    width: 100%;
    margin: 32px 0;
    overflow: hidden;
    padding: 0 40px; /* 为左右按钮留出空间 */
}

/* 滚动控制按钮样式 */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--c-border);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: var(--c-primary);
    z-index: 10;
    transition: all 0.3s ease;
}

.scroll-btn:hover {
    background-color: var(--c-accent);
    color: var(--c-text-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-50%) scale(1.1);
}

.scroll-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.scroll-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(218, 165, 32, 0.3);
}

/* 左按钮位置 */
.scroll-btn-left {
    left: 8px;
}

/* 右按钮位置 */
.scroll-btn-right {
    right: 8px;
}

/* 响应式调整：小屏幕上按钮更小 */
@media (max-width: 768px) {
    .products-scroll-container {
        padding: 0 30px;
    }
    
    .scroll-btn {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
    
    .scroll-btn-left {
        left: 4px;
    }
    
    .scroll-btn-right {
        right: 4px;
    }
}

.products-scroll-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 24px;
    padding: 16px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--c-primary) var(--c-bg-light);
}

/* 滚动条样式 */
.products-scroll-wrapper::-webkit-scrollbar {
    height: 6px;
}

.products-scroll-wrapper::-webkit-scrollbar-track {
    background: var(--c-bg-light);
    border-radius: 3px;
}

.products-scroll-wrapper::-webkit-scrollbar-thumb {
    background: var(--c-primary);
    border-radius: 3px;
}

.products-scroll-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--c-primary-dark);
}

/* 产品卡片样式 */
.product-card {
    flex: 0 0 auto;
    width: 320px;
    background-color: var(--c-white);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* 产品图片容器 */
.product-image-container {
    width: 100%;
    height: 200px;
    background-color: var(--c-bg-light);
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* 产品内容 */
.product-content {
    padding: 20px;
}

.product-content h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 600;
    color: var(--c-text-primary);
}

/* 产品描述富文本样式 */
.product-description {
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--c-text-secondary);
}

/* 产品亮点样式 */
.product-highlight {
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--c-primary);
}

/* 产品特性列表样式 */
.product-features {
    margin: 0 0 12px 0;
    padding-left: 20px;
}

.product-features li {
    margin-bottom: 6px;
    line-height: 1.5;
}

/* 关键数据样式 */
.key-data {
    font-weight: 600;
    color: var(--c-primary);
}

/* 产品应用领域样式 */
.product-application {
    margin-top: 12px;
    font-style: italic;
    color: var(--c-text-secondary);
}

/* 产品链接按钮 - 固定在底部并居中 */
.product-link {
  margin-top: auto; /* 关键：自动顶到容器底部 */
  margin-left: auto;
  margin-right: auto; /* 左右居中 */
  margin-bottom: 0; /* 移除底部多余间距 */
  background: var(--c-bg); 
  color: var(--c-primary); 
  border: 2px solid var(--c-primary);
  box-shadow: 3px 3px 0 var(--c-primary);
  /* 新增：改为块级元素，方便设置左右margin:auto居中 */
  display: block;
  /* 可选：限制按钮最大宽度，避免过宽 */
  max-width: 200px;
  /* 可选：添加内边距，优化点击区域 */
  padding: 8px 16px;
  text-align: center; /* 确保按钮文字居中 */
}


/* 滚动指示样式 */
.scroll-indicator {
    text-align: center;
    margin-top: 16px;
    color: var(--c-text-secondary);
    font-size: 14px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .product-card {
        width: 280px;
    }
    
    .product-image-container {
        height: 180px;
    }
    
    .product-content {
        padding: 16px;
    }
}

/* 优势卡片内部元素样式 */
.advantage-card > div:not(.advantage-image-container) { 
    padding: 20px;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--c-primary);
}

.card h3 { 
  margin-top: 12px;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 600;
  color: var(--c-primary);
}

.section { 
  padding: 64px 0;
  background-color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0px;
  border-radius: 0;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--c-accent);
  border-radius: 3px;
}

.section-title p {
  color: var(--c-text-secondary);
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto;
}

.kicker { 
  display: inline-flex; 
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text-primary);
  background: var(--c-accent);
  padding: 8px 16px;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid var(--c-accent-dark);
}
.footer { 
  background: rgba(255, 255, 255, 0);
  color: var(--c-text-primary);
  border-top: 0px solid var(--c-border);
}

.footer .cols { 
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  padding: 64px 20px;
}


.footer .brand {
  color: var(--c-primary);
}

.footer .brand strong {
  font-size: 24px;
}

.footer strong {
  display: block;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--c-primary);
}

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

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

.footer a {
  color: var(--c-text-secondary);
}

.footer a:hover {
  color: var(--c-accent);
}

.footer-bottom {
  background: var(--c-primary-dark);
  padding: 16px 0;
  text-align: center;
  font-size: 14px;
  color:rgba(0, 0, 0, 0.801);
}
.badge { 
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 0;
  background: var(--c-accent);
  color: var(--c-text-primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid var(--c-accent-dark);
}
table { 
  width: 100%; 
  border-collapse: collapse; 
  background: #fff; 
  border: 1px solid var(--c-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

th, td { 
  padding: 14px 16px;
  border-bottom: 1px solid var(--c-border);
  text-align: left;
}

th {
  background: var(--c-bg-light);
  font-weight: 600;
  color: var(--c-primary);
}

tr:last-child td { 
  border-bottom: none;
}

tr:hover {
  background: var(--c-bg-light);
}
form label { 
  display: block; 
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text-primary);
  margin: 12px 0 6px;
}

input[type='text'],
input[type='email'],
textarea {
  width: 100%; 
  padding: 12px 16px;
  border: 1px solid var(--c-border);
  border-radius: 0;
  outline: none;
  font-size: 15px;
  transition: var(--c-transition);
  background: #fff;
  font-family: 'Times New Roman', Georgia, serif;
}

input:focus,
textarea:focus {
  border-color: var(--c-accent); 
  box-shadow: 0 0 0 3px rgba(218, 165, 32, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}
input:focus,
textarea:focus {
  border-color: var(--c-primary); 
  box-shadow: 0 0 0 3px rgba(68, 68, 68, 0.1);
}

.alert { 
  padding: 12px 16px;
  border-radius: 0;
  font-size: 14px;
  margin-bottom: 16px;
  border-left: 4px solid;
}

.alert.ok { 
  background: #e6f7ff;
  color: #0050b3;
  border: 1px solid #91d5ff;
}

.alert.error {
  background: #fff2f0;
  color: #cf1322;
  border: 1px solid #ffccc7;
}
.subtle { 
  color: var(--c-text-secondary); 
  font-size: 14px;
  line-height: 1.5;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .hero {
    padding: 60px 0;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .hero p.lead {
    font-size: 18px;
  }
  
  .nav {
    flex-direction: column;
    gap: 16px;
    padding: 16px 0;
  }
  
  .nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .footer .cols {
    padding: 40px 0;
  }
}

.stats {
  background: transparent;
  color: var(--c-text-primary);
  padding: 0px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  text-align: center;
}

.stat-item h3 {
  font-size: 48px;
  margin: 0 0 12px;
  font-weight: 700;
  background-color: rgba(0, 0, 0, 1);
  color: var(--c-accent);
  font-family: 'Times New Roman', serif;
}

.stat-item p {
  color: var(--c-text-secondary);
  margin: 0;
  font-size: 18px;
  font-family: 'Times New Roman', serif;
}

.testimonial {
  background: rgba(255, 255, 255, 0);
  padding: 0px 0;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.98);
  padding: 32px;
  border-radius: 0;
  box-shadow: var(--c-card-shadow);
  position: relative;
  border-left: 4px solid var(--c-accent);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 72px;
  color: rgba(0, 0, 0, 0.05);
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 18px;
  line-height: 1.6;
  color: var(--c-text-primary);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author-info h4 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
}

.testimonial-author-info p {
  margin: 0;
  font-size: 14px;
  color: var(--c-text-secondary);
}
