/* hero.css - Hero Section 样式 - Leverstyle 风格 */

#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background-color: var(--color-bg-dark);
}

/* 背景层 */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-color: var(--color-bg-dark);
}

.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 渐变遮罩 - 底部加深便于阅读文字 */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.15) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

/* 内容层 - 左下角对齐 */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 60px 100px;
  max-width: none;
  color: #ffffff;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: var(--font-size-h1);
  font-weight: 400;
  line-height: 1.05;
  white-space: nowrap;
  margin-bottom: 0;
  letter-spacing: -1px;
}

.hero-company-name {
  display: block;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 6px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  white-space: nowrap;
  font-style: normal;
}

.hero-title .accent {
  font-style: italic;
  color: var(--color-accent);
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  margin-top: 30px;
  line-height: 1.6;
  opacity: 0.8;
  max-width: 400px;
}

.hero-cta {
  display: none;
}

/* 社交媒体图标 - 左侧垂直排列 */
.hero-social {
  position: absolute;
  left: 60px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 0;
  color: #fff;
  transition: transform var(--transition-normal);
}

.hero-social a:hover {
  transform: scale(1.2);
  background-color: transparent;
}

.hero-social a img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

/* 社交图标包裹 */
.hero-social-item {
  position: relative;
}

/* 二维码弹出框 */
.hero-qr-popup {
  display: none;
  position: absolute;
  left: 50px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  text-align: center;
  z-index: 10;
  white-space: nowrap;
}

.hero-social-item:hover .hero-qr-popup {
  display: block;
}

.hero-qr-popup img {
  width: 320px !important;
  height: auto !important;
  display: block;
}

.hero-qr-popup span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: #333;
}

/* 滚动指示器 */
.hero-scroll-indicator {
  position: absolute;
  right: 60px;
  bottom: 100px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.hero-scroll-indicator .scroll-arrow {
  width: 34px;
  height: 16px;
  border-right: 1.5px solid rgba(255, 255, 255, 0.7);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.7);
  transform: rotate(45deg);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

/* 右侧描述文字 */
.hero-side-text {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  max-width: 280px;
  text-align: right;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
}

/* 响应式 - 平板端 */
@media (max-width: 1023px) {
  .hero-content {
    padding: 0 40px 80px;
  }

  .hero-social {
    left: 40px;
  }

  .hero-scroll-indicator {
    right: 40px;
    bottom: 80px;
  }

  .hero-side-text {
    display: none;
  }
}

/* 响应式 - 移动端 */
@media (max-width: 767px) {
  .hero-content {
    padding: 0 20px 100px;
  }

  .hero-title {
    white-space: normal;
    font-size: 36px;
  }

  .hero-company-name {
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 12px;
  }

  .hero-subtitle {
    font-size: 0.85rem;
    margin-top: 16px;
  }

  .hero-social {
    left: 20px;
    top: auto;
    bottom: 20px;
    transform: none;
    flex-direction: row;
    z-index: 4;
  }

  .hero-social a img {
    width: 28px;
    height: 28px;
  }

  .hero-scroll-indicator {
    display: none;
  }
}
