/**
 * 首页 Hero 区块样式
 * 冻结自参考站 en/index.html 的 #hero section
 * 作用域前缀：.hero.ki-home-hero
 */

.hero.ki-home-hero {
  position: relative;
  height: calc(100svh + var(--header-h, 80px));
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
  margin-top: calc(-1 * var(--header-h, 80px));
}

.hero.ki-home-hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.hero.ki-home-hero .hero-vid {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero.ki-home-hero .hero-mask {
  position: absolute;
  inset: 0;
  background: transparent;
}

.hero.ki-home-hero .hero-body {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 6vh 6% 4vh;
  max-width: clamp(1100px, 65vw, 1600px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 2.5vh, 28px);
}

.hero.ki-home-hero .hero-kicker {
  font-size: clamp(14px, 1.6vw, 20px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--brand-blue, #036edc);
  margin: 0;
}

.hero.ki-home-hero .hero-head {
  font-family: var(--font-display, 'Commissioner', sans-serif);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 500;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  margin: 0;
}

.hero.ki-home-hero .hero-desc {
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
  margin: 0;
  font-weight: 400;
}

.hero.ki-home-hero .hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero.ki-home-hero .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius, 8px);
  transition: all 0.3s ease;
  cursor: pointer;
}

.hero.ki-home-hero .btn-primary {
  background: var(--brand, #e53935);
  color: #fff;
  border: 2px solid var(--brand, #e53935);
}

.hero.ki-home-hero .btn-primary:hover {
  background: var(--brand-dark, #c62828);
  border-color: var(--brand-dark, #c62828);
}

.hero.ki-home-hero .btn-ghost {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero.ki-home-hero .btn-ghost:hover {
  color: var(--brand, #e53935);
  border-color: var(--brand, #e53935);
  background: transparent;
}

.hero.ki-home-hero .btn-xl {
  padding: 16px 32px;
  font-size: 15px;
}

.hero.ki-home-hero .hero-scroll-indicator {
  position: absolute;
  bottom: 48px;
  right: 48px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  writing-mode: vertical-rl;
}

.hero.ki-home-hero .hero-scroll-line {
  width: 1px;
  height: 80px;
  background: linear-gradient(180deg, var(--brand, #e53935), rgba(255, 255, 255, 0.05));
  animation: ki-scrollPulse 2s ease-in-out infinite;
}

@keyframes ki-scrollPulse {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* Tablet */
@media (max-width: 1024px) {
  .hero.ki-home-hero {
    min-height: 600px;
  }
  .hero.ki-home-hero .hero-head {
    font-size: clamp(36px, 10vw, 64px);
  }
  .hero.ki-home-hero .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .hero.ki-home-hero .hero-actions .btn {
    width: 100%;
    max-width: 300px;
  }
  .hero.ki-home-hero .hero-scroll-indicator {
    bottom: 24px;
    right: 16px;
  }
  .hero.ki-home-hero .hero-scroll-line {
    height: 50px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .hero.ki-home-hero {
    min-height: 520px;
  }
  .hero.ki-home-hero .hero-head {
    font-size: clamp(32px, 9vw, 48px);
  }
  .hero.ki-home-hero .hero-scroll-indicator {
    display: none;
  }
}
