/* 全局样式重置与基础设置 */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft Yahei", sans-serif;
  color: #222;
  background-color: #f5f5f5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

button {
  border: none;
  cursor: pointer;
  background: none;
  font: inherit;
}

main {
  background-color: #f5f5f5;
  position: relative;
  z-index: 5;
}

/* 主题色 */
:root {
  --brand-orange: rgb(255, 77, 0);
  --bg-light: #f5f5f5;
  --text-main: #222222;
  --text-sub: #666666;
}

/* Hero 区域 */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  z-index: 1;
}

.hero-background {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}

.hero-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
  pointer-events: none;
}

.hero-top {
  position: fixed;
  z-index: 3;
  top: 24px;
  left: 40px;
  right: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-logo {
  height: 60px;
}

.hero-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hero-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background-color: var(--brand-orange);
  color: #fff;
  font-size: 14px;
  box-shadow: 0 8px 16px rgba(255, 77, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.hero-download-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(255, 77, 0, 0.5);
  opacity: 0.95;
}

.hero-download-icon {
  width: 22px;
  height: 22px;
}

.lang-switch {
  position: relative;
}

.lang-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.lang-button__icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='9' stroke='%23bfc2c7' stroke-width='1.7'/%3E%3Cpath d='M3 12h18M12 3a15 15 0 0 1 0 18M12 3a15 15 0 0 0 0 18M6 7.5h12M6 16.5h12' stroke='%23bfc2c7' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E");
}

.lang-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  opacity: 0.96;
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: rgba(255, 255, 255, 0.9);
  color: #222;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  padding: 6px;
  min-width: 148px;
  display: none;
  backdrop-filter: blur(8px);
}

.lang-menu.is-open {
  display: block;
}

.lang-option {
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  color: #222;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-option:hover {
  background: rgba(255, 77, 0, 0.08);
  color: var(--brand-orange);
}

.hero-center {
  position: fixed;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  pointer-events: none;
}

.hero-center * {
  pointer-events: auto;
}

.hero-main-logo {
  max-width: 520px;
  margin-bottom: 8px;
}

.hero-tagline {
  font-size: 32px;
  letter-spacing: 0.08em;
  line-height: 1.2;
  display: inline-block;
  animation: taglinePulse 3s ease-in-out infinite;
}

@keyframes taglinePulse {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
}

/* 下方圆角浅灰背景整体容器起始位置 */
.species-section {
  position: relative;
  margin-top: -40px;
  padding: 40px 0 56px;
  background-color: var(--bg-light);
  border-radius: 32px 32px 0 0;
  z-index: 6;
}

.species-section::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 0;
  right: 0;
  height: 40px;
  background-color: var(--bg-light);
  border-radius: 32px 32px 0 0;
  z-index: -1;
}

.species-tagline {
  margin: 16px auto 40px;
  text-align: center;
}

.species-tagline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 64px;
  border-radius: 999px;
  background-color: var(--brand-orange);
  color: #fff;
  font-size: 18px;
  box-shadow: 0 8px 16px rgba(255, 77, 0, 0.3);
}

.species-carousel-wrapper {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto 24px;
  padding: 0 110px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.species-arrow img {
  width: 34px;
  height: 34px;
}

.species-arrow--left img {
  transform: rotate(180deg);
}

.species-arrow {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  box-shadow: none;
}

.species-carousel {
  flex: 1;
  display: flex;
  gap: 28px;
  overflow-x: auto;
  padding: 12px 4px;
  scroll-behavior: smooth;
}

.species-carousel::-webkit-scrollbar {
  display: none;
}

.species-item {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.species-item img {
  width: 140px;
  height: auto;
  object-fit: contain;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.species-item:hover {
  transform: translateY(-6px);
}

.species-item:hover img {
  transform: scale(1.08);
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.18));
}

.species-slogan {
  margin-top: 32px;
  text-align: center;
  color: var(--text-main);
  font-size: 26px;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.play-button {
  margin: 28px auto 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.play-button img {
  width: 92px;
  height: 92px;
  filter: grayscale(1);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: var(--delay, 0s);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.monster-feature {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: float 6s ease-in-out infinite;
}

.monster-feature:nth-child(2) {
  animation-delay: 0.4s;
}

.monster-feature:nth-child(3) {
  animation-delay: 0.8s;
}

.monster-feature:nth-child(4) {
  animation-delay: 1.2s;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0);
  }
}

.play-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.14);
}

/* 四个小怪兽功能区 */
.monster-feature-section {
  padding: 40px 0 56px;
  background-color: var(--bg-light);
}

.monster-feature-list {
  max-width: 1220px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.monster-feature {
  text-align: center;
}

.monster-icon {
  width: 240px;
  height: auto;
}

.monster-feature--ai .monster-icon {
  width: 280px;
}

.monster-label {
  margin: 0;
  padding: 6px 18px;
  border-radius: 999px;
  background-color: #ffffff;
  display: inline-block;
  font-size: 14px;
  color: var(--text-main);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.monster-feature--gift {
  margin-top: 48px;
}

.monster-feature--gift .monster-label {
  margin-top: 0;
}

.monster-feature--offset-1 {
  transform: translateY(0);
}
.monster-feature--offset-2 {
  transform: translateY(42px);
}
.monster-feature--offset-3 {
  transform: translateY(4px);
}
.monster-feature--offset-4 {
  transform: translateY(48px);
}

.monster-feature--gift .monster-label {
  margin-top: 6px;
}

/* 图文内容区块 */
.info-section {
  background-color: var(--bg-light);
  padding: 32px 0 80px;
  overflow: hidden;
}

.info-block {
  width: min(1200px, 92vw);
  margin: 40px auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 0;
  align-items: stretch;
  border-radius: 24px;
  overflow: hidden;
  background-color: #ffffff;
}

.info-block--right-image {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.info-block-media {
  width: 100%;
  height: 100%;
}

.info-block-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-block-content {
  padding: 40px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.info-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 28px;
}

.info-title {
  font-size: 32px;
  margin-bottom: 14px;
  color: var(--text-main);
}

.info-text {
  font-size: 20px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* 下载区 */
.download-section {
  background-color: #f5f5f5;
  padding: 56px 0 64px;
  z-index: 6;
}

.download-content {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) auto minmax(0, 0.9fr);
  align-items: center;
  column-gap: 48px;
}

.download-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.download-title {
  font-size: 40px;
  margin-bottom: 6px;
  color: var(--text-main);
}

.download-subtitle {
  font-size: 20px;
  color: var(--text-sub);
  margin-bottom: 20px;
}

.download-cta {
  padding: 10px 26px;
  border-radius: 999px;
  background-color: var(--brand-orange);
  color: #ffffff;
  font-size: 14px;
  box-shadow: 0 8px 16px rgba(255, 77, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.download-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(255, 77, 0, 0.45);
  opacity: 0.96;
}

.download-phone img {
  max-height: 520px;
  margin: 0 auto;
}

.download-qrcode {
  display: flex;
  justify-content: center;
}

.download-qrcode img {
  width: 150px;
  height: auto;
}

/* 视频弹窗 */
.video-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.video-modal.is-active {
  display: flex;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.video-modal__content {
  position: relative;
  display: inline-block;
  width: auto;
  background: transparent;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.video-modal__content video {
  display: block;
  width: auto;
  max-width: min(60vw, 420px);
  max-height: 80vh;
  border-radius: 16px;
  background: #000;
}

.video-modal__close {
  position: absolute;
  top: -10px;
  right: -10px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  border: none;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

/* 页脚 */
.site-footer {
  background-color: #ffffff;
  border-top: 1px solid #e6e6e6;
  padding: 16px 0;
  font-size: 12px;
  color: #999999;
  position: relative;
  z-index: 6;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.footer-text-right {
  text-align: right;
  line-height: 1.8;
}

/* 响应式布局（基础） */
@media (max-width: 1024px) {
  .hero {
    min-height: 640px;
  }

  .species-carousel-wrapper {
    max-width: 100%;
    padding: 0 16px;
  }

  .monster-feature-list {
    gap: 32px;
  }

  .info-block {
    width: min(700px, 92vw);
    grid-template-columns: 1fr;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    margin: 32px auto;
  }

  .info-block--right-image {
    grid-template-columns: 1fr;
  }

  .info-block-media {
    height: 320px;
  }

  .download-content {
    grid-template-columns: 1fr;
    row-gap: 32px;
    text-align: center;
  }

  .download-text {
    text-align: center;
  }

  .download-qrcode img {
    margin: 0 auto;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero-top {
    left: 16px;
    right: 16px;
  }

  .hero-main-logo {
    max-width: 280px;
  }

  .species-section {
    margin-top: -32px;
    padding-top: 32px;
  }

  .monster-feature-list {
    flex-wrap: wrap;
    justify-content: center;
  }

  .monster-icon {
    width: 140px;
  }

  .info-block-content {
    padding: 24px 20px;
  }
}


