* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --intro-right-offset: 80px;  /* 你要的“控制参数” */
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: #333;
}

.container {
  width: 1200px;
  max-width: 90%;
  margin: 0 auto;
}

/* Header */
.header {
    background: rgba(191, 191, 191, 0.1); /* 90% 透明 */
    height: 60px;
    position: relative;
    z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo img {
  height: 32px;
}

.nav a {
  margin-left: 200px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

/* Hero */
.hero {
  width: 100%;
  background: #000;
  /* 首屏高度策略 */
  max-height: 100vh;
  min-height: auto;
  overflow: hidden;
   /* 让视频在容器内居中显示，黑边均匀分布 */
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  flex: 0 0 auto;
}

.hero-video {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  aspect-ratio: 16/9; 
  flex-shrink: 0;
}


.hero-mask {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ddd;
  font-size: 14px;
}

/* Intro */
.intro {
  display: flex;
  align-items: flex-start;   /* 关键：不再等高 */
  gap: 100px;
  padding: 80px 0;
}

.intro-right {
  margin-left: var(--intro-right-offset);
  max-width: 570px;
}

.intro-left img {
  height: 575px;     /* 你可以在 500–580 之间微调 */
  width: auto;       /* 保证比例不变 */
  display: block;
  flex-shrink: 0;
  margin: 0 auto;
}

.intro-right h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.intro-right .blue {
  color: #2b6fff;
}

.desc {
  line-height: 1.8;
  font-size: 14px;
  margin-bottom: 40px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px 20px;
}

.stats strong {
  color: #2b6fff;
  font-size: 20px;
}

.stats span {
  display: block;
  font-size: 13px;
  margin-top: 6px;
}

/* Products */
.products {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;   /* 关键：顶部严格对齐 */
  padding-bottom: 80px;
}

.product {
  width: 30%;
  text-align: center;
}

.product img {
  height: 160px;
  width: auto;
  margin-bottom: 20px;
}

.product h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.product p {
  font-size: 13px;
  line-height: 1.6;
}

.left-product {
  margin-top: 32px;
  text-align: center;
}

.left-product h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.left-product p {
  font-size: 13px;
  line-height: 1.6;
  color: #555;
}

.right-products {
  display: flex;
  gap: 80px;
  margin-top: 60px;
}

.right-products .product {
  width: 210px;
  text-align: center;
}

.right-products .product img {
  height: 150px;
  width: auto;
  margin-bottom: 16px;
}


/* Footer */
.footer {
  background: #f2f2f2;
  padding-top: 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;  /* 左右两侧 */
  align-items: center;             /* 同一水平线 */
  padding: 30px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
}

.footer-left img {
  height: 80px;
  /* 新增居中样式 */
  display: block; /* 行内元素转块级，margin auto 才生效 */
  margin: 0 auto; /* 上下间距0，左右自动居中 */
}

.footer-left p {
  font-size: 16px;
  line-height: 1.8;
}

.footer-bottom {
  padding-bottom: 20px;
}

.footer-bottom p {
  font-size: 12px;
  line-height: 1.8;
  color: #555;
}

.copyright {
  text-align: center;
  font-size: 12px;
  padding: 20px 0;
  color: #777;
}

.social {
  display: flex;
  gap: 16px;
  align-items: center;
}

.social .icon {
  position: relative;
  cursor: pointer;
}

.social .icon img {
  width: 150px;
  height: 150px;
}
