/* 全局重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #333;
  line-height: 1.6;
}

/* 导航栏 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 1000;
}

.navbar-content {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.navbar-left {
  flex-shrink: 0;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #FF6B35;
}

.navbar-center {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 40px;
}

.nav-item {
  font-size: 15px;
  color: #666666;
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s;
}

.nav-item:hover,
.nav-item.active {
  color: #FF6B35;
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #FF6B35;
}

.navbar-right {
  flex-shrink: 0;
}

/* 下拉菜单 */
.admin-dropdown {
  position: relative;
  cursor: pointer;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  background-color: #FF6B35;
  color: #ffffff;
  border-radius: 6px;
  font-size: 14px;
}

.arrow {
  font-size: 10px;
  transition: transform 0.3s;
}

.admin-dropdown:hover .arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

/* 桌面端 hover 显示 */
.admin-dropdown:hover .dropdown-menu,
.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: background-color 0.2s;
}

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

.dropdown-item:first-child {
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.dropdown-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dropdown-title {
  font-size: 14px;
  color: #333333;
  font-weight: 500;
}

.dropdown-desc {
  font-size: 12px;
  color: #999999;
}

/* Banner 区域 */
.banner-section {
  position: relative;
  padding-top: 64px;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
  overflow: hidden;
}

.banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
}

.banner-title {
  font-size: 64px;
  font-weight: 700;
  margin-bottom: 16px;
}

.banner-subtitle {
  font-size: 28px;
  margin-bottom: 12px;
  opacity: 0.95;
}

.banner-desc {
  font-size: 18px;
  opacity: 0.85;
  margin-bottom: 40px;
}

.banner-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.banner-btn {
  padding: 14px 36px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: inline-block;
}

.banner-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.banner-btn.primary {
  background-color: #ffffff;
  color: #FF6B35;
}

.banner-btn:not(.primary) {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.1;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.2) 0%, transparent 40%);
}

/* 通用区块样式 */
section {
  padding: 80px 24px;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.title-text {
  display: block;
  font-size: 32px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 12px;
}

.title-desc {
  display: block;
  font-size: 16px;
  color: #999999;
}

/* 后台入口区 */
.admin-entry-section {
  background-color: #ffffff;
}

.entry-cards {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.entry-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  border: 1px solid #e8e8e8;
  cursor: pointer;
  transition: all 0.3s;
}

.entry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.15);
  border-color: #FF6B35;
}

.entry-icon {
  font-size: 56px;
  margin-bottom: 16px;
}

.entry-title {
  font-size: 20px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 8px;
}

.entry-desc {
  font-size: 14px;
  color: #999999;
  margin-bottom: 20px;
  line-height: 1.6;
}

.entry-btn {
  display: inline-block;
  padding: 10px 24px;
  background-color: #FF6B35;
  color: #ffffff;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
}

/* 产品介绍区 */
.product-section {
  background-color: #f8f9fa;
}

.product-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.product-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.product-title {
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 8px;
}

.product-desc {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
}

/* 使用说明区 */
.guide-section {
  background-color: #ffffff;
}

.guide-tabs {
  max-width: 800px;
  margin: 0 auto 40px;
  display: flex;
  justify-content: center;
  gap: 8px;
  background-color: #f5f5f5;
  padding: 6px;
  border-radius: 10px;
}

.guide-tab {
  flex: 1;
  max-width: 200px;
  text-align: center;
  padding: 12px 24px;
  border: none;
  background: none;
  border-radius: 8px;
  font-size: 15px;
  color: #666666;
  cursor: pointer;
  transition: all 0.3s;
}

.guide-tab:hover {
  color: #FF6B35;
}

.guide-tab.active {
  background-color: #ffffff;
  color: #FF6B35;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.guide-content {
  max-width: 800px;
  margin: 0 auto;
}

.guide-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.guide-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background-color: #f8f9fa;
  border-radius: 12px;
  transition: background-color 0.2s;
}

.guide-item:hover {
  background-color: #f0f0f0;
}

.guide-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  border-radius: 12px;
}

.guide-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.guide-title {
  font-size: 17px;
  font-weight: 600;
  color: #333333;
}

.guide-desc {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
}

/* 关于我们区 */
.about-section {
  background-color: #f8f9fa;
}

.about-content {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.about-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-heading {
  font-size: 28px;
  font-weight: 600;
  color: #FF6B35;
}

.about-text {
  font-size: 15px;
  color: #666666;
  line-height: 1.8;
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.contact-text {
  font-size: 15px;
  color: #666666;
}

/* 页脚 */
.footer {
  padding: 32px 24px;
  background-color: #333333;
  text-align: center;
}

.footer-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

.footer-icp {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.beian-icon {
  width: 16px;
  height: 16px;
}

.footer-icp a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-icp a:hover {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .navbar-center {
    display: none;
  }

  .banner-title {
    font-size: 40px;
  }

  .banner-subtitle {
    font-size: 20px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .entry-cards {
    grid-template-columns: 1fr;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .guide-tabs {
    flex-direction: column;
  }

  .guide-tab {
    max-width: none;
  }
}
