/* ==========================================================================
   ABOUT 页面专属样式 (about.css)
   ========================================================================== */

:root {
  --primary-color: #c12022;
  --primary-hover: #b82d19;
  --about-dark-bg: #0b0d10;
}

/* ================= 1. 顶部全屏循环播放视频 Banner ================= */
.about-hero-banner {
  position: relative;
  width: 100vw;
  height: 100vh;
}

.about-hero-banner .banner-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -2;
  pointer-events: none;
}

.about-hero-banner .banner-mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
  pointer-events: none;
}

/* ================= 3. 公司简介图文板块 ================= */
.about-intro-section {
  background-color: #ffffff;
  padding: 120px 0 80px 0;
  color: #333333;
  position: relative;
  z-index: 2;
}

.intro-container {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 60px;
}

.intro-left-media {
  flex: 1;
  max-width: 550px;
  min-height: 440px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.intro-left-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.intro-right-text {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.intro-right-text p {
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.6px;
  color: #666666;
  text-align: justify;
  margin-bottom: 16px;
}

.intro-right-text .lead-text {
  font-weight: bold;
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: 0.8px;
  color: #222222;
  margin-bottom: 18px;
}

.intro-right-text .intro-slogan {
  font-weight: bold;
  font-size: 17px;
  line-height: 1.8;
  letter-spacing: 1px;
  color: #666666;
  margin-top: 10px;
}

/* ================= 4. 数据统计与优势指标板块 ================= */
.about-stats-section {
  background-color: #f7f8fa;
  padding: 60px 0 90px 0;
  position: relative;
  z-index: 2;
}

.stats-inner-box {
  background-color: #111417;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 50px 60px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.stats-header-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 25px;
}

.stats-header-title span {
  color: var(--primary-color);
  font-weight: normal;
  margin: 0 6px;
}

.stats-sub-line {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 40px auto 35px auto;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stats-sub-line .line-text {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #111417;
  padding: 0 14px;
  font-size: 12px;
  color: #888888;
  letter-spacing: 1.5px;
}

.stats-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 50px;
}

.stat-card {
  background-color: #272d32;
  padding: 35px 20px;
  border-radius: 4px;
  text-align: center;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  background-color: #31383e;
}

.stat-num-row {
  color: #ffffff;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-weight: bold;
  font-size: 72px;
  line-height: 1;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
}

.stat-num-row .unit {
  display: inline-block;
  font-size: 13px;
  border-radius: 50%;
  font-weight: normal;
  color: #ffffff;
  background-color: var(--primary-color);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
  line-height: 1.4;
  vertical-align: super;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.stat-label {
  color: #d1d5db;
  font-size: 15px;
  letter-spacing: 1px;
}

.stats-icons-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  padding-top: 15px;
}

.stat-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 130px;
}

.stat-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 4px 15px rgba(218, 60, 37, 0.35);
}

.stat-icon-circle img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.stat-icon-item .icon-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 4px;
}

.stat-icon-item .icon-sub {
  color: #9ca3af;
  font-size: 13px;
  letter-spacing: 0.5px;
}

/* ================= 5. 工艺与品类切换展厅板块 ================= */
.about-category-section {
  position: relative;
  width: 100%;
  height: 620px;
  background-color: #1a1e22;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.category-header-title {
  position: relative;
  z-index: 10;
  margin-top: 45px;
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 2px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  gap: 12px;
  user-select: none;
}

.category-header-title .red-bar {
  color: var(--primary-color);
  font-weight: bold;
  font-size: 24px;
}

.category-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.45s ease,
    visibility 0.45s ease;
  z-index: 1;
}

.category-bg-layer.active {
  opacity: 1;
  z-index: 2;
  visibility: visible;
}

.category-bg-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* 底部 Tab 栏 */
.category-tabs-bar {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 100%;
  /* max-width: 1100px; */
  height: 72px;
  background: rgba(18, 22, 26, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: stretch;
  justify-content: center;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.category-tab-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.25s ease;
  user-select: none;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.category-tab-item:last-child {
  border-right: none;
}

.category-tab-item .tab-icon i {
  font-size: 22px;
}

.category-tab-item .tab-name {
  font-size: 14px;
  letter-spacing: 0.8px;
  font-weight: 500;
}

.category-tab-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.category-tab-item.active {
  background-color: var(--primary-color) !important;
  color: #ffffff;
  font-weight: bold;
}

/* ==========================================================================
   6. 优质移动端 (<= 768px) 专项重构规范
   ========================================================================== */
@media screen and (max-width: 768px) {
  /* 1. 顶部视频高占比优化 */
  .about-hero-banner {
    height: 52vh;
  }

  .about-hero-banner .banner-video{
    width: 100%;
    height: 52vh;
    object-fit: cover;
    object-position: center center;
    display: block;
  }

  
  /* 3. 公司简介移动端微调 */
  .about-intro-section {
    padding: 55px 0 40px 0;
  }

  .intro-container {
    flex-direction: column;
    gap: 24px;
    margin: 0 auto;

  }

  
  .intro-right-text{
    padding: 0 12px;
  }


  .intro-left-media {
    max-width: calc(100% - 24px);
    min-height: auto;
    height: 210px;
    border-radius: 6px;
    margin: 0 auto;
  }

  .intro-right-text p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 12px;
    color: #555555;
  }

  .intro-right-text .lead-text {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 12px;
  }

  .intro-right-text .intro-slogan {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 6px;
    padding-left: 10px;
  }

  /* 4. 数据统计与优势指标模块移动端规范 */
  .about-stats-section {
    padding: 35px 0 50px 0;
  }

  .stats-inner-box {
    padding: 30px 16px;
    border-radius: 8px;
  }

  .stats-header-title {
    font-size: 15px;
    letter-spacing: 1px;
    margin-bottom: 18px;
  }

  .stats-sub-line {
    margin: 25px auto 25px auto;
  }

  .stats-sub-line .line-text {
    font-size: 11px;
    padding: 0 10px;
  }

  .stats-cards-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 30px;
  }

  .stat-card {
    padding: 20px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    border-radius: 6px;
  }

  .stat-num-row {
    font-size: 40px;
    margin-bottom: 0;
  }

  .stat-num-row .unit {
    font-size: 11px;
    margin-left: 6px;
  }

  .stat-label {
    font-size: 13px;
    text-align: right;
  }

  .stats-icons-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px;
    padding-top: 5px;
  }

  .stat-icon-item {
    width: 100%;
  }

  .stat-icon-circle {
    width: 50px;
    height: 50px;
    margin-bottom: 8px;
  }

  .stat-icon-circle img {
    width: 24px;
    height: 24px;
  }

  .stat-icon-item .icon-title {
    font-size: 14px;
  }

  .stat-icon-item .icon-sub {
    font-size: 12px;
  }

  /* 5. 品类展厅区域移动端体验 */
  .about-category-section {
    height: 420px;
  }

  .category-header-title {
    margin-top: 25px;
    font-size: 15px;
    letter-spacing: 1px;
  }

  .category-header-title .red-bar {
    font-size: 18px;
  }

  /* 手机端 Tab 贴底横滑卡片，防止按钮被挤压或隐藏 */
  .category-tabs-bar {
    bottom: 16px;
    left: 12px;
    transform: none;
    width: calc(100% - 24px);
    height: 50px;
    border-radius: 6px;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }

  .category-tabs-bar::-webkit-scrollbar {
    display: none;
  }

  .category-tab-item {
    flex: none;
    padding: 0 16px;
    height: 100%;
    gap: 6px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
  }

  .category-tab-item .tab-icon i {
    font-size: 16px;
  }

  .category-tab-item .tab-name {
    font-size: 13px;
  }

  .category-bg-layer img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  

  /* 6. 页脚排版微调 */
  /* .footer-links-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px 16px !important;
  } */
}

/* 平板端 (769px ~ 992px) 平滑过渡 */
@media screen and (min-width: 769px) and (max-width: 992px) {
  .about-hero-banner {
    height: 60vh;
  }
  .sub-nav-bar {
    height: 90px;
    top: -45px;
  }
  .intro-container {
    flex-direction: column;
    gap: 30px;
  }
  .intro-left-media {
    max-width: 100%;
    height: 320px;
  }
  .stats-inner-box {
    padding: 35px 25px;
  }
  .stat-num-row {
    font-size: 52px;
  }
  .about-category-section {
    height: 500px;
  }
  .category-tabs-bar {
    bottom: 5%;
    max-width: 90%;
    height: 60px;
  }
}
