/* 自定义样式 - 调整打字机效果文字位置和样式 */

/* 使用微软雅黑字体 */

/* 调整首页打字机效果文字位置，向上移动 */
.banner .banner-text {
  position: relative !important;
  top: -30% !important; /* 向上移动30%，可以根据需要调整数值 */
  transform: none !important; /* 移除默认的居中变换 */
}

/* 调整打字机光标位置 */
.banner .banner-text .typed-cursor {
  position: relative !important;
  top: -30% !important;
}

/* 确保文字在移动后仍然可见 */
.banner {
  overflow: visible !important;
}

/* 调整文字大小和字体样式 */
.banner .banner-text .h2 {
  font-size: 36px !important; /* 字体大小改为36px，缩小字体 */
  font-family: 'Microsoft YaHei', '微软雅黑', sans-serif !important; /* 字体改为微软雅黑 */
  font-weight: 700 !important; /* 适中的粗细 */
  margin-bottom: 0.5em !important;
  line-height: 1.2 !important; /* 调整行高以适应大字体 */
  letter-spacing: 0.05em !important; /* 适中的字间距 */
}

/* 更精确的选择器，针对打字机文字 */
#subtitle {
  position: relative !important;
  top: -32% !important;
  font-size: 36px !important; /* 字体大小改为36px，缩小字体 */
  font-family: 'Microsoft YaHei', '微软雅黑', sans-serif !important; /* 字体改为微软雅黑 */
  font-weight: 700 !important; /* 适中的粗细 */
  letter-spacing: 0.05em !important; /* 适中的字间距 */
  color: #2FB7B3 !important; /* 改为指定的颜色 */
}

/* 调整打字机光标样式以匹配文字 */
.typed-cursor {
  font-size: 36px !important;
  font-family: 'Microsoft YaHei', '微软雅黑', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important; /* 适中的字间距 */
  color: #2FB7B3 !important; /* 光标颜色也改为指定颜色 */
}

/* 隐藏默认的游标 */
.typed-cursor {
  display: none !important;
}

/* 为自定义游标字符设置样式 */
#subtitle:after {
  content: '|';
  color: #2FB7B3 !important; /* 游标颜色改为指定颜色 */
  font-size: 36px !important; /* 游标大小与文字一致 */
  font-family: 'Microsoft YaHei', '微软雅黑', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
}

/* 导航栏样式调整 */
.navbar-nav .nav-link {
  font-weight: 300 !important; /* 细字体 */
  font-size: 12px !important; /* 调整字体大小 */
}

/* 隐藏导航栏图标 */
.navbar-nav .nav-link i {
  display: none !important;
}

/* 导航栏文字间距调整 */
.navbar-nav .nav-link span {
  margin-left: 0 !important; /* 移除左边距，因为不再有图标 */
}

/* 首页自定义内容样式 */
.custom-homepage-content {
  margin: 40px 0;
}

.custom-card {
  border: none;
  box-shadow: 0 4px 20px rgba(142, 216, 214, 0.3);
  margin-bottom: 2rem;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.custom-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(142, 216, 214, 0.4);
}

.custom-card-header {
  background: linear-gradient(135deg, #8ED8D6, #7BCCC9) !important;
  border-bottom: none;
  font-weight: bold;
  padding: 25px;
  color: white !important;
  position: relative;
  overflow: hidden;
}

.custom-card-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.custom-card:hover .custom-card-header::before {
  opacity: 1;
  transform: rotate(45deg) translate(50%, 50%);
}

.custom-card-body {
  padding: 25px;
  background: linear-gradient(180deg, #ffffff, #f8fffe);
}

.custom-btn-taobao {
  background: linear-gradient(135deg, #8ED8D6, #6BC4C1, #4AAFAC);
  border: none;
  padding: 18px 45px;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(142, 216, 214, 0.4);
  transition: all 0.3s ease;
  color: white;
  text-decoration: none;
  display: inline-block;
  font-weight: bold;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
}

.custom-btn-taobao::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: all 0.5s ease;
}

.custom-btn-taobao:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(142, 216, 214, 0.6);
  color: white;
  text-decoration: none;
}

.custom-btn-taobao:hover::before {
  left: 100%;
}

.video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  margin: 20px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.feature-list .icon {
  width: 20px;
  margin-right: 10px;
  color: #28a745;
} 