/* ==========================================
   FreelancePro - Main Stylesheet
   ========================================== */

/* ---------- 语言选择器样式 ---------- */
.lang-selector {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-right: 12px;
}
.lang-selector-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid #2A3142;
  border-radius: 8px;
  color: #E6EAF0;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.lang-selector-btn:hover {
  background: rgba(255,255,255,0.14);
  border-color: #3A4152;
}
.lang-selector-btn .lang-flag {
  font-size: 16px;
  line-height: 1;
}
.lang-selector-btn .lang-arrow {
  font-size: 10px;
  transition: transform 0.2s ease;
  opacity: 0.6;
}
.lang-selector.open .lang-arrow {
  transform: rotate(180deg);
}
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: #161B26;
  border: 1px solid #2A3142;
  border-radius: 10px;
  padding: 6px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.lang-selector.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  color: #8B95A8;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.lang-option:hover {
  background: rgba(255,255,255,0.06);
  color: #E6EAF0;
}
.lang-option.active {
  color: #00ff66;
  background: rgba(0,255,102,0.08);
}
.lang-option .lang-flag {
  font-size: 18px;
  line-height: 1;
}

/* ---------- Loading 页面样式 ---------- */
.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #0a0f0a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
  overflow: hidden;
}

/* 加载完成后淡出 */
.loading-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
}

/* 背景粒子容器 */
.loading-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* 单个粒子 */
.loading-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #00ff66;
  opacity: 0;
  animation: particleFloat 3s ease-in-out infinite;
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(0) scale(1); }
  20% { opacity: 0.6; }
  80% { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-120px) scale(0.3); }
}

/* 加载内容容器 */
.loading-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

/* 品牌标识 */
.loading-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.loading-logo {
  width: 40px;
  height: 40px;
  animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(0, 255, 102, 0.4)); }
  50% { filter: drop-shadow(0 0 18px rgba(0, 255, 102, 0.8)); }
}

.loading-brand-text {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #e0f0e0;
  letter-spacing: 1px;
  text-shadow: 0 0 20px rgba(0, 255, 102, 0.3);
}

/* 电池外壳容器 */
.battery-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 电池主体 */
.battery {
  position: relative;
  width: 200px;
  height: 80px;
  border: 2px solid #00ff66;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0, 20, 0, 0.6);
  box-shadow:
    0 0 15px rgba(0, 255, 102, 0.15),
    inset 0 0 20px rgba(0, 255, 102, 0.05);
}

/* 电池正极凸起 */
.battery-cap {
  position: absolute;
  top: 50%;
  right: -8px;
  transform: translateY(-50%);
  width: 6px;
  height: 24px;
  background: #00ff66;
  border-radius: 0 3px 3px 0;
  box-shadow: 0 0 8px rgba(0, 255, 102, 0.5);
}

/* 充电液位（能量条） */
.battery-liquid {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 255, 102, 0.3) 0%,
    rgba(0, 204, 68, 0.6) 40%,
    rgba(0, 255, 102, 0.85) 100%
  );
  transition: width 0.05s linear;
  /* 顶部波浪效果 */
  box-shadow: 0 -2px 10px rgba(0, 255, 102, 0.4);
}

/* 液面呼吸光效 */
.battery-liquid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 255, 102, 0.8),
    transparent
  );
  animation: liquidShimmer 1.5s ease-in-out infinite;
}

@keyframes liquidShimmer {
  0% { opacity: 0.4; transform: translateX(-30%); }
  50% { opacity: 1; transform: translateX(30%); }
  100% { opacity: 0.4; transform: translateX(-30%); }
}

/* 气泡效果 */
.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 102, 0.6), rgba(0, 255, 102, 0.1));
  animation: bubbleRise 2s ease-in-out infinite;
  opacity: 0;
}

.bubble-1 { width: 6px; height: 6px; left: 20%; bottom: 10%; animation-delay: 0s; }
.bubble-2 { width: 4px; height: 4px; left: 45%; bottom: 15%; animation-delay: 0.4s; }
.bubble-3 { width: 8px; height: 8px; left: 65%; bottom: 5%; animation-delay: 0.8s; }
.bubble-4 { width: 5px; height: 5px; left: 35%; bottom: 20%; animation-delay: 1.2s; }
.bubble-5 { width: 3px; height: 3px; left: 75%; bottom: 12%; animation-delay: 1.6s; }

@keyframes bubbleRise {
  0% { opacity: 0; transform: translateY(0) scale(1); }
  20% { opacity: 0.7; }
  80% { opacity: 0.2; }
  100% { opacity: 0; transform: translateY(-60px) scale(0.4); }
}

/* 能量脉冲线 */
.energy-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.energy-pulse::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 255, 102, 0.15),
    transparent
  );
  animation: energySweep 1.2s ease-in-out infinite;
}

@keyframes energySweep {
  0% { left: -60%; }
  100% { left: 100%; }
}

/* 闪电图标 */
.bolt-icon {
  position: absolute;
  top: -22px;
  right: -18px;
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 8px rgba(0, 255, 102, 0.6));
  animation: boltFlash 1.5s ease-in-out infinite;
}

@keyframes boltFlash {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* 百分比数字 */
.loading-percent {
  font-family: 'Noto Sans SC', monospace;
  font-size: 48px;
  font-weight: 700;
  color: #00ff66;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 20px rgba(0, 255, 102, 0.5), 0 0 40px rgba(0, 255, 102, 0.2);
  letter-spacing: 2px;
  min-width: 140px;
  text-align: center;
}

/* 状态文字 */
.loading-status {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 14px;
  color: #5a8a5a;
  letter-spacing: 2px;
  animation: statusBlink 2s ease-in-out infinite;
}

@keyframes statusBlink {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* 底部装饰线 */
.loading-deco-lines {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.loading-deco-lines span {
  display: block;
  width: 24px;
  height: 2px;
  background: #00ff66;
  border-radius: 1px;
  opacity: 0.3;
  animation: decoLineWave 1.5s ease-in-out infinite;
}

.loading-deco-lines span:nth-child(1) { animation-delay: 0s; }
.loading-deco-lines span:nth-child(2) { animation-delay: 0.15s; }
.loading-deco-lines span:nth-child(3) { animation-delay: 0.3s; }
.loading-deco-lines span:nth-child(4) { animation-delay: 0.45s; }
.loading-deco-lines span:nth-child(5) { animation-delay: 0.6s; }

@keyframes decoLineWave {
  0%, 100% { opacity: 0.2; transform: scaleX(1); }
  50% { opacity: 0.8; transform: scaleX(1.4); }
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors - Dark Theme */
  --color-primary: #1B2A4A;
  --color-accent: #FF6B35;
  --color-success: #2EC4B6;
  --color-bg: #0D1117;
  --color-bg-alt: #0A0E16;
  --color-card: #161B26;
  --color-card-hover: #1C2233;
  --color-text: #E6EAF0;
  --color-text-secondary: #8B95A8;
  --color-border: #2A3142;
  --color-border-light: #1E2536;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Typography */
  --font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-base: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 20px;
  --font-size-2xl: 24px;
  --font-size-3xl: 32px;
  --font-size-4xl: 48px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.5);

  /* Transitions */
  --transition-fast: 150ms ease-out;
  --transition-base: 300ms ease-out;
  --transition-slow: 500ms ease-out;

  /* Layout */
  --header-height: 72px;
  --container-max: 1200px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.75;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: tabular-nums;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

input, select {
  font-family: inherit;
  font-size: inherit;
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-4xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--font-size-sm);
  line-height: 1.5;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: #e55e2e;
  filter: brightness(1.1);
}

.btn-ghost {
  color: var(--color-primary);
  border: 1.5px solid var(--color-border);
}

.btn-ghost:hover {
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn-outline:hover {
  background: var(--color-accent);
  color: #fff;
}

.btn-lg {
  padding: 14px 36px;
  font-size: var(--font-size-base);
  border-radius: var(--radius-md);
}

.btn-full {
  width: 100%;
  padding: 14px 24px;
}

.btn-social {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-card);
  font-weight: 500;
  gap: var(--space-sm);
  color: var(--color-text);
}

.btn-social:hover {
  background: var(--color-card-hover);
  border-color: var(--color-accent);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-light);
  z-index: 1000;
  transition: box-shadow var(--transition-base);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 700;
  font-size: var(--font-size-xl);
  color: #fff;
}

.logo-icon {
  width: 36px;
  height: 36px;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-base);
}

.nav-link:hover {
  color: #fff;
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.header-actions .btn-login,
.header-actions .btn-register {
  color: #ffffff;
  font-weight: 500;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* 移动端导航遮罩 */
.mobile-nav-overlay {
  display: none;
}

/* ---------- Hero ---------- */
/* ========== 区段背景图片 ========== */
.section-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.section-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.35;
}

.section-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--color-bg) 0%, rgba(13, 17, 23, 0.45) 30%, rgba(13, 17, 23, 0.45) 70%, var(--color-bg) 100%);
}

/* Hero 区背景图片特殊处理 - 更高的不透明度 */
.hero .section-bg-img {
  opacity: 0.4;
}

.hero .section-bg-overlay {
  background: linear-gradient(135deg, rgba(15, 27, 51, 0.7) 0%, rgba(27, 42, 74, 0.55) 50%, rgba(15, 27, 51, 0.7) 100%);
}

/* Categories 区背景图片 */
.categories-section .section-bg-overlay {
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, rgba(10, 14, 22, 0.55) 25%, rgba(10, 14, 22, 0.55) 75%, var(--color-bg-alt) 100%);
}

/* HowItWorks 区背景图片 */
.how-section .section-bg-overlay {
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, rgba(10, 14, 22, 0.5) 25%, rgba(10, 14, 22, 0.5) 75%, var(--color-bg-alt) 100%);
}

/* CTA 区背景图片 - 带暖色调叠加 */
.cta-section .section-bg-img {
  opacity: 0.35;
}

.cta-section .section-bg-overlay {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(13, 17, 23, 0.65) 30%, rgba(13, 17, 23, 0.65) 70%, rgba(46, 196, 182, 0.1) 100%);
}

/* Jobs 区背景图片 */
.jobs-section .section-bg-overlay {
  background: linear-gradient(180deg, var(--color-bg) 0%, rgba(13, 17, 23, 0.5) 25%, rgba(13, 17, 23, 0.5) 75%, var(--color-bg) 100%);
}

/* Stats 区添加背景图（使用 CSS background-image 保持兼容） */
.stats-section {
  position: relative;
  background-image: url('/assets/bg-categories.jpeg');
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27, 42, 74, 0.75) 0%, rgba(15, 27, 51, 0.8) 100%);
  z-index: 0;
}

.stats-section .container {
  position: relative;
  z-index: 1;
}

/* Hero 区样式 */
.hero {
  position: relative;
  min-height: 600px;
  padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-4xl);
  background: linear-gradient(135deg, #0F1B33 0%, #1B2A4A 50%, #0F1B33 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
}

.hero-shape-1 {
  width: 600px;
  height: 600px;
  background: var(--color-accent);
  top: -200px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.hero-shape-2 {
  width: 400px;
  height: 400px;
  background: var(--color-success);
  bottom: -150px;
  left: -100px;
  animation: float 10s ease-in-out infinite reverse;
}

.hero-shape-3 {
  width: 200px;
  height: 200px;
  background: #fff;
  top: 50%;
  left: 60%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.03em;
}

.hero-title-accent {
  color: var(--color-accent);
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  line-height: 1.75;
  opacity: 0.85;
  margin-bottom: var(--space-2xl);
  font-weight: 300;
}

.hero-search {
  margin-bottom: var(--space-lg);
}

.search-box {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 6px 6px 6px 20px;
  max-width: 640px;
  margin: 0 auto;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.search-box:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

.search-icon {
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  border: none;
  background: transparent;
  color: #fff;
  font-size: var(--font-size-base);
  padding: 12px var(--space-md);
  outline: none;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.search-btn {
  flex-shrink: 0;
  padding: 12px 28px;
  border-radius: var(--radius-md) !important;
}

.hero-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero-tag {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.5);
}

.hero-tag-link {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.75);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all var(--transition-fast);
}

.hero-tag-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* ---------- Categories ---------- */
.categories-section {
  position: relative;
  background: var(--color-bg-alt);
}

.categories-section .container {
  position: relative;
  z-index: 1;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-lg);
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: var(--radius-lg);
  background: var(--color-card);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  cursor: pointer;
  overflow: hidden;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(255, 107, 53, 0.15);
  border-color: var(--color-accent);
  background: var(--color-card-hover);
}

.category-card-image {
  width: 100%;
  height: 100px;
  object-fit: cover;
  display: block;
  opacity: 0.8;
  transition: opacity var(--transition-base);
}

.category-card:hover .category-card-image {
  opacity: 1;
}

.category-card-body {
  padding: var(--space-md) var(--space-md) var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.category-card-body .category-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--cat-color, #3B82F6) 15%, transparent);
  margin-bottom: var(--space-sm);
  transition: all var(--transition-base);
}

.category-card-body .category-icon svg {
  width: 20px;
  height: 20px;
  color: var(--cat-color, #3B82F6);
}

.category-card:hover .category-icon {
  background: color-mix(in srgb, var(--cat-color, #3B82F6) 25%, transparent);
  transform: scale(1.08);
}

.category-name {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.category-count {
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
}

/* ---------- Jobs ---------- */
.jobs-section {
  position: relative;
  background: var(--color-bg);
}

.jobs-section .container {
  position: relative;
  z-index: 1;
}
  background: var(--color-bg);
}

.jobs-filter {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  border: 1.5px solid var(--color-border);
  background: var(--color-card);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.filter-btn.active {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.job-card {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  cursor: pointer;
  overflow: hidden;
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(255, 107, 53, 0.15);
  border-color: var(--color-accent);
  background: var(--color-card-hover);
}

.job-card.hidden {
  display: none;
}

.job-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  opacity: 0.85;
  transition: opacity var(--transition-base);
}

.job-card:hover .job-card-image {
  opacity: 1;
}

.job-card-body {
  padding: var(--space-xl);
}

.job-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.job-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 600;
}

.badge-high {
  background: rgba(46, 196, 182, 0.18);
  color: var(--color-success);
}

.badge-urgent {
  background: rgba(255, 107, 53, 0.18);
  color: var(--color-accent);
}

.badge-new {
  background: rgba(59, 130, 246, 0.18);
  color: #6BA3F6;
}

.job-type {
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
  padding: 3px 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
}

.job-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
  line-height: 1.4;
}

.job-company {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
}

.job-salary {
  display: flex;
  align-items: baseline;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.salary-amount {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-success);
  font-variant-numeric: tabular-nums;
}

.salary-period {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.job-tag {
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: var(--font-size-xs);
  font-weight: 500;
  background: var(--color-border-light);
  color: var(--color-text-secondary);
}

.job-footer {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.job-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
}

.job-meta svg {
  flex-shrink: 0;
}

.jobs-more {
  text-align: center;
  margin-top: var(--space-2xl);
}

/* ---------- How It Works ---------- */
.how-section {
  position: relative;
  background: var(--color-bg-alt);
}

.how-section .container {
  position: relative;
  z-index: 1;
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 960px;
  margin: 0 auto;
}

.step-card {
  flex: 1;
  text-align: center;
  padding: var(--space-xl);
}

.step-number {
  font-size: 48px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.06);
  margin-bottom: var(--space-md);
  letter-spacing: -0.04em;
  line-height: 1;
}

.step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(46, 196, 182, 0.15));
}

.step-icon svg {
  width: 32px;
  height: 32px;
  color: var(--color-accent);
}

.step-title {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.step-desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.step-connector {
  display: flex;
  align-items: center;
  padding-top: var(--space-3xl);
}

.step-connector svg {
  width: 32px;
  height: 32px;
  opacity: 0.4;
}

/* ---------- Stats ---------- */
.stats-section {
  background: var(--color-primary);
  color: #fff;
  padding: var(--space-3xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.stat-card {
  padding: var(--space-xl);
  position: relative;
}

/* 实时招聘卡片特殊样式 */
.stat-card-live {
  background: rgba(255, 107, 53, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(255, 107, 53, 0.2);
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  padding: 3px 10px;
  background: rgba(255, 107, 53, 0.15);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #FF6B35;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF6B35;
  animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.6); }
  50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(255, 107, 53, 0); }
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  display: inline;
  letter-spacing: -0.03em;
}

.stat-suffix {
  font-size: 24px;
  font-weight: 600;
  opacity: 0.7;
}

.stat-label {
  font-size: var(--font-size-base);
  opacity: 0.7;
  margin-top: var(--space-sm);
}

/* ---------- CTA ---------- */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.08) 0%, rgba(46, 196, 182, 0.08) 100%);
  text-align: center;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.cta-desc {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2xl);
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: var(--space-md);
}

.footer-about {
  font-size: var(--font-size-sm);
  line-height: 1.7;
  opacity: 0.6;
  max-width: 300px;
}

.footer-heading {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links a {
  display: block;
  font-size: var(--font-size-sm);
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: var(--font-size-sm);
  opacity: 0.5;
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--color-card);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  width: 90%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition-base);
  border: 1px solid var(--color-border);
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-sm {
  max-width: 420px;
}

.modal-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  transition: background var(--transition-fast);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.06);
}

.modal-close svg {
  width: 20px;
  height: 20px;
  color: var(--color-text-secondary);
}

.modal-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.modal-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.modal-subtitle {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

/* ---------- Form ---------- */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 6px;
}

.form-input,
.form-select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  color: var(--color-text);
  background: var(--color-border-light);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.12);
}

.form-input.error,
.form-select.error {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.form-error {
  display: block;
  font-size: var(--font-size-xs);
  color: #EF4444;
  margin-top: 4px;
  min-height: 16px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.form-checkbox input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--color-accent);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.form-checkbox label {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

.form-checkbox label a {
  color: var(--color-accent);
  font-weight: 500;
}

.form-checkbox label a:hover {
  text-decoration: underline;
}

.form-link {
  font-size: var(--font-size-sm);
  color: var(--color-accent);
  font-weight: 500;
}

.form-link:hover {
  text-decoration: underline;
}

/* Password strength */
.password-strength {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: 6px;
}

.strength-bar {
  flex: 1;
  height: 4px;
  background: var(--color-border);
  border-radius: 2px;
  overflow: hidden;
}

.strength-fill {
  height: 100%;
  width: 0;
  border-radius: 2px;
  transition: width var(--transition-base), background var(--transition-base);
}

.strength-fill.weak { width: 33%; background: #EF4444; }
.strength-fill.medium { width: 66%; background: #F59E0B; }
.strength-fill.strong { width: 100%; background: var(--color-success); }

.strength-text {
  font-size: var(--font-size-xs);
  font-weight: 500;
  min-width: 40px;
}

.strength-text.weak { color: #EF4444; }
.strength-text.medium { color: #F59E0B; }
.strength-text.strong { color: var(--color-success); }

/* Modal divider */
.modal-divider {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

.modal-divider::before,
.modal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.modal-divider span {
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
}

.social-login {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.modal-footer-text {
  text-align: center;
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin-top: var(--space-lg);
}

.modal-footer-text a {
  color: var(--color-accent);
  font-weight: 600;
}

.modal-footer-text a:hover {
  text-decoration: underline;
}

/* ---------- Responsive ---------- */

/* ---- 平板 (≤1024px) ---- */
@media (max-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .jobs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .hero-content h1 {
    font-size: 42px;
  }
}

/* ---- 大手机/小平板 (≤768px) ---- */
@media (max-width: 768px) {
  :root {
    --font-size-4xl: 32px;
    --font-size-3xl: 24px;
    --font-size-2xl: 20px;
    --font-size-xl: 18px;
  }

  /* ---- Header / Mobile Nav ---- */
  .header-inner {
    padding: 0 var(--space-md);
  }

  .mobile-toggle {
    display: flex;
  }

  /* 移动端导航覆盖层 */
  .mobile-nav-overlay {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 17, 23, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--space-lg);
    z-index: 999;
    overflow-y: auto;
    gap: var(--space-md);
  }

  .mobile-nav-overlay.active {
    display: flex;
    animation: slideDown 0.3s ease-out;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .mobile-nav-overlay .nav {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .mobile-nav-overlay .nav a {
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--color-border);
    width: 100%;
  }

  .mobile-nav-overlay .header-actions {
    flex-direction: column;
    gap: var(--space-sm);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
  }

  .mobile-nav-overlay .lang-selector {
    align-self: flex-start;
  }

  .mobile-nav-overlay .lang-selector-btn .lang-label {
    display: inline;
  }

  .mobile-nav-overlay .btn-login,
  .mobile-nav-overlay .btn-register {
    width: 100%;
    text-align: center;
    padding: 10px;
    font-size: 13px;
  }

  .header-inner > .nav,
  .header-inner > .header-actions,
  .header-inner > .lang-selector {
    display: none;
  }

  .header-actions {
    gap: 6px;
    flex-shrink: 0;
  }

  .lang-selector-btn {
    padding: 6px 8px;
  }

  .lang-selector-btn .lang-label {
    display: none;
  }

  .btn-login,
  .btn-register {
    padding: 5px 10px;
    font-size: 12px;
    white-space: nowrap;
  }

  .btn-register {
    padding: 6px 10px;
  }

  /* ---- Hero ---- */
  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-xl);
  }

  .hero-content {
    padding: 0 var(--space-md);
  }

  .hero-content h1 {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: var(--space-md);
  }

  .hero-content p {
    font-size: 15px;
    margin-bottom: var(--space-lg);
  }

  .search-box {
    flex-direction: column;
    padding: var(--space-md);
    gap: var(--space-sm);
    border-radius: var(--radius-lg);
  }

  .search-box input {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    font-size: 15px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: var(--space-md);
  }

  .search-btn {
    width: 100%;
    padding: var(--space-md);
  }

  .hero-tags {
    flex-wrap: wrap;
    gap: var(--space-xs);
  }

  .hero-tag {
    font-size: 12px;
    padding: 4px 10px;
  }

  /* ---- 分类区 ---- */
  .categories-section {
    padding: var(--space-2xl) 0;
  }

  .categories-section .container {
    padding: 0 var(--space-md);
  }

  .section-title {
    font-size: var(--font-size-2xl) !important;
    margin-bottom: var(--space-lg) !important;
  }

  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
  }

  .category-card {
    border-radius: var(--radius-md);
  }

  .category-card-image {
    height: 70px;
  }

  .category-card-body {
    padding: var(--space-xs) var(--space-xs) var(--space-sm);
  }

  .category-card-body .category-icon {
    width: 30px;
    height: 30px;
  }

  .category-card-body .category-icon svg {
    width: 16px;
    height: 16px;
  }

  .category-card h3 {
    font-size: 12px;
    margin-bottom: 2px;
  }

  .category-card span {
    font-size: 11px;
  }

  /* ---- 高薪职位区 ---- */
  .jobs-section {
    padding: var(--space-2xl) 0;
  }

  .jobs-section .container {
    padding: 0 var(--space-md);
  }

  .filter-bar {
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
  }

  .filter-btn {
    padding: 6px 14px;
    font-size: 13px;
  }

  .jobs-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .job-card-image {
    height: 160px;
  }

  .job-card-body {
    padding: var(--space-md);
  }

  .job-tags {
    gap: 4px;
  }

  .job-tag {
    padding: 3px 8px;
    font-size: 11px;
  }

  /* ---- HowItWorks ---- */
  .how-section {
    padding: var(--space-2xl) 0;
  }

  .how-section .container {
    padding: 0 var(--space-md);
  }

  .steps-grid {
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
  }

  .step-connector {
    padding-top: 0;
    transform: rotate(90deg);
  }

  .step-item {
    text-align: center;
  }

  .step-number {
    font-size: 36px;
    width: 60px;
    height: 60px;
  }

  .step-item h3 {
    font-size: 16px;
  }

  .step-item p {
    font-size: 13px;
  }

  /* ---- 统计区 ---- */
  .stats-section {
    padding: var(--space-2xl) 0;
  }

  .stats-section .container {
    padding: 0 var(--space-md);
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
  }

  .stat-card {
    padding: var(--space-md) var(--space-sm);
    border-radius: var(--radius-md);
  }

  .stat-number {
    font-size: 28px;
  }

  .stat-label {
    font-size: 11px;
  }

  .stat-suffix {
    font-size: 14px;
  }

  /* ---- CTA ---- */
  .cta-section {
    padding: var(--space-2xl) 0;
  }

  .cta-section .container {
    padding: 0 var(--space-md);
  }

  .cta-content h2 {
    font-size: var(--font-size-2xl);
  }

  .cta-content p {
    font-size: 15px;
  }

  .cta-actions {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .cta-actions .btn {
    width: 100%;
  }

  /* ---- Footer ---- */
  .footer {
    padding: var(--space-2xl) 0 var(--space-lg);
  }

  .footer .container {
    padding: 0 var(--space-md);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  /* ---- Modal ---- */
  .modal-overlay {
    padding: var(--space-md);
    align-items: flex-end;
  }

  .modal {
    padding: var(--space-lg);
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    position: relative;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .social-login {
    grid-template-columns: 1fr;
  }

  /* ---- Loading ---- */
  .loading-container {
    padding: 0 var(--space-md);
  }

  .battery-wrapper {
    transform: scale(0.8);
  }

  .loading-percent {
    font-size: 48px;
  }

  .loading-status {
    font-size: 14px;
  }
}

/* ---- 手机 (≤480px) ---- */
@media (max-width: 480px) {
  :root {
    --font-size-4xl: 26px;
    --font-size-3xl: 20px;
    --font-size-2xl: 18px;
  }

  /* ---- Header ---- */
  .header-inner {
    padding: 0 var(--space-sm);
  }

  .header-actions {
    gap: 4px;
  }

  .btn-login,
  .btn-register {
    padding: 5px 8px;
    font-size: 12px;
    border-radius: 6px;
  }

  .lang-selector-btn {
    padding: 4px 6px;
    border-radius: 6px;
  }

  .lang-selector-btn .lang-label {
    display: none;
  }

  .lang-dropdown {
    right: -10px;
    min-width: 130px;
  }

  .lang-dropdown li {
    padding: 8px 12px;
    font-size: 13px;
  }

  /* ---- Hero ---- */
  .hero-content h1 {
    font-size: 26px;
  }

  .hero-content p {
    font-size: 14px;
  }

  .search-box input {
    font-size: 14px;
  }

  .hero-tags {
    justify-content: center;
  }

  /* ---- 分类区 ---- */
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xs);
  }

  .category-card-image {
    height: 60px;
  }

  .category-card-body .category-icon {
    width: 26px;
    height: 26px;
  }

  .category-card-body .category-icon svg {
    width: 14px;
    height: 14px;
  }

  .category-card h3 {
    font-size: 11px;
  }

  .category-card span {
    font-size: 10px;
  }

  /* ---- 职位区 ---- */
  .job-card-image {
    height: 140px;
  }

  .job-card-body {
    padding: var(--space-sm);
  }

  .job-card-body h3 {
    font-size: 15px;
  }

  /* ---- 统计区 ---- */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xs);
  }

  .stat-card {
    padding: var(--space-sm) var(--space-xs);
  }

  .stat-number {
    font-size: 22px;
  }

  .stat-label {
    font-size: 10px;
  }

  .stat-suffix {
    font-size: 12px;
  }

  .live-dot {
    width: 6px;
    height: 6px;
  }

  .live-label {
    font-size: 9px;
  }

  /* ---- HowItWorks ---- */
  .step-number {
    font-size: 28px;
    width: 50px;
    height: 50px;
  }

  /* ---- CTA ---- */
  .cta-content h2 {
    font-size: 18px;
  }

  /* ---- Footer ---- */
  .footer-grid h4 {
    font-size: 14px;
    margin-bottom: var(--space-sm);
  }

  .footer-grid a {
    font-size: 13px;
  }

  /* ---- Modal ---- */
  .modal {
    padding: var(--space-md);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .modal h2 {
    font-size: 18px;
  }

  .form-group label {
    font-size: 13px;
  }

  .form-group input {
    padding: 10px 12px;
    font-size: 14px;
  }

  /* ---- Loading ---- */
  .battery-wrapper {
    transform: scale(0.65);
  }

  .loading-percent {
    font-size: 36px;
  }

  .loading-status {
    font-size: 12px;
  }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-secondary);
}

/* ---------- Selection ---------- */
::selection {
  background: rgba(255, 107, 53, 0.3);
  color: #fff;
}
