/* ===========================================================
   WE思平 招聘官网 · 样式
   品牌色取自 logo：暖色渐变（橙→红）+ 蓝
   =========================================================== */

:root {
  --bg: #07080c;
  --bg-soft: #0b0d13;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #eef0f6;
  --text-2: #b9becd;
  --muted: #8b93a7;

  --warm-1: #ffc24b;
  --warm-2: #ff7a00;
  --warm-3: #ff3b2f;
  --blue: #2f6bff;
  --blue-2: #4d9bff;

  --grad-warm: linear-gradient(100deg, #ffc24b 0%, #ff8a00 38%, #ff3b2f 100%);
  --grad-cool: linear-gradient(100deg, #4d9bff 0%, #2f6bff 100%);

  --radius: 18px;
  --radius-lg: 26px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1160px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

p { margin: 0; text-wrap: pretty; }

li, dd, .job-list li { text-wrap: pretty; }

.nowrap { white-space: nowrap; }

h1, h2, h3 { text-wrap: balance; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}

/* ---------- 通用元素 ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--warm-2);
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.16);
  animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.18); }
  50% { box-shadow: 0 0 0 7px rgba(255, 122, 0, 0.05); }
}

.grad-text {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    background 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-warm);
  color: #1a0a00;
  box-shadow: 0 10px 30px -12px rgba(255, 106, 0, 0.85);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px -12px rgba(255, 106, 0, 0.95);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
  font-weight: 600;
  font-family: inherit;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.btn-sm { height: 40px; padding: 0 20px; font-size: 14px; }
.btn-lg { height: 56px; padding: 0 34px; font-size: 16px; }

/* ---------- 顶部导航 ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(7, 8, 12, 0.78);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
  flex-shrink: 0;
  box-shadow: 0 6px 20px -8px rgba(0, 0, 0, 0.7);
}

.logo-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.logo-tile-nav { width: 46px; height: 46px; border-radius: 12px; }
.logo-tile-lg  { width: 152px; height: 152px; border-radius: 20px; }
.logo-tile-xs  { width: 34px; height: 34px; border-radius: 9px; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-text strong {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.brand-text em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.nav a {
  position: relative;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-2);
  padding: 6px 0;
  transition: color 0.25s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-warm);
  transition: width 0.3s var(--ease);
}

.nav a:hover { color: var(--text); }
.nav a:hover::after { width: 100%; }

.header-cta { margin-left: 8px; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-left: auto;
}
.menu-toggle span {
  display: block;
  width: 17px;
  height: 1.8px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  padding: clamp(126px, 17vh, 178px) 0 clamp(56px, 7vh, 86px);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}
.glow-warm {
  width: 620px;
  height: 620px;
  top: -260px;
  right: -120px;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.55), transparent 65%);
  animation: float 14s ease-in-out infinite;
}
.glow-blue {
  width: 560px;
  height: 560px;
  top: -80px;
  left: -220px;
  background: radial-gradient(circle, rgba(47, 107, 255, 0.45), transparent 65%);
  animation: float 18s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-24px, 24px, 0); }
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 78%);
}

.hero-inner { max-width: 960px; }

.hero-title {
  font-size: clamp(40px, 7.2vw, 84px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 26px;
}

.hero-sub {
  max-width: 640px;
  font-size: clamp(15px, 1.8vw, 17.5px);
  color: var(--text-2);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(42px, 6vh, 64px);
  border-top: 1px solid var(--line);
  padding-top: 30px;
}

.hero-stats > div {
  padding-right: 20px;
  border-right: 1px solid var(--line);
}
.hero-stats > div:last-child { border-right: 0; }
.hero-stats > div:not(:first-child) { padding-left: 26px; }

.hero-stats dt {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 8px;
}
.hero-stats dd {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.hero-stats dd.dd-text {
  font-size: clamp(15px, 1.7vw, 18px);
  font-weight: 700;
  letter-spacing: 0;
  padding-top: 8px;
}
.hero-stats dd i {
  font-style: normal;
  font-size: 0.6em;
  color: var(--warm-2);
}

/* ---------- 章节通用 ---------- */

.section {
  padding: clamp(60px, 7.4vw, 96px) 0;
  border-top: 1px solid var(--line);
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 60%);
}

.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 62px); }

.section-title {
  font-size: clamp(28px, 4.4vw, 46px);
  margin-bottom: 20px;
}

.section-lead {
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--text-2);
  line-height: 1.9;
  max-width: 700px;
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  max-width: none;
}

.section-note {
  max-width: 372px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  text-align: right;
  flex-shrink: 0;
}

/* ---------- 关于 / 价值观 ---------- */

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.value-card {
  position: relative;
  padding: 34px 30px 32px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
    background 0.4s var(--ease);
  overflow: hidden;
}

.value-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: var(--grad-warm);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  background: var(--surface-2);
}
.value-card:hover::before { opacity: 1; }

.value-index {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--warm-2);
  margin-bottom: 18px;
}

.value-card h3 { font-size: 20px; margin-bottom: 12px; }
.value-card p { font-size: 14.5px; color: var(--text-2); line-height: 1.85; }

/* ---------- 岗位 ---------- */

.job-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.job-card {
  display: flex;
  flex-direction: column;
  padding: 30px 30px 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
    background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.job-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 138, 0, 0.42);
  background: var(--surface-2);
  box-shadow: 0 24px 60px -34px rgba(255, 106, 0, 0.7);
}

.job-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.job-top h3 {
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.35;
}

.job-tag {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 999px;
  color: #ffb27a;
  background: rgba(255, 122, 0, 0.1);
  border: 1px solid rgba(255, 122, 0, 0.24);
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  margin-bottom: 20px;
}

.job-meta li {
  font-size: 13px;
  color: var(--muted);
  padding-right: 14px;
  margin-right: 14px;
  border-right: 1px solid var(--line);
  line-height: 1.4;
}
.job-meta li:last-child { border-right: 0; padding-right: 0; margin-right: 0; }

.job-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 26px;
}

.job-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.75;
}

.job-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--grad-warm);
  opacity: 0.85;
}

.job-apply {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  transition: color 0.3s var(--ease), gap 0.3s var(--ease);
}

.job-apply span { transition: transform 0.3s var(--ease); }
.job-card:hover .job-apply { color: #ffb27a; gap: 12px; }
.job-card:hover .job-apply span { transform: translateX(2px); }

/* ---------- 福利 ---------- */

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.benefit {
  background: var(--bg);
  padding: 30px 26px;
  transition: background 0.4s var(--ease);
}
.benefit:hover { background: #0d1018; }

.benefit h3 {
  font-size: 17px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.benefit h3::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad-cool);
  flex-shrink: 0;
}

.benefit p { font-size: 14px; color: var(--text-2); line-height: 1.85; }

/* ---------- 流程 ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-top: 26px;
  border-top: 1px solid var(--line-strong);
}

.steps li::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 46px;
  height: 2px;
  background: var(--grad-warm);
}

.step-no {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--warm-2);
  margin-bottom: 14px;
}

.steps h3 { font-size: 17px; margin-bottom: 10px; }
.steps p { font-size: 14px; color: var(--text-2); line-height: 1.8; }

/* ---------- 联系 ---------- */

.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 70px);
  padding: clamp(34px, 5vw, 62px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: radial-gradient(120% 140% at 100% 0%, rgba(255, 122, 0, 0.14), transparent 55%),
    radial-gradient(100% 120% at 0% 100%, rgba(47, 107, 255, 0.14), transparent 55%),
    #0a0c12;
  overflow: hidden;
}

.contact-left h2 {
  font-size: clamp(26px, 3.6vw, 42px);
  margin-bottom: 20px;
  line-height: 1.2;
}

.contact-desc {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.9;
  max-width: 480px;
  margin-bottom: 30px;
}

.contact-right {
  display: flex;
  flex-direction: column;
  gap: 26px;
  justify-content: center;
  border-left: 1px solid var(--line);
  padding-left: clamp(24px, 4vw, 48px);
}

.contact-card .logo-tile-lg { box-shadow: 0 16px 44px -18px rgba(0, 0, 0, 0.85); }

.contact-list { display: flex; flex-direction: column; gap: 16px; }

.contact-list dt {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-list dd { font-size: 15px; font-weight: 600; color: var(--text); }
.contact-list dd a { border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
.contact-list dd a:hover { color: #ffb27a; border-color: rgba(255, 178, 122, 0.6); }

/* ---------- 页脚 ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 40px;
  background: #06070a;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand .logo-tile { box-shadow: none; }

.footer-brand strong {
  display: block;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.footer-brand span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.footer-meta {
  text-align: right;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
}

.footer-links a { color: var(--text-2); transition: color 0.25s var(--ease); }
.footer-links a:hover { color: #ffb27a; }
.footer-links .sep { margin: 0 10px; opacity: 0.4; }

/* ---------- 入场动画 ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .glow { animation: none; }
  .eyebrow .dot { animation: none; }
}

/* ---------- 响应式 ---------- */

@media (max-width: 1000px) {
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; }
  .hero-stats > div:nth-child(2) { border-right: 0; }
  .hero-stats > div:nth-child(3) { padding-left: 0; }
  .value-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-right {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 30px;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
  }
  .contact-card .logo-tile-lg { width: 112px; height: 112px; border-radius: 16px; }
}

@media (max-width: 860px) {
  .header-inner { height: 68px; gap: 14px; }
  .nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 22px;
    background: rgba(7, 8, 12, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .nav.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav a {
    padding: 15px 2px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav a::after { display: none; }
  .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .job-grid { grid-template-columns: 1fr; }
  .section-head-row { flex-direction: column; align-items: flex-start; gap: 18px; }
  .section-note { text-align: left; max-width: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-meta { text-align: left; }
}

@media (max-width: 560px) {
  .hero { padding-top: 118px; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .btn-ghost { font-size: 13.5px; padding: 0 16px; }
  .hero-stats dt { font-size: 11.5px; }
  .value-card, .job-card, .benefit { padding-left: 22px; padding-right: 22px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .contact-card { padding: 28px 22px; }
  .contact-right { flex-direction: column; align-items: flex-start; }
}
