/* ==========================================
   home-hero.css - Hero 区域、背景模糊动画、标签胶囊、产品截图展示
   ========================================== */

/* 清除 hero 伪元素装饰 */
.hero::before,
.hero::after {
  display: none;
}

/* ========== Hero 背景色与布局 ========== */
.hero {
  background-color: #f8fafc;
}

/* Hero 内容整体在视口内垂直居中（移除产品截图后的简洁布局） */
.hero-centered {
  min-height: 100vh;
  padding-top: clamp(6rem, 14vh, 9rem);
  padding-bottom: clamp(4rem, 10vh, 7rem);
}

.hero-content {
  visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 身份带：标题 + 副标题贴在一起，和 CTA 用空隙分开 */
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 现代标题样式：同一蓝族，去掉发紫的 indigo，避免和按钮抢色相 */
.hero-title {
  background: linear-gradient(180deg, #1e4fd7 0%, #3b82f6 88%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  line-height: 1.15;
  font-size: clamp(2.75rem, 5vw, 4.25rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
  text-wrap: balance;
}

html[lang="zh-CN"] .hero-title,
html[lang="zh"] .hero-title,
html[lang="zh-TW"] .hero-title,
html[lang="zh-HK"] .hero-title,
html[lang="ja"] .hero-title,
html[lang="ko"] .hero-title {
  letter-spacing: 0.04em;
}

html[lang="vi"] .hero-title {
  line-height: 1.25;
}

html[lang="fr"] .hero-title,
html[lang="de"] .hero-title,
html[lang="es"] .hero-title {
  font-size: clamp(2.25rem, 4.2vw, 3.5rem);
}

/* 三拍副标题 */
.hero-subtitle {
  max-width: 36rem;
  margin: 0;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  font-weight: 400;
  color: #6b7c93;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

/* 身份带和下方操作带之间留停顿，避免五层等距三明治 */
.hero-cta {
  display: flex;
  justify-content: center;
  margin: 2.65rem 0 0;
}

.hero-install-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 3.15rem;
  padding: 0.65rem 1.7rem 0.65rem 0.65rem;
  border-radius: 9999px;
  background: var(--primary-blue-dark);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.16) inset,
    0 12px 36px rgba(37, 99, 235, 0.18);
  transition: background-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.hero-install-btn:visited {
  color: #fff;
}

.hero-install-btn:hover {
  background: #1d4ed8;
  color: #fff;
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.16) inset,
    0 16px 40px rgba(37, 99, 235, 0.22);
}

.hero-install-btn:active {
  transform: translateY(0);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 6px 16px rgba(37, 99, 235, 0.24);
}

.hero-install-btn:focus-visible {
  outline: 2px solid var(--primary-blue-dark);
  outline-offset: 3px;
}

.hero-install-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.hero-install-btn-icon img {
  display: block;
  width: 20px;
  height: 20px;
}

.hero-sep {
  display: inline-block;
  padding: 0 0.55em;
  font-weight: 400;
  color: #94a3b8;
  opacity: 0.7;
}

/* Hero 标签胶囊样式 */
.hero-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 400;
  color: #64748b;
  transition: all 0.3s ease;
}

.hero-tag-pill:hover {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(148, 163, 184, 0.25);
}

.hero-tag-pill i {
  font-size: 11px;
  color: #94a3b8;
}

/* 平台 + 打字机：同一条低权重信息带，不再做成第二排按钮 */
.hero-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.95rem;
  margin-top: 2.4rem;
}

.hero-platforms {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 0.85rem;
  margin: 0;
}

.hero-platforms-label {
  font-size: 13px;
  font-weight: 400;
  color: #94a3b8;
  letter-spacing: 0.01em;
}

.hero-platform {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
}

.hero-platform:hover {
  transform: none;
  box-shadow: none;
}

.hero-platform-divider {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #cbd5e1;
}

.hero-platform-name {
  color: #64748b;
}

.hero-platform-icon {
  font-size: 14px;
  line-height: 1;
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: -0.15em;
}

.hero-platform-icon .lt-icon,
.hero-platform-icon.lt-icon,
.hero-platform .lt-icon {
  width: 16px;
  height: 16px;
}

.hero-platform-icon--svg {
  width: 13px;
  height: 13px;
}

.hero-platform--youtube .hero-platform-icon {
  color: #e11d48;
  opacity: 0.85;
}

.hero-platform--netflix .hero-platform-icon {
  color: #dc2626;
  opacity: 0.85;
}

/* ========== 模糊动画背景 ========== */
.hero-blur-bg {
  z-index: 0;
}

.blur-blob {
  mix-blend-mode: normal;
}

.blur-blob-1 { background-color: rgba(147, 197, 253, 0.30); }
.blur-blob-2 { background-color: rgba(196, 181, 253, 0.25); }
.blur-blob-3 { background-color: rgba(191, 219, 254, 0.28); }
.blur-blob-4 { background-color: rgba(199, 210, 254, 0.20); }

/* ========== 打字机效果 ========== */
.hero-typewriter {
  display: block;
  text-align: center;
  max-width: min(48rem, 100%);
  min-height: 2.6em;
  height: auto;
  margin: 0 auto;
}

.typewriter-prefix {
  display: none;
}

.typewriter-text {
  display: inline;
  font-size: 13px;
  font-weight: 400;
  color: #94a3b8;
  line-height: 1.65;
  letter-spacing: 0.01em;
}

.typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: #94a3b8;
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: typewriter-blink 0.8s steps(1) infinite;
}

@keyframes typewriter-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  html[lang="fr"] .hero-title,
  html[lang="de"] .hero-title,
  html[lang="es"] .hero-title {
    font-size: 2.05rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-cta {
    margin-top: 2.1rem;
  }

  .hero-install-btn {
    font-size: 0.98rem;
    min-height: 3rem;
    padding: 0.62rem 1.4rem 0.62rem 0.62rem;
  }

  .hero-meta {
    margin-top: 1.9rem;
    gap: 0.8rem;
  }

  .hero-typewriter {
    max-width: 90vw;
  }

  .typewriter-text {
    font-size: 12.5px;
  }

  .hero-centered {
    padding-top: 16vh;
    padding-bottom: 12vh;
  }
}
