/* 全局字体设置 - 霞鹜文楷 */
body {
  font-family: "LXGW WenKai", "Open Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", "WenQuanYi Micro Hei", sans-serif !important;
}

/* h4 标题字体 - 包括打字机效果文字 */
h4, .styled-h4, .hero-banner h4 {
  font-family: "LXGW WenKai", "Open Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", "WenQuanYi Micro Hei", sans-serif !important;
}

/* 打字机效果文字字体 */
#chakhsu, .jz, .ys {
  font-family: "LXGW WenKai", "Open Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", "WenQuanYi Micro Hei", sans-serif !important;
}

/* 隐藏复制按钮 */
.copy-btn {
  display: none;
  position: absolute;
  right: -22px;  /* 将按钮放置在文本右侧 */
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
}

.copy-container {
  position: relative;
  display: inline-block;
}

.copy-container:hover .copy-btn {
  display: block; /* 悬停时显示复制按钮 */
}

/* Font Awesome 图标样式 */
.copy-btn i {
  font-size: 14px;
  color: #9B9B9B;
}

/* 防止链接文字被按钮覆盖 */
.copy-container .copy-text {
  display: inline-block;
}

/* 调整hero-banner位置，使按钮向下移动 */
.hero-banner {
  top: 50% !important;
}

/* 统一按钮样式 - 使中间两个按钮与右上角JOIN US按钮样式一致 */
.landing-button {
  /* 文字颜色 */
  color: #343434a6 !important;
  /* 背景白色 */
  background: #ffffff !important;
  /* 边框颜色 */
  border: 2px solid #9e9e9e !important;
  /* 圆角 */
  border-radius: 999rem !important;
  /* 内边距 - 放大按钮 */
  padding: 1rem 2rem !important;
  /* 字体大小 - 放大文字 */
  font-size: 1rem !important;
  /* 字母间距 */
  letter-spacing: 0.1em !important;
  /* 删除强制大写 */
  text-transform: none !important;
  /* 字体 - 使用霞鹜文楷 */
  font-family: "LXGW WenKai", "Open Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", "WenQuanYi Micro Hei", sans-serif !important;
  /* 字重 */
  font-weight: 600 !important;
  /* 过渡效果 */
  transition: all 0.2s cubic-bezier(0.445, 0.05, 0.55, 0.95) !important;
  transition-property: background, color, border-color !important;
  /* 显示方式 */
  display: inline-block !important;
  /* 右边距增加，拉开按钮间距 */
  margin-right: 30px !important;
}

/* 最后一个按钮不需要右边距 */
.landing-button:last-child {
  margin-right: 0 !important;
}

/* 悬停效果 */
.landing-button:hover {
  background: #666666 !important;
  color: #fafafa !important;
  border-color: #9e9e9e !important;
  text-decoration: none !important;
}

/* 按钮容器样式 */
.landing-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 60px;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
  .landing-buttons {
    flex-direction: column;
    gap: 20px;
    width: 100%;
    padding: 0 20px;
    margin-top: 45px;
  }
  
  .landing-button {
    width: auto;
    max-width: 280px;
    text-align: center;
    margin-right: 0 !important;
    padding: 1rem 1.5rem !important;
    font-size: 0.95rem !important;
  }
}

/* 小屏幕适配 */
@media screen and (max-width: 480px) {
  .landing-button {
    padding: 0.875rem 1.5rem !important;
    font-size: 0.875rem !important;
  }
  
  .landing-buttons {
    margin-top: 35px;
  }
}
