/* 基础样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background-color: #000;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

/* 布局容器 */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tab-content {
  flex: 1;
  display: none;
  flex-direction: column;
}

.tab-content.active {
  display: flex;
}

/* 顶部导航 */
.header {
  width: 100%;
  padding: 0.2rem 1.4rem 0.2rem 0.8rem;
  background: #fff;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 0.56rem;
}

.logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 0.5rem;
}

.nav-link {
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: Alibaba PuHuiTi 2.0, Alibaba PuHuiTi 20;
  font-size: 0.25rem;
  line-height: 0.24rem;
}

.nav-link:hover,
.nav-link.active {
  color: #ff6b00;
  padding-bottom: 0.03rem;
  border-bottom: 0.02rem solid #ff6b00;
}

/* Home 区域 */
.home-section {
  position: relative;
  width: 100%;
  min-height: 11.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
}

.home-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.home-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-content {
  width: 11.92rem;
}

.home-text {
  width: 100%;
  height: auto;
}

.google-play {
  margin-top: 1.3rem;
  width: 2.8rem;
  cursor: pointer;
}

.google-play img {
  width: 100%;
  height: auto;
  transition: transform 0.3s;
}

.google-play:hover img {
  transform: scale(1.05);
}

.home-video-container {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  z-index: 2;
  width: 3.82rem;
  min-height: 7.5rem;
}

.video-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.4rem;
  z-index: 1;
}

.home-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.4rem;
  position: relative;
  z-index: 2;
}

.floating-icon {
  position: absolute;
  z-index: 3;
}

.love-icon {
  bottom: 1rem;
  right: -1rem;
  width: 2.89rem;
  height: auto;
  animation: floating 3s ease-in-out infinite;
}

.music-icon {
  bottom: 2rem;
  left: -1.5rem;
  width: 2.71rem;
  height: auto;
  animation: floating 3s ease-in-out infinite 1.5s;
}

@keyframes floating {
  0% { transform: translate(0, 0); }
  50% { transform: translate(0.1rem, -0.1rem); }
  100% { transform: translate(0, 0); }
}

/* Features 区域 */
.features-section {
  position: relative;
  width: 100%;
  padding: 0.8rem 1rem 2rem;
  overflow: hidden;
  background: #fff;
  margin-top: -0.5rem;
  border-radius: 0.56rem 0.56rem 0 0;
}

.section-title {
  font-family: Alibaba PuHuiTi 2.0, Alibaba PuHuiTi 20;
  font-size: 0.22rem;
  color: #fff;
  line-height: 0.24rem;
  margin-bottom: 0.8rem;
  z-index: 3;
  position: relative;
}

.features-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.features-text {
  position: relative;
  width: 11.51rem;
  margin-bottom: 0.6rem;
}

.features-text .text-image {
  width: 100%;
  height: auto;
}

.star-light {
  position: absolute;
  top: 0;
  left: -0.5rem;
  width: 2rem;
  height: auto;
}

.features-content .people-image {
  width: 100%;
  height: auto;
}

/* Team 区域 */
.team-section {
  position: relative;
  width: 100%;
  padding: 0.8rem 1rem 2rem;
  overflow: hidden;
  background: url('images/home3_bg.png') no-repeat center center;
  background-size: cover;
}

.team-section .section-title {
  color: rgba(255,255,255,0.48);
}

.team-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.team-content .text-wrapper {
  position: relative;
  width: 11.51rem;
}

.team-content .text-image {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
}

.team-light {
  position: absolute;
  top: -0.5rem;
  right: -1.2rem;
  width: 2.24rem;
  height: auto;
  z-index: 1;
}

.team-content .people-image {
  width: 100%;
  height: auto;
}

/* About 区域 */
.about1-section,
.about2-section,
.about3-section,
.about4-section {
  position: relative;
  width: 100%;
  padding: 1.2rem 1rem 0;
  overflow: hidden;
}

.about1-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.about1-header .text-image {
  width: 10rem;
}

.about1-header .section-title {
  padding-top: 0.2rem;
}

.about1-images {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.about1-images .people-image {
  width: 9.25rem;
  height: auto;
}

.about1-images .people-image2 {
  width: 6.5rem;
  height: 100%;
  z-index: 3;
}

.about2-content {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.about2-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
  z-index: 3;
}

.about2-left .text-image {
  margin-bottom: 0.5rem;
}

.about2-content .text-image {
  width: 80%;
  height: 100%;
}

.about2-content .people-image {
  width: 80%;
  height: 100%;
}

.about2-content .people-image2 {
  width: 45%;
  height: 100%;
}

.about3-content {
  text-align: center;
  z-index: 3;
  position: relative;
}

.about3_text {
  width: 6.29rem;
  margin-bottom: 1.1rem;
}

.about3_people {
  width: 100%;
  height: 100%;
  z-index: 3;
}

.about4-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.about4-content .text-image {
  width: 80%;
  height: auto;
}

.about4-people-container {
  display: flex;
  justify-content: space-between;
}

.about4-people-container .people-image {
  width: 50%;
  height: 100%;
}

.about4-people-container .people-image2 {
  width: 39%;
  padding-top: 3rem;
}

.about4-people3-container {
  text-align: center;
}

.about4-people3-container .people-image3 {
  width: 5rem;
  margin: 0.6rem 0 1rem;
}

/* Light 装饰元素 */
.about1-light,
.about2-light,
.about3-light,
.about4-light {
  position: absolute;
  z-index: 1;
}

.about1-light {
  top: 0;
  right: 0;
  width: 5rem;
}

.about2-light {
  top: 0;
  left: 0;
  width: 50%;
}

.about3-light {
  top: 1rem;
  right: 1rem;
  width: 30%;
}

.about4-light {
  top: 1rem;
  left: 1rem;
  width: 30%;
}

/* Contact 区域 */
.contact-section {
  flex: 1;
  position: relative;
  width: 100%;
  padding: 0.8rem 1rem 1rem;
  overflow: hidden;
  background: linear-gradient(180deg, #000000 0%, #FF6B00 100%);
}

.contact-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin: 0 2rem;
}

.contact-text {
  width: 7rem;
}

.contact-text .text-image {
  width: 100%;
  height: auto;
}

.contact-form {
  flex: 1;
  padding-top: 1.5rem;
  padding-left: 0.5rem;
  max-width: 7rem;
}

.form-row {
  display: flex;
  gap: 0.2rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.16rem;
  border: none;
  border-radius: 0.1rem;
  background: rgba(255,255,255,0.1);
  color: #fff;
  outline: none;
  font-size: 0.16rem;
  margin-bottom: 0.5rem;
}

.contact-form textarea {
  height: 1.6rem;
  resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.6);
}

.send-btn {
  border: none;
  color: #000;
  font-size: 0.16rem;
  padding: 0.16rem 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s;
  background: #FFFFFF;
  border-radius: 0.4rem;
  float: right;
}

.send-btn:hover {
  background: #ff8533;
}

/* 底部区域 */
.footer {
  background: #FF6B00;
  padding: 0.2rem 1rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-size: 0.16rem;
}

.footer .privacy-link,
.footer .terms-link {
  text-decoration: none;
  padding-bottom: 1px;
  border-bottom: 1px solid #fff;
}

.contact-links {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
}

.contact-links a {
  text-decoration: none;
}

.privacy-link,
.terms-link {
  font-weight: 500;
  font-size: 0.18rem;
  color: #FFFFFF;
  transition: color 0.3s ease;
}

.terms-link {
  margin-left: 0.35rem;
}

.privacy-link:hover,
.terms-link:hover {
  text-decoration: underline;
}

/* 弹框 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal {
  background: #fff;
  padding: 0.4rem;
  border-radius: 0.2rem;
  text-align: center;
  max-width: 4rem;
  width: 90%;
  position: relative;
}

.modal-icon {
  width: 0.8rem;
  height: 0.8rem;
  margin-bottom: 0.2rem;
}

.modal-title {
  font-size: 0.24rem;
  color: #333;
  margin-bottom: 0.2rem;
}

.modal-message {
  font-size: 0.16rem;
  color: #666;
  margin-bottom: 0.3rem;
}

.modal-btn {
  background: #FF6B00;
  color: #fff;
  border: none;
  padding: 0.12rem 0.3rem;
  border-radius: 0.4rem;
  font-size: 0.16rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.modal-btn:hover {
  background: #ff8533;
}

/* 表单验证 */
.contact-form input.error,
.contact-form textarea.error {
  border: 1px solid #ff0000;
}

.error-message {
  color: #ff0000;
  font-size: 0.14rem;
  margin-top: -0.4rem;
  margin-bottom: 0.2rem;
  display: none;
}

.error-message.show {
  display: block;
}

/* 响应式布局 */
@media (max-width: 1920px) {
  html {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .about1-header,
  .about1-images,
  .about2-content,
  .contact-content,
  .footer-content {
    flex-direction: column;
    align-items: center;
  }

  .form-row {
    flex-direction: column;
  }

  .contact-content {
    margin: 0;
  }
}

@media (max-width: 480px) {
  .about1-section,
  .about2-section,
  .about3-section,
  .about4-section {
    padding: 0.1rem 0.12rem;
  }
}
