* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1e3a5f;
  --primary-light: #2d5a87;
  --accent: #e07b39;
  --dark: #1a1a2e;
  --gray: #6b7280;
  --gray-light: #9ca3af;
  --light: #f9fafb;
  --border: #e5e7eb;
  --white: #ffffff;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1a1a2e;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: #1e3a5f;
}

.logo-icon {
  font-size: 26px;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav-link {
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.nav-link:hover {
  color: #1e3a5f;
  border-bottom-color: #1e3a5f;
}

.btn-wechat {
  background: #07c160;
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
}

.hero {
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
  color: #ffffff;
  padding: 64px 0;
  text-align: center;
}

.hero-title {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 10px;
}
.hero-title .highlight {
  color: #fcd34d;
}

.hero-subtitle {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 20px;
}

.hero-badges {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.badge {
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 14px;
  border-radius: 14px;
  font-size: 13px;
}

.module {
  padding: 48px 0;
  border-bottom: 1px solid #e5e7eb;
}
.module:last-of-type {
  border-bottom: none;
}

.module-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 6px;
}

.module-desc {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 24px;
}

.filter-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.filter-tabs::-webkit-scrollbar {
  display: none;
}

.filter-tab {
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.filter-tab:hover {
  border-color: #2d5a87;
  color: #1e3a5f;
}
.filter-tab.active {
  background: #1e3a5f;
  border-color: #1e3a5f;
  color: #ffffff;
}

.list {
  display: flex;
  flex-direction: column;
}

.list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #e5e7eb;
  cursor: pointer;
  transition: background 0.2s;
  min-height: 64px;
  min-width: 0;
  overflow: hidden;
}
.list-item:hover {
  background: #f0f7ff;
  border-radius: 6px;
}
.list-item:last-child {
  border-bottom: none;
}

.list-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  overflow: hidden;
}
.list-content h4 {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0;
  padding: 0;
}
.list-content h4 .text-truncate {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  line-height: 22px;
  max-height: 22px;
}
.list-content p {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
  padding: 0;
}
.list-content p .text-truncate {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  line-height: 20px;
  max-height: 20px;
}

.list-icon {
  font-size: 28px;
  flex-shrink: 0;
  width: 44px;
  text-align: center;
  line-height: 1;
}

.list-tag {
  flex-shrink: 0;
  background: #f9fafb;
  color: #6b7280;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.4;
  align-self: center;
}
.hot .list-tag {
  background: #fef3c7;
  color: #e07b39;
}
.list-item:hover .list-tag {
  background: #ffffff;
}

.list-action {
  flex-shrink: 0;
  color: #1e3a5f;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 12px;
  border-radius: 6px;
  border: 1.5px solid #1e3a5f;
  transition: all 0.2s;
  background: transparent;
  align-self: center;
}
.list-item:hover .list-action {
  background: #1e3a5f;
  color: #fff;
}

.btn-download {
  flex-shrink: 0;
  background: #1e3a5f;
  color: #ffffff;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  align-self: center;
}
.btn-download:hover {
  background: #2d5a87;
}

.show-more {
  text-align: center;
  padding: 16px 0;
  color: #1e3a5f;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

.about {
  padding: 48px 0;
  background: #f9fafb;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 40px;
  align-items: center;
}

.about h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.about p {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 8px;
}

.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 20px;
}

.stat-num {
  font-size: 30px;
  font-weight: 700;
  color: #1e3a5f;
}

.stat-label {
  font-size: 12px;
  color: #6b7280;
}

.about-wechat {
  text-align: center;
}

.wechat-qr {
  width: 160px;
  height: 160px;
  margin: 0 auto 12px;
  background: #ffffff;
  border: 2px dashed #e5e7eb;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #6b7280;
}

.about-wechat p {
  font-size: 13px;
  font-weight: 600;
}

.footer {
  background: #1a1a2e;
  color: #9ca3af;
  padding: 40px 0 20px;
}

.footer-new {
  display: grid;
  grid-template-columns: 200px 1fr 140px;
  gap: 48px;
  padding-bottom: 32px;
  align-items: start;
}

.footer-brand {
  padding-right: 24px;
}

.footer-logo {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.footer-slogan {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 20px;
}

.footer-stats {
  display: flex;
  gap: 20px;
}

.footer-stat {
  text-align: center;
}

.footer-stat-num {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
}

.footer-stat-label {
  font-size: 11px;
  color: #9ca3af;
}

.footer-links-group {
  display: flex;
  gap: 48px;
}

.footer-link-col h4 {
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}
.footer-link-col a {
  display: block;
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer-link-col a:hover {
  color: #ffffff;
}

.footer-wechat {
  text-align: center;
}

.footer-qr {
  width: 100px;
  height: 100px;
  margin: 0 auto 12px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #6b7280;
}

.footer-wechat p {
  font-size: 13px;
  color: #ffffff;
  font-weight: 500;
}

.footer-qr-desc {
  font-size: 11px !important;
  color: #9ca3af !important;
  font-weight: 400 !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  color: #6b7280;
}
.footer-bottom p {
  margin-bottom: 4px;
}

@media (max-width: 1024px) {
  .footer-new {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-wechat {
    grid-column: 1/-1;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .footer-qr {
    margin: 0;
    flex-shrink: 0;
  }
}
@media (max-width: 768px) {
  .hero-title {
    font-size: 28px;
  }
  .nav {
    display: none;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .footer-new {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-links-group {
    flex-wrap: wrap;
    gap: 24px;
  }
  .footer-stats {
    justify-content: center;
  }
  .list-item {
    min-height: 60px;
    gap: 12px;
  }
  .list-icon {
    width: 36px;
    font-size: 24px;
  }
}