/* 加入我们页面样式 */

.careers-page {
  background: var(--bg-light);
}

/* Hero 区域 */
.careers-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #fef3f8 0%, #f0f4ff 100%);
  padding: 8rem 0 4rem;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float-slow 20s ease-in-out infinite;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--primary);
  top: -10%;
  left: -10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: var(--secondary);
  bottom: -10%;
  right: -10%;
  animation-delay: 7s;
}

.orb-3 {
  width: 350px;
  height: 350px;
  background: var(--accent);
  top: 50%;
  right: 10%;
  animation-delay: 14s;
}

@keyframes float-slow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: white;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  animation: fadeInUp 0.6s ease-out;
}

.badge-icon {
  font-size: 1.2rem;
  animation: sparkle 2s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.title-main {
  display: block;
  color: var(--text-primary);
}

.title-highlight {
  display: block;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.3rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 3rem;
  animation: fadeInUp 0.6s ease-out 0.4s backwards;
}

.hero-status {
  animation: fadeInUp 0.6s ease-out 0.6s backwards;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  background: white;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.status-icon {
  font-size: 2rem;
}

.status-text {
  text-align: left;
}

.status-text strong {
  display: block;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.status-text p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 为什么选择我们 */
.why-join {
  padding: 6rem 0;
  background: white;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-card {
  padding: 2rem;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.benefit-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.benefit-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* 职位列表 */
.positions-future {
  padding: 6rem 0;
  background: var(--bg-light);
}

.positions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.position-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.position-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.position-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.position-icon {
  width: 50px;
  height: 50px;
  background: var(--bg-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid var(--border-color);
}

.position-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--primary);
  stroke-width: 2;
}

.position-info {
  flex: 1;
}

.position-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.position-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  padding: 0.25rem 0.75rem;
  background: rgba(155, 89, 244, 0.1);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.position-status {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

.position-status.preparing {
  background: rgba(251, 191, 36, 0.1);
  color: #d97706;
  border: 2px solid rgba(251, 191, 36, 0.3);
}

.position-desc {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.position-requirements {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
}

.position-requirements h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.position-requirements ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.position-requirements li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
}

.position-requirements li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* 我们在寻找 */
.looking-for {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
}

.looking-content {
  text-align: center;
}

.looking-content h2 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 3rem;
}

.traits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.trait-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.trait-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.4);
}

.trait-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.trait-item h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.trait-item p {
  margin: 0;
  opacity: 0.9;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* 招聘状态 */
.hiring-status {
  padding: 6rem 0;
  background: white;
}

.status-card {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 4rem 3rem;
  background: var(--bg-gradient);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-color);
}

.status-icon-large {
  font-size: 5rem;
  margin-bottom: 2rem;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.status-card h2 {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.status-message {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 3rem;
}

/* 时间轴 */
.status-timeline {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 3rem 0;
  padding: 2rem;
  background: white;
  border-radius: var(--radius-md);
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  background: var(--border-color);
  border-radius: 50%;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.timeline-item.active .timeline-dot {
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(155, 89, 244, 0.2);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.timeline-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.timeline-line {
  width: 100px;
  height: 2px;
  background: var(--border-color);
  position: relative;
  top: -30px;
}

/* 通知区域 */
.notify-section {
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(155, 89, 244, 0.05);
  border-radius: var(--radius-md);
  border: 2px dashed var(--border-color);
}

.notify-section h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.notify-section p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.notify-section a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.notify-section a:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: white;
  border: 2px solid var(--border-color);
  border-radius: 50px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-3px);
}

.social-link span:first-child {
  font-size: 1.2rem;
}

/* 自荐区域 */
.self-recommend {
  padding: 4rem 0 6rem;
  background: var(--bg-light);
}

.recommend-box {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem;
  background: white;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.recommend-box h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.recommend-box p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.recommend-box .btn {
  margin-top: 2rem;
  display: inline-flex;
}

/* 响应式 */
@media (max-width: 1024px) {
  .positions-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  .traits-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  .careers-hero {
    min-height: 60vh;
    padding: 6rem 0 3rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  .benefits-grid,
  .positions-grid,
  .traits-grid {
    grid-template-columns: 1fr;
  }
  
  .status-timeline {
    flex-direction: column;
    gap: 1rem;
  }
  
  .timeline-line {
    width: 2px;
    height: 60px;
    top: 0;
  }
  
  .status-card {
    padding: 2rem 1.5rem;
  }
  
  .recommend-box {
    padding: 2rem 1.5rem;
  }
  
  .position-status {
    position: static;
    margin-top: 0.5rem;
    display: inline-block;
  }
  
  .position-header {
    flex-wrap: wrap;
  }
}
