* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.app {
  background-image: url('../img/index/point-bg.png'),
    linear-gradient(119.87deg, #f2f9ff 1.9%, #fefefe 37.72%, #f5f5f5 97.65%);
  background-repeat: no-repeat, no-repeat;
  background-position: right top, center;
  background-size: 50% 100%, 100% 100%;
}

.header {
  height: 60px;
  padding: 0 32px;
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .menu {
  height: 60px;
}

.header .menu .menu-item {
  height: 60px;
  line-height: 60px;
  padding: 0 20px;
  color: #777777;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.header .menu .menu-item:last-child {
  margin-right: 0;
}

.header .menu .menu-item:hover,
.header .menu .menu-item.active {
  color: rgba(234, 85, 20, 1);
}

.header .menu .menu-item:active,
.header .menu .menu-item:focus {
  color: rgba(234, 85, 20, 1);
}

.header .search-box {
  width: 280px;
  height: 40px;
  border: 1px solid rgba(234, 93, 20, 0.11);
  border-radius: 40px;
  padding: 0 10px;
  padding-right: 4px;
}

.header .search-box .search-input {
  border: none;
  outline: none;
  height: 32px;
  flex: 1;
  margin-right: 4px;
  font-size: 14px;
  color: #333333;
}

.header .search-box .search-input:focus {
  outline: none;
}

.header .search-box .search-btn {
  background-color: rgba(234, 85, 20, 1);
  border-radius: 40px;
  border: none;
  width: 60px;
  height: 34px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header .search-box .search-btn:hover {
  background-color: rgba(234, 85, 20, 0.8);
}

.header .search-box .search-btn:active {
  background-color: rgba(234, 85, 20, 0.6);
}

.footer {
  height: 40px;
}

.footer .footer-content-item {
  font-size: 14px;
  color: #777777;
  margin-right: 20px;
}

/* 响应式设计 - 小屏幕优化 */
@media (max-width: 1200px) {
  .header {
    padding: 0 20px;
  }
  
  .header .search-box {
    width: 250px;
  }
  
  .header .menu .menu-item {
    padding: 0 15px;
    font-size: 14px;
  }
}

@media (max-width: 992px) {
  .header .search-box {
    width: 200px;
  }
  
  .header .menu .menu-item {
    padding: 0 10px;
    font-size: 13px;
  }
  
  /* 隐藏部分菜单项 */
  .header .menu .menu-item:nth-child(n+6) {
    display: none;
  }
}

/* @media (max-width: 768px) {
  .header {
    padding: 0 15px;
    flex-wrap: wrap;
    height: auto;
    min-height: 60px;
  }
  
  .header .menu {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-top: 10px;
    height: auto;
    flex-wrap: wrap;
  }
  
  .header .menu .menu-item {
    padding: 5px 8px;
    font-size: 12px;
    height: auto;
    line-height: 1.2;
    margin: 2px;
  }
  
  .header .search-box {
    width: 180px;
    order: 2;
  }
  
  .header img {
    order: 1;
  }
} */

/* @media (max-width: 576px) {
  .header {
    padding: 0 10px;
  }
  
  .header .menu {
    margin-top: 5px;
  }
  
  .header .menu .menu-item {
    padding: 3px 6px;
    font-size: 11px;
  }
  
  .header .search-box {
    width: 150px;
    height: 35px;
  }
  
  .header .search-box .search-input {
    height: 28px;
    font-size: 12px;
  }
  
  .header .search-box .search-btn {
    width: 50px;
    height: 30px;
  }
} */

/* 汉堡菜单样式 */
.hamburger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.hamburger-menu span {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 3px 0;
  transition: 0.3s;
}

@media (max-width: 576px) {
  .hamburger-menu {
    display: flex;
    order: 2;
  }
  
  .header .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    flex-direction: column;
    padding: 10px;
  }
  
  .header .menu.show {
    display: flex;
  }
  
  .header .menu .menu-item {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #eee;
  }
  
  .header .menu .menu-item:last-child {
    border-bottom: none;
  }
}
