/* 服务相关区域样式 */

/* 订阅区域 */
.newsletter {
  background-color: var(--light-gray);
  padding: 5rem 0;
  text-align: center;
}

.newsletter h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.newsletter p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: var(--dark-gray);
}

.subscribe-form {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
}

.subscribe-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 3px 0 0 3px;
  font-size: 1rem;
  outline: none;
}

.subscribe-form button {
  background-color: var(--accent-color);
  color: white;
  border: none;
  border-radius: 0 3px 3px 0;
  padding: 0 2rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition-speed) ease;
}

.subscribe-form button:hover {
  background-color: #0045cc;
}

/* 招聘区域 */
.careers {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #e9f2ff 0%, #f8f9fa 100%);
  padding: 100px 0;
  z-index: 1;
}

/* 顶部左侧大圆形装饰 */
.careers::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -120px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,153,255,0.18) 0%, rgba(0,153,255,0.08) 70%, rgba(0,153,255,0) 100%);
  z-index: -1;
  animation: float-circle 15s ease-in-out infinite;
}

/* 底部右侧大圆形装饰 */
.careers::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,130,31,0.2) 0%, rgba(244,130,31,0.08) 70%, rgba(244,130,31,0) 100%);
  z-index: -1;
  animation: float-circle 18s ease-in-out infinite reverse;
}

/* 添加额外的装饰性圆形元素 */
.careers .decoration-circle-1 {
  position: absolute;
  top: 25%;
  right: 15%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(51,204,153,0.15) 0%, rgba(51,204,153,0.06) 70%, rgba(51,204,153,0) 100%);
  z-index: -1;
  animation: float-circle-alt 20s ease-in-out infinite;
}

.careers .decoration-circle-2 {
  position: absolute;
  bottom: 30%;
  left: 18%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(153,102,255,0.12) 0%, rgba(153,102,255,0.05) 70%, rgba(153,102,255,0) 100%);
  z-index: -1;
  animation: float-circle-alt 22s ease-in-out infinite reverse;
}

.careers .decoration-circle-3 {
  position: absolute;
  top: 60%;
  right: 30%;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,204,0,0.1) 0%, rgba(255,204,0,0.04) 70%, rgba(255,204,0,0) 100%);
  z-index: -1;
  animation: float-circle-alt 17s ease-in-out infinite alternate;
}

/* 浮动动画 */
@keyframes float-circle {
  0% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-20px) translateX(15px);
  }
  100% {
    transform: translateY(0) translateX(0);
  }
}

@keyframes float-circle-alt {
  0% {
    transform: translateY(0) translateX(0) scale(1);
  }
  50% {
    transform: translateY(-15px) translateX(10px) scale(1.05);
  }
  100% {
    transform: translateY(0) translateX(0) scale(1);
  }
}

/* 悬停效果 */
.careers:hover::before {
  animation-play-state: paused;
  transform: scale(1.1);
}

.careers:hover::after {
  animation-play-state: paused;
  transform: scale(1.1);
}

.careers:hover .decoration-circle-1,
.careers:hover .decoration-circle-2,
.careers:hover .decoration-circle-3 {
  animation-play-state: paused;
  transform: scale(1.1);
}

/* 内容容器 */
.careers .container {
  position: relative;
  z-index: 2;
}

.careers h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.careers p {
  font-size: 1.2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.careers .cta-button {
  background-color: white;
  color: var(--primary-color);
}

.careers .cta-button:hover {
  background-color: var(--accent-color);
  color: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .newsletter h2 {
    font-size: 2rem;
  }
  
  .newsletter p {
    font-size: 1.1rem;
  }
  
  .subscribe-form {
    flex-direction: column;
    padding: 0 1rem;
  }
  
  .subscribe-form input {
    border-radius: 3px;
    margin-bottom: 1rem;
  }
  
  .subscribe-form button {
    border-radius: 3px;
    padding: 1rem;
  }
  
  .careers h2 {
    font-size: 2.2rem;
  }
  
  .careers p {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .newsletter h2 {
    font-size: 1.8rem;
  }
  
  .careers h2 {
    font-size: 1.8rem;
  }
}
