/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Microsoft YaHei', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow: hidden; /* 禁用默认滚动 */
  background: url('https://vonf.oss-cn-beijing.aliyuncs.com/web/67496224.png') center center/cover no-repeat
    fixed;
}

html {
  font-size: 16px; /* 1rem = 16px */
  scroll-behavior: smooth;
  overflow: hidden;
}

/* 分块滚动容器 */
.fullpage-container {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
}

.section {
  height: 100vh;
  width: 100vw;
  max-width: 1920px;
  margin: 0 auto;
  position: absolute;
  /* top: 0;
  left: 0; */
  /* transform: translateY(100%); 默认隐藏 */
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section1-content {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* 右侧星形导航 */
.star-navigation {
  position: fixed;
  right: 1.875rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.star-nav-item {
  width: 0.75rem;
  height: 0.75rem;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s ease;
}

.star-nav-item:hover {
  transform: scale(1.2);
}

.star-nav-item img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.3s ease;
}

.star-nav-item .star-active {
  opacity: 1;
}

.star-nav-item .star-default {
  opacity: 0;
}

.star-nav-item.active .star-active {
  opacity: 0;
}

.star-nav-item.active .star-default {
  opacity: 1;
}

.nav-container {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0px 20px;
  width: 1200px;
  height: 100px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 40px;
  object-fit: contain;
}

.logo-text {
  font-size: 24px;
  font-weight: bold;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pc-link-box {
  display: flex;
  align-items: center;
}

.pc-link-box a {
  margin-left: 20px; /* 根据需要调整间距 */
  display: inline-block;
  position: relative; /* 为 ::after 伪元素定位 */
}

.pc-link-box a img {
  height: 20px; /* 根据需要调整图标大小 */
  display: block;
  position: relative; /* 确保 img 在 ::after 之上 */
  z-index: 10; /* 高于 ::after 的 z-index */
}

.pc-link-box a::after {
  content: '';
  z-index: 9; /* 低于 img 的 z-index */
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -5px; /* 调整位置，使其在图片下方 */
  width: 100%;
  max-width: 50px; /* 根据矩形图片实际宽度调整 */
  height: 16px; /* 根据矩形图片实际高度调整 */
  background-image: url('https://vonf.oss-cn-beijing.aliyuncs.com/web/67496777.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pc-link-box a:hover::after,
.pc-link-box a.pc-link-active::after {
  opacity: 1;
}

/* .nav-menu a:hover::after {
  width: 100%;
} */

/* 主页面样式 */
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  animation: fadeInUp 1s ease-out;
}

/* 装饰元素 - 现在位于 .main-image 内部 */
.decorative-elements {
  position: relative;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-element {
  position: absolute; /* 相对于 .decorative-elements (即 .main-image) 定位 */
  /* 动画将分别在具体元素上定义 */
}

/* 为不同元素设置初始旋转角度变量 */
.star-left-top {
  --initial-rotate: -15deg;
}
.chat-left-bottom {
  --initial-rotate: 5deg;
}
.emoji-right-top {
  --initial-rotate: 15deg;
}
.hand-right-bottom {
  --initial-rotate: 15deg;
}

/* 左上角星星飞机 (home_star.png) - 定位在主图内部左上区域 */
.star-left-top {
  top: 20%;
  left: 28%;
  transform: translateX(-100%) rotate(-15deg); /* 初始移出左侧 */
  opacity: 0;
  z-index: 2; /* 确保在某些元素之上 */
  animation: slideInFromLeft 1s ease-out 0.5s forwards,
    float 6s ease-in-out infinite 1.5s; /* 进入动画后接浮动动画 */
}
.star-left-top img {
  width: 76%;
}

/* 左下角聊天气泡 (home_chat.png) - 定位在主图内部左下区域 */
.chat-left-bottom {
  bottom: 32%; /* 根据设计图调整 */
  left: 30%; /* 根据设计图调整 */
  transform: translateX(-100%) rotate(5deg); /* 初始移出左侧 */
  opacity: 0;
  z-index: 2;
  animation: slideInFromLeft 1s ease-out 0.8s forwards,
    float 6s ease-in-out infinite 1.8s;
}
.chat-left-bottom img {
  width: 76%;
}

/* 右上角表情 (home_emogi.png) - 定位在主图内部右上区域 */
.emoji-right-top {
  top: 27%; /* 根据设计图调整 */
  right: 24%; /* 根据设计图调整，可能部分在主图外部 */
  transform: translateX(100%) rotate(15deg); /* 初始移出右侧 */
  opacity: 0;
  z-index: 3;
  animation: slideInFromRight 1s ease-out 0.5s forwards,
    float 6s ease-in-out infinite 1.5s;
}
.emoji-right-top img {
  width: 76%;
}

.hand-right-bottom {
  top: 22%; /* 根据设计图调整 */
  right: 18%; /* 根据设计图调整，可能部分在主图外部 */
  transform: translateX(100%) rotate(15deg); /* 初始移出右侧 */
  opacity: 0;
  z-index: 2;
  animation: slideInFromRight 1s ease-out 0.8s forwards,
    float 6s ease-in-out infinite 1.8s;
}

.hand-right-bottom img {
  width: 76%;
}

/* 椭圆形 (椭圆形.png) - 作为背景光晕效果 */
.ellipse-decoration {
  top: 20%;
  left: 33%;
  z-index: 0; /* 在所有其他装饰元素和主图之下 */
}
.ellipse-decoration img {
  width: 76%;
}

/* 星形 (星形.png) - 多个小的星形装饰
.star-decoration {
  opacity: 0.5;
  width: 5vw;
  max-width: 30px;
  z-index: 1;
} */

.star-decoration.star-1 {
  top: 60%;
  left: 18%;
  transform: scale(0.9);
  opacity: 0.6;
}

/* 另一个星形示例 */
.star-decoration.star-2 {
  top: 65%;
  right: 15%;
  transform: rotate(10deg) scale(0.9);
  opacity: 0.7;
}

.star-decoration.star-3 {
  top: 20%;
  right: 12%;
  transform: rotate(30deg);
  opacity: 1;
}

.floating-emoji img,
.floating-chat img,
.floating-shape img {
  width: 100%; /* 使图片填充其容器.floating-element */
  height: auto;
}

/* 移除原先对 .floating-emoji, .floating-chat, .floating-shape 的直接宽度设置，改为在父元素上设置 */
/* .floating-emoji {
  width: 80px; 
}

.floating-chat {
  width: 120px; 
}

.floating-shape {
  width: 100px; 
} */

/* 下载按钮区域 */
.download-section {
  position: absolute; /* 相对于 .main-image 定位 */
  /* 目标是覆盖在编组.png (base-image) 的下半部分上方 */
  /* bottom 和 transform 的值需要仔细调试以达到最佳效果 */
  bottom: 18%; /* 示例：距离 .main-image 底部18% （根据视觉调整）*/
  left: 50%;
  transform: translateX(-50%);
  width: 80%; /* 下载区域宽度是主图的80% */
  z-index: 3; /* 确保在图片之上 */
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeInUp 1s ease-out 1.1s both;
}

.download-buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

.download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  width: 216px;
  height: 61px;
  border: none;
  background: linear-gradient(114deg, #aaa0ff 0%, #a39fff 40%, #949eff 100%);
  border-radius: 62px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: #333;
  box-shadow: 0 0.375rem 1.25rem rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
  position: relative; /* 为气泡定位 */
}

/* 气泡容器 */
.download-bubble {
  position: absolute;
  bottom: 100%; /* 位于按钮上方 */
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 10;
}

/* 气泡背景 */
.bubble-bg {
  width: 180px;
  height: 180px;
  position: relative;
  display: block;
}

/* 二维码 */
.qr-code-inside {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  object-fit: contain;
  /* 添加以下属性确保完美居中 */
  margin: 0;
  padding: 0;
  display: block;
}

/* hover时显示气泡 */
.download-btn:hover .download-bubble {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.btn-text {
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  color: #ffffff;
  line-height: 28px;
}

.android-btn {
  box-shadow: 0 4px 15px rgba(168, 230, 207, 0.4);
}

.android-btn:hover {
  box-shadow: 0 6px 20px rgba(168, 230, 207, 0.6);
}

.ios-btn {
  box-shadow: 0 4px 15px rgba(255, 211, 165, 0.4);
}

.ios-btn:hover {
  box-shadow: 0 6px 20px rgba(255, 211, 165, 0.6);
}

.pc-btn {
  box-shadow: 0 4px 15px rgba(168, 202, 186, 0.4);
}

.pc-btn:hover {
  box-shadow: 0 6px 20px rgba(168, 202, 186, 0.6);
}

/* 二维码区域 */
.qr-code-section {
  position: fixed;
  bottom: 40px;
  right: 40px;
}

.qr-code {
  text-align: center;
  transition: transform 0.3s ease;
}

.qr-code:hover {
  transform: translateY(-5px) scale(1.05);
}

.qr-image {
  width: 100px;
  height: 100px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: white;
  padding: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.qr-image {
  width: 100%;
  height: 100%;
}

.qr-text {
  font-size: 12px;
  color: #666;
  text-align: center;
  margin-top: 5px;
}

/* 关于页面样式 */
.about-section {
  /* background: linear-gradient(135deg, #e8d5ff 0%, #d4e6ff 50%, #ffd3e8 100%); */
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.about-main-content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  height: 100vh;
  margin-top: 150px;
}

.about-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 60px;
}

.about-main-title {
  font-size: 48px;
  font-weight: bold;
  color: #333;
  margin-bottom: 40px;
  line-height: 1.2;
}

.about-features {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.feature-icon {
  color: #8b5cf6;
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.feature-text {
  font-size: 18px;
  line-height: 1.6;
  color: #ffffff;
}

.about-us {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: baseline;
  gap: 20px;
}

.us-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.us-icon-img {
  width: 120px;
}

.us-text {
  font-size: 18px;
  line-height: 1.6;
  color: #555;
}

.about-image-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-main-image {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 装饰元素样式 */
.about-decoration-1 {
  position: absolute;
  top: 15%;
  left: 10%;
  z-index: 1;
}

.about-decoration-1 img {
  width: 80px;
  height: auto;
  opacity: 0.8;
}

.about-decoration-2 {
  position: absolute;
  bottom: 20%;
  right: 15%;
  z-index: 1;
}

.about-decoration-2 img {
  width: 100px;
  height: auto;
  opacity: 0.7;
}

/* 联系我们页面样式 */
.contact-us-container {
  width: 100%;
  padding: 0 3.75rem;
  text-align: left;
  position: relative;
}

.contact-section-block {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-title {
  font-size: 1.75rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 1.25rem;
  text-align: center;
  position: relative;
}

.contact-title-image {
  text-align: center;
  margin-bottom: 25px;
}

.contact-title-image .title-image {
  max-width: 200px;
  height: auto;
}

.contact-content-box {
  width: 425px;
  height: 167px;
  background-color: rgba(255, 255, 255, 0.52);
  border-radius: 0.75rem;
  padding: 1.25rem;
  box-shadow: 0 0.5rem 1.5625rem rgba(0, 0, 0, 0.08);
  margin-bottom: 0.9375rem;
}

.contact-subtitle-with-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
}

.subtitle-icon {
  /* width: 16px;
  height: 16px; */
}

.contact-subtitle {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin: 0;
}

.business-cooperation {
  padding: 100px 0 0 0;
  text-align: center;
}

.contact-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.contact-label {
  font-size: 16px;
  color: #666;
  font-weight: 500;
}

.contact-value {
  font-size: 16px;
  color: #333;
  font-weight: 600;
}

.customer-feedback {
  display: flex;
  gap: 60px;
  justify-content: space-between;
}

.contact-column {
  flex: 1;
}

.contact-instruction {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  text-align: left;
  margin: 0;
}

/* 星形装饰样式 */
.contact-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* 动画关键帧 */
/* 动画关键帧已移动到 animation.css 文件中 */

/* 主内容区域 */
.hero-content {
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  height: 100vh;
}

/* 中心内容容器 */
.center-content {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 3;
}

/* 主图片容器 */
.main-image {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2; /* 比背景高，比一些前景装饰元素低 */
}

/* 底图样式 */
.base-image {
  top: 11.6%;
  left: 34.8%;
  width: 30%;
  position: absolute;
  filter: drop-shadow(0 1.25rem 2.5rem rgba(0, 0, 0, 0.1));
  animation: phoneFloat 3s ease-in-out infinite;
  z-index: 1;
}

.overlay-image {
  z-index: 3;
  top: 27.6%;
  left: 37.8%;
  width: 25%;
  position: absolute;
  animation: pulse 0.3s ease-in-out 2; /* 动画时长0.3秒，重复2次 */
}

.main-text {
  margin-bottom: 50px;
}

.title {
  font-size: 4rem;
  font-weight: bold;
  color: #2d3748;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  animation: slideInLeft 1s ease-out 0.3s both;
}

.subtitle {
  font-size: 2.5rem;
  color: #4a5568;
  font-weight: 300;
  animation: slideInRight 1s ease-out 0.6s both;
}

/* 下载区域 */
.download-section {
  position: absolute; /* 相对于 .main-image 定位 */
  bottom: 15%; /* 示例：距离 .main-image 底部 15% 的位置 */
  left: 50%;
  transform: translateX(-50%);
  z-index: 3; /* 确保在图片上方 */
  display: flex;
  flex-direction: column; /* 如果二维码和按钮是垂直排列的 */
  align-items: center;
  width: 80%; /* 示例：下载按钮区域宽度为主图的80% */
  gap: 50px;
  flex-wrap: wrap;
  animation: fadeIn 1s ease-out 1.2s both;
}

.download-buttons {
  display: flex;
  justify-content: center; /* 使按钮水平居中 */
  gap: 2rem;
  flex-wrap: wrap; /* 允许按钮换行 */
  width: 100%;
}

.qr-code {
  text-align: center;
}

.qr-image {
  width: 120px;
  height: 120px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.qr-text {
  margin-top: 10px;
  color: #666;
  font-size: 14px;
}

/* 默认隐藏手机端二维码容器 */
.mobile-qr-container {
  display: none;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
  /* 全局样式调整 */
  body {
    font-size: 14px;
  }

  html {
    font-size: 14px;
  }

  /* 导航栏调整 */
  .nav-container {
    width: 100%;
    padding: 15px 20px;
    height: auto;
    position: fixed;
    top: 0;
    left: 0;
    transform: none;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
  }

  .logo-img {
    height: 30px;
  }

  .pc-link-box {
    display: none;
  }

  /* 星形导航调整 */
  .star-navigation {
    right: 10px;
    gap: 0.8rem;
  }

  .star-nav-item {
    width: 0.6rem;
    height: 0.6rem;
  }

  /* 主页面内容调整 */
  .center-content {
    width: 90%;
    margin: 0 auto;
    padding-top: 80px;
  }

  .main-image {
    width: 100%;
    margin: 0 auto;
  }

  .main-image img {
    width: 100%;
    height: auto;
  }
  .base-image {
    top: 11.6%;
    left: 6.8%;
    width: 30%;
    position: absolute;
  }
  .overlay-image {
    top: 27.6%;
    left: 1.8%;
  }
  /* 装饰元素调整 */
  .decorative-elements .floating-element:nth-child(n + 4) {
    display: none;
  }

  .floating-element img {
    max-width: 60%;
  }

  .star-left-top {
    top: 10%;
    left: 5%;
    transform: translateX(-100%) rotate(-15deg);
    opacity: 0;
    animation: slideInFromLeft 1s ease-out 0.5s forwards,
      float 6s ease-in-out infinite 1.5s;
  }

  .chat-left-bottom {
    bottom: 30%;
    left: 5%;
  }

  .emoji-right-top {
    top: 15%;
    right: 5%;
    transform: translateX(100%) rotate(15deg);
    opacity: 0;
    animation: slideInFromRight 1s ease-out 0.5s forwards,
      float 6s ease-in-out infinite 1.5s;
  }

  .hand-right-bottom {
    bottom: 25%;
    right: 5%;
  }

  /* 下载按钮区域调整 */
  .download-section {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: 100%;
    margin-top: 30px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* 手机端二维码样式 */
  .mobile-qr-container {
    display: block;
    margin-top: -180px;
    position: relative;
    z-index: 100;
  }
  
  .mobile-qr-container .qr-code-inside {
    position: static;
    transform: none;
    width: 120px;
    height: 120px;
    display: block;
    margin: 0 auto;
  }

  .download-buttons {
    flex-direction: column;
    gap: 15px;
    align-items: center;
    display: none;
  }

  .download-btn {
    width: 100%;
    max-width: 195px;
    padding: 15px 20px;
    font-size: 14px;
    display: none;
  }

  .btn-text {
    font-size: 14px;
  }

  .download-bubble {
    width: 150px;
    height: 150px;
  }

  .qr-code-inside {
    width: 80px;
    height: 80px;
  }

  /* 右下角二维码移动端调整 */
  .qr-code-section {
    display: none;
    bottom: 20px;
    right: 20px;
  }

  .qr-code {
    display: none;
    width: 80px;
    height: 80px;
    padding: 8px;
  }

  .qr-text {
    display: none;
    font-size: 10px;
  }
}
