﻿/* Banner通用样式 */
.company-banner {
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-white);
  position: relative;
}

.company-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.2); /* 半透遮罩保证文字可读性 */
}

.video-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

/* 声音开关悬浮按钮 */
.sound-toggle-btn {
  position: absolute;
  bottom: 36px;
  right: 40px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 400;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
  user-select: none;
}

.sound-toggle-btn:hover {
  background: rgba(200, 30, 58, 0.75); /* 悬停微显品牌红 */
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.sound-icon {
  font-size: 1rem;
  line-height: 1;
}

.sound-text {
  letter-spacing: 0.5px;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .sound-toggle-btn {
    bottom: 20px;
    right: 20px;
    padding: 6px 14px;
    font-size: 0.75rem;
  }
}

.bg-video {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 768px) {
  .company-banner {
    height: 60vh;
  } 
}

.about-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* ===================================================
   SECTION 1: Headquarters Base
   =================================================== */
.section-hq {
  margin-bottom: 50px;
}

.section-title {
  font-size: 3.2rem;
  font-weight: 200;
  color: #222;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hq-banner {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.hq-banner img {
  width: 100%;
  height: 700px;
  display: block;
  object-fit: cover;
}

/* 5 个特性图标网格 */
.advantage-bottom {
  display: flex;
  justify-content: space-between;
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
}
/* 前3个 item 权重更小，总和 0.8*3 = 2.4 */
.advantage-item:nth-child(1),
.advantage-item:nth-child(2),
.advantage-item:nth-child(3) {
  flex: 0.8;
}
/* 后2个 item权重更大，总和1.3*2 =2.6，满足左三总区域 < 右二 */
.advantage-item:nth-child(4),
.advantage-item:nth-child(5) {
  flex: 1.3;
}

.advantage-item {
  text-align: center;
  padding: 0 8px;
}

/* 放大图标尺寸 */
.advantage-icon {
  width: 52px;
  height: 52px;
  margin:0 auto 16px;
}
.advantage-icon img {
  width:100%;
  height:100%;
  object-fit: contain;
}

/* 优势标题放大 */
.advantage-title {
  color: var(--accent-color);
  font-size: 22px;
  font-weight:700;
  margin-bottom: 6px;
}
.advantage-subtext {
  color:#333333;
  font-size: 14px;
  line-height:1.6;
}

/* 各模块主题色 */
.item-red .feature-icon, .item-red .feature-title { color: #c81e3a; }
.item-orange .feature-icon, .item-orange .feature-title { color: #d6382a; }
.item-yellow .feature-icon, .item-yellow .feature-title { color: #c49027; }
.item-purple .feature-icon, .item-purple .feature-title { color: #9c2780; }
.item-blue .feature-icon, .item-blue .feature-title { color: #0d64ba; }

/* ===================================================
   SECTION 2: 分割线 (左侧渐变高亮)
   =================================================== */
.section-divider {
  position: relative;
  width: 100%;
  height: 1px;
  background-color: #eee;
  margin: 50px 0;
}

.section-divider::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1.5px;
  width: 110px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #b91535 0%, #4b1a75 50%, #1f217c 100%);
}

/* ===================================================
   SECTION 3: 制造卡片列表 (圆角 & 自上而下细微渐变)
   =================================================== */
.section-capabilities {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cap-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 18px;
  padding: 16px 16px 16px 40px;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* 卡片 1 渐变 */
.card-red {
  background: linear-gradient(180deg, #cb193e 0%, #a60f33 100%);
}

.card-purple {
  background: linear-gradient(180deg, #5b1a7d 0%, #460f65 100%);
}

.card-blue-purple {
  background: linear-gradient(180deg, #1b2685 0%, #121c67 100%);
}

.cap-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-right: 20px;
}

.cap-number {
  font-size: 4.8rem;
  font-weight: 200;
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.95;
}

.cap-name {
  font-size: 2.1rem;
  font-weight: 100;
  letter-spacing: 0.5px;
}

.cap-image {
  flex: 0 0 54%;
  max-width: 54%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background-color: #fff;
}

.cap-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===================================================
   响应式适配 (平板 & 移动端)
   =================================================== */
@media (max-width: 900px) {
  .hq-features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 650px) {
  .hq-features-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cap-card {
    flex-direction: column;
    padding: 28px 16px 16px 16px;
  }

  .cap-text {
    padding-right: 0;
    margin-bottom: 20px;
  }

  .cap-image {
    flex: auto;
    max-width: 100%;
    width: 100%;
  }
}