/* 主容器背景 */
/* 移动端原有样式开关 */
.signup-mb-img {
  display: none;
}
.sign-mb-title {
  display: none;
}
.signup-now-download {
  display: none;
}
.signup-now-footer-logo {
  display: none;
}

/* 默认：桌面/大屏使用新布局 */
.signup-layout-original {
  display: none;
}

.signup-layout-new {
  display: block;
}

@media (max-width: 575.98px) {
  html,
  body {
    height: 100%;
  }

  main {
    height: calc(100% - 5em);
  }

  .signup-now-content {
    position: relative;
    height: 100%;
  }

  .signup-now-logo {
    width: auto;
    display: flex;
    justify-content: center;
  }

  .signup-pc-img {
    display: none;
  }

  .signup-mb-img {
    display: block;
    width: 100px;
    margin-bottom: 50px;
  }

  .signup-now-title {
    display: none;
  }

  .sign-mb-title {
    display: block;
  }

  .sign-mb-app-title {
    font-size: 20px;
    font-weight: 400;
    color: #0F1112;
    line-height: 28px;
    text-align: center;
    margin-bottom: 0;
  }

  .signup-now-text {
    display: none;
  }

  .footer-img {
    display: none;
  }

  .signup-now-icon {
    margin-bottom: 4em;
  }

  .signup-now-icon a {
    text-decoration: none;
    width: 80%;
  }

  .signup-now-download {
    display: block;
    line-height: 44px;
    font-size: 16px;
    color: #fff;
    background-color: #000;
    border-radius: 22px;
    width: 100%;
    text-align: center;
    margin-bottom: 24px;
  }

  .signup-now-footer-logo {
    display: block;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
    text-align: center;
    width: 100%;
    padding: 20px 0;
    background: #fff;
  }

  .footer-logo-copy {
    color: #909499;
    font-size: 12px;
    line-height: 17px;
    margin-top: 10px;
    white-space: nowrap;
  }

  /* 小屏：使用原有布局，隐藏新版布局 */
  .signup-layout-original {
    display: block;
  }

  .signup-layout-new {
    display: none;
  }
}

/* 新版通用背景与布局 */
.signup-now-main {
  background-image: url('../../web-assets/signup-now/background.png');
  background-position: left bottom;
  background-repeat: no-repeat;
  background-size: 50%;
  min-height: 100vh;
  position: relative;
  background-attachment: scroll;
}

/* 设置内容区域背景为透明，避免覆盖主容器背景 */
.signup-now-content {
  background: transparent !important;
  background-color: transparent !important;
}

/* 下载平台按钮组 */
.download-platforms {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.download-platform-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 24px 20px;
  min-width: 180px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.download-platform-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 只对带有 qrcode 类的 item (App Store 和 Google Play) 应用特殊 hover 效果 */
.download-platform-item-qrcode:hover {
  background-color: #4E42C2;
}

.download-platform-item-qrcode:hover .platform-name {
  color: #fff;
}

.download-platform-item-qrcode:hover .platform-download {
  color: #fff;
}

.download-platform-item-qrcode:hover .platform-icon{
  filter: brightness(0) invert(1);
}


/* 白色卡片 - 使用 ::after 伪元素，只对带有 qrcode 类的 item */
.download-platform-item-qrcode::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 20px;
  width: 160px;
  height: 160px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background-size: 90%;
  background-position: center;
  background-repeat: no-repeat;
  background-origin: content-box;
  padding: 16px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 10;
}

/* Apple 二维码 */
.download-platform-apple::after {
  background-image: url('../../web-assets/signup-now/appleQRcode.png');
}

/* Google 二维码 */
.download-platform-google::after {
  background-image: url('../../web-assets/signup-now/googleQRcode.png');
}

/* 三角形 - 使用 ::before 伪元素，只对带有 qrcode 类的 item，位于卡片顶部指向按钮 */
.download-platform-item-qrcode::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 10px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #fff;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 11;
}

.download-platform-item-qrcode:hover::after {
  opacity: 1;
  visibility: visible;
}

.download-platform-item-qrcode:hover::before {
  opacity: 1;
  visibility: visible;
}

.platform-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  object-fit: contain;
}

.platform-name {
  font-size: 16px;
  font-weight: 400;
  color: #0F1112;
  margin: 0 0 16px 0;
  line-height: 1.5;
}

.platform-download {
  font-size: 16px;
  color: #4E42C2;
  text-decoration: none;
  transition: color 0.3s ease;
}

.platform-download:hover {
  color: #3a32a0;
  text-decoration: none;
}

.signup-now-text{
  margin: 50px 0px 150px
}

@media (max-width: 768px) {
  .download-platforms {
    gap: 12px;
    margin: 30px 0;
  }
  
  .download-platform-item {
    min-width: 110px;
    padding: 20px 16px;
  }
  
  .platform-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
  }
  
  .platform-name {
    font-size: 14px;
    margin-bottom: 12px;
  }
  
  .platform-download {
    font-size: 14px;
  }
}

/* 特性卡片 */
.signup-feature-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: linear-gradient(to top, #EEEDFF 0%, #ffffff 100%);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  padding: 0px 50px;
  margin: 100px auto 0 auto;
  max-width: 1200px;
  position: relative;
  overflow: visible;
}

.signup-feature-content {
  flex: 1;
  max-width: 600px;
  padding-right: 40px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.signup-feature-title {
  font-size: 32px;
  font-weight: 700;
  color: #0F1112;
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.signup-feature-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: #4E42C2;
  margin: 0 0 32px 0;
  line-height: 1.5;
}

.signup-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.signup-feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.6;
  color: #0F1112;
}

.signup-feature-item:last-child {
  margin-bottom: 0;
}

.feature-check-icon {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}

.signup-feature-disclaimer {
  font-size: 14px;
  color: #909499;
  margin: 0;
  line-height: 1.5;
}

.signup-feature-image {
  flex-shrink: 0;
  position: relative;
  align-self: flex-start;
}

.signup-phone-image {
  height: auto;
  max-height: 600px;
  width: 80%;
  display: block;
  margin-top: -10%;
  margin-bottom: 0px;
  margin-left: auto;
}

/* 英文页面且宽度大于1240px时的样式 */
@media (min-width: 1241px) {
  html[lang="en"] .signup-phone-image {
    margin: 0 auto;
  }
  
  html[lang="en"] .signup-feature-image {
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
  }
}

@media (max-width: 1240px) {
  .signup-feature-card {
    flex-direction: column;
    padding: 40px 30px 0 30px;
    margin: 60px 20px;
  }
  
  .signup-feature-content {
    max-width: 100%;
    width: 100%;
    padding-right: 0;
    margin-top: 0;
    margin-bottom: 40px;
    text-align: center;
  }
  
  .signup-feature-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 12px;
  }
  
  .signup-feature-subtitle {
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
  }
  
  .signup-feature-list {
    margin-bottom: 40px;
    display: inline-block;
    text-align: left;
  }
  
  .signup-feature-item {
    font-size: 18px;
    margin-bottom: 24px;
  }
  
  .feature-check-icon {
    width: 24px;
    height: 24px;
    margin-right: 16px;
  }
  
  .signup-feature-disclaimer {
    text-align: center;
  }
  
  .signup-feature-image {
    width: 100%;
    text-align: center;
    align-self: center;
  }
  
  .signup-phone-image {
    width: 100%;
    max-width: 600px;
    max-height: none;
    margin: 0 auto;
    margin-top: 0;
    margin-bottom: 0;
  }
}
