/* 全局样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", sans-serif;
}
body {
  color: #333;
  background-color: #f8f9fa;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #409eff;
  color: white;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  border: none;
  font-size: 14px;
}
.btn:hover {
  background-color: #66b1ff;
}
.btn-outline {
  background-color: transparent;
  border: 1px solid #409eff;
  color: #409eff;
}
.btn-outline:hover {
  background-color: #ecf5ff;
}

/* 导航栏样式 */
.header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 999;
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}
.logo {
  font-size: 22px;
  font-weight: bold;
  color: #409eff;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.logo i {
  margin-right: 8px;
}
.nav-menu {
  display: flex;
  gap: 30px;
}
#footer_yiyuelogo{
	width: 10rem;
	height: auto;
	object-fit: cover;
	margin-top: 0.4rem;
}
.footer_yiyuelogo{
	width: 6rem;
	height: auto;
	object-fit: cover;
}
.nav-item {
  font-size: 16px;
  font-weight: 500;
  position: relative;
  cursor: pointer;
  height: 70px;
  line-height: 70px;
  padding: 0 5px;
}
.nav-item.has-dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: 70px;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 4px;
  padding: 10px 0;
  display: none;
  z-index: 9999;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #409eff #f1f1f1;
}
.dropdown-item {
  padding: 6px 20px;
  font-size: 14px;
  transition: background-color 0.2s;
  cursor: pointer;
  white-space: nowrap;
}
.dropdown-item:hover {
  background-color: #ecf5ff;
  color: #409eff;
}
.nav-item.has-dropdown:hover .dropdown-menu {
  display: block;
}
.nav-item.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #409eff;
}
.nav-item:hover {
  color: #409eff;
}
.mobile-menu-btn {
  display: none;
  font-size: 20px;
  cursor: pointer;
}

/* 页面容器样式 */
.page {
  padding: 60px 0;
  min-height: calc(100vh - 70px - 60px);
  display: none;
}
.page.active {
  display: block;
  animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 首页样式 */
.home-banner {
  background: linear-gradient(135deg, #409eff 0%, #66b1ff 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
  border-radius: 8px;
  margin-bottom: 60px;
}
.home-banner h1 {
  font-size: 40px;
  margin-bottom: 20px;
}
.home-banner p {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* 核心修改：横向滚动卡片样式（移除CSS动画，适配JS拖动） */
.home-features {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-top: 40px;
  padding: 20px 0;
}
.features-scroll-container {
  width: 100%;
  overflow: hidden;
  cursor: grab; /* 拖动光标提示 */
}
.features-scroll-container:active {
  cursor: grabbing; /* 拖动中光标提示 */
}
.features-scroll-wrapper {
  display: flex;
  gap: 30px;
  position: relative;
  transition: transform 0.1s ease-out; /* 拖动惯性过渡 */
}
.feature-card {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s;
  cursor: pointer;
  min-width: 300px;
  flex-shrink: 0;
}
.feature-card:hover {
  transform: translateY(-5px);
}
.feature-card i {
  font-size: 36px;
  color: #409eff;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

/* 功能详情页样式 */
.func-detail-page {
  padding: 60px 0;
  min-height: calc(100vh - 70px - 60px);
  display: none;
}
.func-detail-page.active {
  display: block;
  animation: fadeIn 0.5s ease;
}
.func-detail-header {
  text-align: center;
  margin-bottom: 40px;
}
.func-detail-header h2 {
  font-size: 32px;
  color: #2c3e50;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.func-detail-header h2 i {
  color: #409eff;
  margin-right: 15px;
  font-size: 36px;
}
.func-detail-header p {
  color: #666;
  font-size: 16px;
  max-width: 800px;
  margin: 0 auto;
}
.func-detail-content {
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 768px) {
  .func-detail-content {
    grid-template-columns: 1fr;
  }
  .func-detail-header h2 {
    font-size: 26px;
  }
}
.func-detail-text h3 {
  font-size: 22px;
  margin-bottom: 20px;
  color: #409eff;
}
.func-detail-text ul {
  margin-left: 20px;
  list-style: disc;
  color: #666;
}
.func-detail-text li {
  margin-bottom: 10px;
}
.func-detail-img img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.back-btn {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 14px;
  cursor: pointer;
}

/* 功能介绍页样式 */
.func-title {
  text-align: center;
  margin-bottom: 40px;
}
.func-title h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #2c3e50;
}
.func-title p {
  color: #666;
  font-size: 16px;
}
.func-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}
.func-item {
  background: white;
  padding: 25px;
  border-radius: 8px;
  border-left: 4px solid #409eff;
  transition: background-color 0.2s;
  cursor: pointer;
}
.func-item:hover {
  background-color: #f5f9ff;
}
.func-item h4 {
  font-size: 18px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}
.func-item h4 i {
  margin-right: 10px;
  color: #409eff;
}
.func-item p {
  color: #666;
  font-size: 14px;
}

/* 关于我们页样式 */
.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}
.about-text {
  flex: 1;
  min-width: 300px;
}
.about-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #2c3e50;
}
.about-text p {
  margin-bottom: 15px;
  color: #666;
}
.about-img {
  flex: 1;
  min-width: 300px;
}
.about-img img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.about-team {
  margin-top: 60px;
  text-align: center;
}
.about-team h3 {
  font-size: 24px;
  margin-bottom: 30px;
}
.team-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}
.team-item {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.team-item img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 10px;
}

/* 联系我们页样式 */
.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.contact-info {
  flex: 1;
  min-width: 300px;
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}
.contact-info h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #2c3e50;
}
.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
.contact-item i {
  font-size: 20px;
  color: #409eff;
  margin-right: 15px;
  width: 24px;
  text-align: center;
}
.contact-form {
  flex: 1;
  min-width: 300px;
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}
.contact-form h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #2c3e50;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}
.form-group textarea {
  height: 150px;
  resize: vertical;
}

/* 页脚样式 */
.footer {
  background-color: #0f63ff;
  color: white;
  padding: 40px 0;
  text-align: center;
  margin-top: 60px;
}
.footer p {
  margin-top: 10px;
  font-size: 14px;
  opacity: 0.8;
}
.footer_logoDiv{
	display: flex;
	justify-content: center;
	align-items: center;
}

/* 响应式适配 */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    transform: translateX(-100%);
    transition: transform 0.3s;
    height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .nav-menu.show {
    transform: translateX(0);
  }
  .nav-item.has-dropdown .dropdown-menu {
    position: static;
    box-shadow: none;
    padding: 0 0 0 20px;
    margin-top: 5px;
  }
  .mobile-menu-btn {
    display: block;
  }
  .home-banner h1 {
    font-size: 30px;
  }
  .func-title h2, .about-text h2 {
    font-size: 26px;
  }
  /* 移动端卡片适配 */
  .feature-card {
    min-width: 250px;
    padding: 20px;
  }
}