/* ========== PC端公共样式 ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: hsl(215, 28%, 17%);
  background-color: hsl(210, 20%, 98%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

a:hover {
  color: hsl(213, 75%, 32%);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

/* 容器 */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background-color: hsl(213, 75%, 32%);
  color: #fff;
}

.btn-primary:hover {
  background-color: hsl(213, 75%, 28%);
  color: #fff;
}

.btn-outline {
  background-color: transparent;
  border-color: hsl(214, 15%, 88%);
  color: hsl(215, 28%, 17%);
}

.btn-outline:hover {
  border-color: hsl(213, 75%, 32%);
  color: hsl(213, 75%, 32%);
}

.btn-ghost {
  background-color: transparent;
  color: hsl(215, 28%, 17%);
}

.btn-ghost:hover {
  background-color: hsl(210, 25%, 94%);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

/* ========== 顶部栏 ========== */
.topbar {
  background-color: hsl(210, 20%, 96%);
  border-bottom: 1px solid hsla(214, 15%, 88%, 0.5);
  font-size: 12px;
  color: hsl(215, 10%, 45%);
}

.topbar-inner {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-lang {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-icon {
  font-size: 12px;
}

.lang-btn {
  font-size: 12px;
  color: hsl(215, 10%, 45%);
  padding: 2px 4px;
  transition: color 0.2s;
}

.lang-btn:hover {
  color: hsl(213, 75%, 32%);
}

.lang-btn.active {
  color: hsl(213, 75%, 32%);
  font-weight: 600;
}

.lang-divider {
  color: hsl(214, 15%, 88%);
}

/* ========== 导航栏 ========== */
.navbar {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid hsla(214, 15%, 88%, 0.3);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  background-color: rgba(255, 255, 255, 0.95);
}

.nav-inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo:hover {
  color: inherit;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: hsl(213, 75%, 32%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.logo-title {
  font-size: 16px;
  font-weight: 700;
  color: hsl(215, 28%, 17%);
  line-height: 1.2;
}

.logo-sub {
  font-size: 10px;
  color: hsl(215, 10%, 45%);
  letter-spacing: 1px;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-menu li a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: hsla(215, 28%, 17%, 0.8);
  border-radius: 6px;
  transition: all 0.2s ease;
}

.nav-menu li a:hover {
  color: hsl(213, 75%, 32%);
  background-color: hsla(213, 75%, 32%, 0.05);
}

.nav-menu li a.active {
  color: hsl(213, 75%, 32%);
  background-color: hsla(213, 75%, 32%, 0.08);
  font-weight: 600;
}

.nav-cta {
  flex-shrink: 0;
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: hsl(215, 28%, 17%);
  border-radius: 6px;
}

.mobile-menu {
  display: none;
}

.mobile-lang {
  display: none;
}

/* ========== 页面头部横幅 ========== */
.page-header {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.page-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background-color: hsla(215, 28%, 17%, 0.5);
}

.page-header-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.page-header h1 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.page-header p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
}

/* ========== 区块通用 ========== */
.section {
  padding: 80px 0;
}

.section-muted {
  background-color: hsla(210, 20%, 96%, 0.5);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: 30px;
  font-weight: 700;
  color: hsl(215, 28%, 17%);
  margin-bottom: 8px;
}

.section-header p {
  font-size: 15px;
  color: hsl(215, 10%, 45%);
}

.section-header-left {
  text-align: left;
  margin-bottom: 40px;
}

/* ========== 页脚 ========== */
.footer {
  background-color: hsl(215, 28%, 17%);
  color: rgba(255, 255, 255, 0.9);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding: 64px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: hsl(213, 75%, 65%);
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.footer-logo-sub {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1px;
  margin-top: 2px;
}

.footer-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.2s;
}

.footer-social a:hover {
  background-color: hsl(213, 75%, 32%);
  color: #fff;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.contact-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== 筛选栏 ========== */
.filter-bar {
  background-color: hsla(210, 20%, 96%, 0.5);
  border-bottom: 1px solid hsla(214, 15%, 88%, 0.4);
  padding: 24px 0;
}

.filter-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tab {
  padding: 8px 18px;
  font-size: 13px;
  border-radius: 999px;
  background-color: #fff;
  border: 1px solid hsla(214, 15%, 88%, 0.8);
  color: hsl(215, 10%, 45%);
  transition: all 0.2s;
}

.filter-tab:hover {
  color: hsl(213, 75%, 32%);
  border-color: hsla(213, 75%, 32%, 0.3);
}

.filter-tab.active {
  background-color: hsl(213, 75%, 32%);
  border-color: hsl(213, 75%, 32%);
  color: #fff;
}

.filter-search {
  position: relative;
  width: 280px;
  flex-shrink: 0;
}

.filter-search .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: hsl(215, 10%, 45%);
  pointer-events: none;
  display: flex;
  align-items: center;
}

.filter-search input {
  width: 100%;
  height: 40px;
  padding: 0 14px 0 36px;
  border: 1px solid hsla(214, 15%, 88%, 0.8);
  border-radius: 6px;
  background-color: #fff;
  font-size: 14px;
  transition: border-color 0.2s;
}

.filter-search input:focus {
  border-color: hsl(213, 75%, 32%);
}

/* ========== 空状态 ========== */
.empty-state {
  text-align: center;
  padding: 80px 0;
  color: hsl(215, 10%, 45%);
  font-size: 15px;
}

/* ========== 分页 ========== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 48px;
}

.pagination button {
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid hsla(214, 15%, 88%, 0.8);
  background-color: #fff;
  font-size: 13px;
  color: hsl(215, 28%, 17%);
  transition: all 0.2s;
}

.pagination button:hover:not(:disabled) {
  border-color: hsl(213, 75%, 32%);
  color: hsl(213, 75%, 32%);
}

.pagination button.active {
  background-color: hsl(213, 75%, 32%);
  border-color: hsl(213, 75%, 32%);
  color: #fff;
}

.pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
