* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", sans-serif;
}

:root {
  --ali-blue: #0066ff;
  --fly-orange: #ff6600;
  --dark: #111827;
  --light: #f9fafb;
  --glass: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.2);
}

body {
  background: linear-gradient(135deg, #0c101b, #1a2342);
  color: #fff;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 导航 */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 999;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.logo span {
  font-size: 22px;
  font-weight: bold;
  color: #fff;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s;
}

.nav-menu a:hover {
  color: var(--fly-orange);
}

.nav-btns {
  display: flex;
  gap: 10px;
}

.login-btn, .register-btn {
  padding: 8px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

.login-btn {
  background: transparent;
  color: #fff;
  border: 1px solid var(--border);
}

.register-btn {
  background: var(--ali-blue);
  color: #fff;
}

.hamburger {
  display: none;
  font-size: 24px;
  color: #fff;
}

/* 首屏 */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  /* 右侧双流光提亮 + 渐变氛围 */
  background: 
    radial-gradient(circle at top right, rgba(0, 102, 255, 0.4), transparent 75%),
    radial-gradient(circle at 90% 35%, rgba(255, 110, 0, 0.3), transparent 70%),
    radial-gradient(circle at bottom left, rgba(255,102,0,0.15), transparent 60%),
    linear-gradient(135deg, #0c101b, #1a2342);
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 20px;
  flex-wrap: wrap;
  gap: 40px;
}

.hero-text h1 {
  font-size: 52px;
  line-height: 1.2;
}

.hero-text h1 span {
  color: var(--fly-orange);
}

.hero-text h2 {
  font-size: 24px;
  margin: 16px 0;
  font-weight: normal;
  opacity: 0.9;
}

.hero-text p {
  opacity: 0.8;
  margin-bottom: 30px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.btn-worker, .btn-employer {
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.btn-worker {
  background: linear-gradient(90deg, var(--ali-blue), #3388ff);
  color: #fff;
}

.btn-employer {
  background: linear-gradient(90deg, var(--fly-orange), #ff8800);
  color: #fff;
}

.hero-qrcode {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/** 🔽 首屏二维码：内边距从 6px → 2px（空白变小） **/
.hero-qrcode img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 2px; /* 这里改小：6px → 2px */
}

/* 优势 */
.advantages {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
  color: #fff;
}

.adv-cards {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.adv-card {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  width: 300px;
  text-align: center;
  transition: 0.3s;
}

.adv-card:hover {
  transform: translateY(-6px);
  border-color: var(--ali-blue);
}

.adv-card i {
  font-size: 40px;
  color: var(--ali-blue);
  margin-bottom: 20px;
}

/* 步骤 */
.section {
  padding: 80px 0;
}

.worker-section {
  background: rgba(0,102,255,0.05);
}

.employer-section {
  background: rgba(255,102,0,0.05);
}

.step-list {
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.step span {
  width: 44px;
  height: 44px;
  background: var(--ali-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.step p {
  font-size: 18px;
}

/* 服务 */
.service-section {
  padding: 80px 0;
  text-align: center;
}

.service-items {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.service {
  width: 140px;
}

.service i {
  font-size: 36px;
  color: var(--fly-orange);
  margin-bottom: 12px;
}

/* 底部 */
footer {
  background: #0a0f1d;
  padding: 40px 0 20px;
  border-top: 1px solid var(--border);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-left img {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
}

/** 🔽 底部二维码：内边距从 6px → 2px **/
.footer-right img {
  width: 90px;
  height: 90px;
  background: #fff;
  border-radius: 8px;
  padding: 2px; /* 这里改小：6px → 2px */
}

.copyright {
  text-align: center;
  margin-top: 30px;
  opacity: 0.6;
  font-size: 14px;
}

/* 移动端导航核心样式 */
@media (max-width: 900px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 72px;
    flex-direction: column;
    background-color: rgba(10, 15, 29, 0.95);
    backdrop-filter: blur(12px);
    width: 100%;
    height: calc(100vh - 72px);
    transition: 0.3s ease;
    z-index: 998;
    padding: 10px 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 4px 0;
    text-align: center;
  }

  .nav-menu a {
    font-size: 18px;
    display: block;
    padding: 8px 0;
  }

  .hamburger {
    display: block;
  }

  .nav-btns {
    display: none;
  }

  .mobile-btns {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
  }

  /* 手机端标题缩小 */
  .hero-text h1 {
    font-size: 28px;
    line-height: 1.3;
  }
  .hero-text h2 {
    font-size: 18px;
  }
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  .hero-btns {
    justify-content: center;
  }

  /** 🔽 手机端二维码再缩小 + 内边距 2px **/
  .hero-qrcode img {
    width: 70px;
    height: 70px;
    padding: 2px;
  }
  .footer-right img {
    width: 70px;
    height: 70px;
    padding: 2px;
  }
}

/* 桌面端隐藏移动端按钮 */
@media (min-width: 901px) {
  .mobile-btns {
    display: none !important;
  }
}

/* 全屏流光背景 */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: 
    radial-gradient(ellipse at 90% 30%, rgba(0, 120, 255, 0.3) 0%, transparent 65%),
    radial-gradient(ellipse at 75% 60%, rgba(255, 120, 0, 0.22) 0%, transparent 65%);
  animation: streamLight 4s ease-in-out infinite alternate;
}

/* 7个粒子 · 极度分散 · 超大间距 · PC端超远飞行 */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  /* 起飞点：左下偏中 → 极度分散、完全不扎堆 */
  background-image:
    radial-gradient(3px 3px at 20% 72%, #ffffff, transparent),
    radial-gradient(4px 4px at 27% 84%, #cce0ff, transparent),
    radial-gradient(3px 3px at 33% 76%, #e8f0ff, transparent),
    radial-gradient(4px 4px at 42% 87%, #fff1e0, transparent),
    radial-gradient(3px 3px at 24% 90%, #f0f7ff, transparent),
    radial-gradient(4px 4px at 38% 70%, #ffd2a8, transparent),
    radial-gradient(3px 3px at 30% 80%, #b3d8ff, transparent);

  background-repeat: no-repeat;
  animation: particleFly 4s linear infinite; /* 匀速流畅速度 */
}

/* 流光呼吸效果 */
@keyframes streamLight {
  0% { opacity: 0.4; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.15); }
}

/* 核心：PC端超大屏 超远飞行 · 30°夹角 · 直达右上角 */
@keyframes particleFly {
  0% {
    transform: translate(0, 0);
    opacity: 1;
  }
  /* 飞过二维码区域保持清晰 */
  75% {
    opacity: 0.95;
  }
  /* PC端终极超远距离：横向拉满 + 30°标准夹角 */
  100% {
    transform: translate(900px, -520px);
    opacity: 0;
  }
}