/* 海星知识产权网站样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", sans-serif;
}

body {
  color: #333;
  background-color: #f8f8f8;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* 新的顶部导航 */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background-color: #1a0026;
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: white;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin: 0 10px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
  padding: 8px 12px;
  border-radius: 4px;
}

.nav-links a:hover {
  color: #7e5bff;
}

.nav-links .nav-tab {
  position: relative;
}

.nav-links .nav-tab.active,
.nav-links a.active {
  background-color: #7e5bff;
  color: white;
}

.nav-links .nav-tab.active:hover,
.nav-links a.active:hover {
  color: white;
}

.nav-actions {
  display: flex;
  align-items: center;
}

.ai-btn {
  background-color: #ff6c00;
  color: white;
  border: none;
  padding: 6px 12px;
  margin-right: 15px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.workbench-btn {
  background-color: #7e5bff;
  color: white;
  border: none;
  padding: 8px 16px;
  margin-right: 15px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.workbench-btn:hover {
  background-color: #6a4de0;
}

.user-profile {
  display: flex;
  align-items: center;
  color: white;
  position: relative;
}

.user-profile .avatar-img img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

/* 下拉菜单样式 */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  color: #333;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  list-style: none;
  padding: 0;
  margin: 0;
  border-radius: 4px;
  display: none;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-menu li {
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu li:hover {
  background-color: #f5f5f5;
}

.dropdown-menu li a {
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dropdown-menu li a:hover {
  color: #333;
  text-decoration: none;
}

/* 主体内容区域 - 背景图片和Canvas星光背景 */
.main-content {
  position: relative;
  width: 100%;
  background: #1a0026 url(/assets/addons/mylogin/img/five/login_bg.jpg) no-repeat center center;
  background-size: cover;
  overflow: hidden;
  min-height: 500px;
  /* 为固定导航栏留出空间 */
}

.main-contents {
  position: relative;
  width: 100%;
  background-size: cover;
  padding-left: 20px;
  overflow: hidden;
  min-height: 500px;
}

#canvasParticle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.banner-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 20px;
  z-index: 3;
  text-align: center;
  color: white;
}

.banner-text h1 {
  font-size: 42px;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.banner-text p {
  font-size: 20px;
  margin-bottom: 40px;
  color: #ccc;
}

/* 搜索标签样式 */
.search-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  gap: 10px;
}

.search-tab {
  padding: 10px 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 16px;
}

.search-tab:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.search-tab.active {
  background-color: #7e5bff;
  color: white;
  font-weight: bold;
}

.search-bar {
  display: flex;
  justify-content: center;
  max-width: 700px;
  margin: 0 auto;
}

.search-bar input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  border-radius: 4px 0 0 4px;
  font-size: 16px;
}

.search-btn {
  background-color: #7e5bff;
  color: white;
  border: none;
  padding: 0 30px;
  border-radius: 0 4px 4px 0;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.search-btn:hover {
  background-color: #6a4de0;
}

/* 服务区块 */
.section-title {
  font-size: 24px;
  font-weight: bold;
  margin: 30px 0 20px;
  text-align: center;
}

.services {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 40px 0;
}

.service-card {
  flex: 1;
  min-width: 280px;
  background-color: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  font-size: 40px;
  color: #1890ff;
  margin-bottom: 20px;
}

.service-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
}

.service-desc {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-btn {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid #1890ff;
  color: #1890ff;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s;
}

.service-btn:hover {
  background-color: #1890ff;
  color: #fff;
}

.trademark-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s;
}

.trademark-card:hover {
  transform: translateY(-5px);
}


.trademark-image {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #999;
}


.trademark-info {
  padding: 15px;
}

.trademark-name {
  font-weight: bold;
  margin-bottom: 10px;
}

.trademark-category {
  color: #999;
  font-size: 12px;
  margin-bottom: 10px;
}

.trademark-desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.5;
  height: 60px;
  overflow: hidden;
}

.trademark-price {
  color: #ff4d4f;
  font-weight: bold;
  font-size: 18px;
}

.view-more {
  text-align: center;
  margin: 30px 0;
}

.view-more-btn {
  display: inline-block;
  padding: 10px 30px;
  background-color: #1890ff;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}

/* 品质保证区块 */
.quality-section {
  /* background-color: #fff; */
  padding: 50px;
  border-radius: 8px;
  margin-top: 40px;
  text-align: center;
}

.quality-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
}

.quality-desc {
  color: #666;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 30px;
}

.quality-features {
  display: flex;
  flex-wrap: nowrap;
  margin: 0 auto;
  gap: 30px;
}

.quality-feature {
  width: 200px;
  text-decoration: none;
  min-width: 280px;
  color: inherit;
}

.feature-icon {
  font-size: 36px;
  color: #1890ff;
  margin-bottom: 15px;
}

.feature-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.feature-desc {
  color: #666;
  font-size: 14px;
}




/* 主体内容区域 - 背景图片和Canvas星光背景 */
.main-content {
  position: relative;
  padding-top: 100px;
  width: 100%;
  background-size: cover;
  overflow: hidden;
  background: #1a0026 url(/assets/addons/mylogin/img/five/login_bg.jpg) no-repeat center center;
  min-height: 500px;
  padding-top: 80px;
  /* 为固定导航栏留出空间 */
}

.main-contents {
  position: relative;
  width: 100%;
  background-size: cover;
  overflow: hidden;
  min-height: 500px;
}

#canvasParticle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.banner-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 20px;
  z-index: 3;
  text-align: center;
  color: white;
}

.banner-text h1 {
  font-size: 42px;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.banner-text p {
  font-size: 20px;
  margin-bottom: 40px;
  color: #ccc;
}

/* 搜索标签样式 */
.search-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  gap: 10px;
}

.search-tab {
  padding: 10px 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 16px;
}

.search-tab:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.search-tab.active {
  background-color: #7e5bff;
  color: white;
  font-weight: bold;
}

.search-bar {
  display: flex;
  justify-content: center;
  max-width: 700px;
  margin: 0 auto;
}

.search-bar input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  border-radius: 4px 0 0 4px;
  font-size: 16px;
}

.search-btn {
  background-color: #7e5bff;
  color: white;
  border: none;
  padding: 0 30px;
  border-radius: 0 4px 4px 0;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.search-btn:hover {
  background-color: #6a4de0;
}

/* 服务区块 */
.section-title {
  font-size: 24px;
  font-weight: bold;
  margin: 30px 0 20px;
  text-align: center;
}

.services {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 40px 0;
}

.service-card {
  flex: 1;
  min-width: 280px;
  background-color: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  font-size: 40px;
  color: #1890ff;
  margin-bottom: 20px;
}

.service-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
}

.service-desc {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-btn {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid #1890ff;
  color: #1890ff;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s;
}

.service-btn:hover {
  background-color: #1890ff;
  color: #fff;
}

/* 商标展示 */
.trademark-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 30px 0;
}

.trademark-image {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #999;
}


.trademark-info {
  padding: 15px;
}

.trademark-name {
  font-weight: bold;
  margin-bottom: 10px;
}

.trademark-category {
  color: #999;
  font-size: 12px;
  margin-bottom: 10px;
}

.trademark-desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.5;
  height: 60px;
  overflow: hidden;
}

.trademark-price {
  color: #ff4d4f;
  font-weight: bold;
  font-size: 18px;
}

.view-more {
  text-align: center;
  margin: 30px 0;
}

.view-more-btn {
  display: inline-block;
  padding: 10px 30px;
  background-color: #1890ff;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}

.feature-desc {
  color: #666;
  font-size: 14px;
}

/* 页脚 */
.footer {
  background-color: white;
  padding: 30px 0;
  text-align: center;
  width: 100%;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-link {
  color: #fff;
  text-decoration: none;
}

.copyright {
  color: #999;
  font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .trademark-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .quality-features {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .trademark-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services {
    flex-direction: column;
  }

  .service-card {
    min-width: 100%;
  }

  .nav-links li {
    margin: 0 5px;
  }

  .banner-text h1 {
    font-size: 32px;
  }

  .banner-text p {
    font-size: 16px;
  }

  .search-bar {
    flex-direction: column;
    gap: 10px;
  }

  .search-bar input,
  .search-btn {
    border-radius: 4px;
    padding: 12px;
  }

  .search-tabs {
    flex-wrap: wrap;
  }

  .search-tab {
    padding: 8px 15px;
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .trademark-grid {
    grid-template-columns: 1fr;
  }

  .quality-section {
    padding: 30px 15px;
  }

  .nav-container {
    flex-direction: column;
    gap: 15px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links li {
    margin: 5px;
  }

  .nav-actions {
    margin-top: 10px;
  }
}