/* 加入赢瑞页面样式 */

/* 招聘主区域 */
.join-hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
  background: #f7f8fb;
}

.join-hero .container {
  position: relative;
  z-index: 1;
}

.join-hero-content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  gap: 4rem;
}

.join-title {
  font-size: 4.6rem;
  font-weight: bold;
  margin-bottom: 3.2rem;
  color: #333;
  white-space: nowrap;
}

.join-title .ying {
  color: #3a98fa;
}

.join-title .rui {
  color: #f81ee3;
}

.join-subtitle {
  font-size: 1.8rem;
  color: #a2a3a5;
  margin-bottom: 1rem;
}

.join-description p {
  font-size: 1.8rem;
  color: #a2a3a5;
}

/* 职位分类 */
.job-categories {
  padding: 10rem 0;
  background: #f8fafc;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.category-card {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  height: 40rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
}

.category-card:hover {
  transform: translateY(-1rem);
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.15);
}

.category-image {
  position: relative;
  width: 100%;
  height: 100%;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.category-card:hover .category-image img {
  transform: scale(1.1);
}

.category-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 3rem;
  transition: transform 0.3s ease;
}

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

.category-content {
  text-align: center;
  color: white;
  padding: 3rem;
}

.category-title {
  font-size: 2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  justify-content: center;
}

/* 公司福利 */
.company-benefits {
  padding: 10rem 0;
  background: white;
}

.section-title {
  font-size: 3.6rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 4rem;
  color: #1a202c;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4rem;
  overflow: hidden;
  padding: 2.4rem;
}

.benefit-item {
  text-align: center;
  padding: 6rem 3rem;
  border-radius: 1.5rem;
  background: white;
  transition: all 0.3s ease;
  border: 0.1rem solid transparent;
  box-shadow: 0rem 0.4rem 1.6rem rgba(0, 0, 0, 0.1);
}

.benefit-item:hover {
  box-shadow: 0 1rem 3rem rgba(102, 126, 234, 0.1);
}

.benefit-icon {
  width: 8rem;
  height: 8rem;
  margin: 0 auto 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.benefit-icon img {
  height: 100%;
  transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon img {
  transform: scale(1.1);
}

.benefit-icon .iconfont {
  font-size: 2rem;
  color: white;
}

.benefit-item h3 {
  font-size: 2rem;
  font-weight: 600;
  color: #1a202c;
}

.benefit-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
}

/* 企业文化展示 */
.company-culture-showcase {
  padding: 10rem 0;
  background: #f8fafc;
  position: relative;
  overflow: hidden;
  max-width: 100vw;
}

.culture-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
          135deg,
          rgba(102, 126, 234, 0.05) 0%,
          rgba(118, 75, 162, 0.05) 100%
  );
  z-index: -1;
}

.culture-content {
  display: flex;
  flex-direction: column;
  justify-content: end;
  height: 60rem;
  width: fit-content;
}

.culture-text p {
  font-size: 2.2rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #333;
}

.culture-info {
  background: white;
  width: 60%;
  padding: 2.4rem;
  border-radius: 2rem;
  box-shadow: 0rem 0.4rem 1.6rem rgba(0, 0, 0, 0.1);
  margin-top: 4.4rem;
}

.culture-info h2 {
  font-size: 2.4rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 2.4rem;
}

.culture-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.culture-item {
  display: flex;
  flex-direction: column;
}

.culture-label {
  font-size: 1.4rem !important;
  color: #999;
}

.culture-value {
  font-size: 1.8rem !important;
  color: #333;
}

.culture-visual {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.culture-visual img {
  width: 100%;
}

/* 响应式设计 */
@media (max-width: 102.4rem) {
  .join-hero-content {
    flex-direction: column;
    gap: 3rem;
    text-align: center;
  }

  .join-title {
    white-space: normal;
    font-size: 3.6rem;
  }

  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .category-card {
    height: 35rem;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .culture-content {
    height: auto;
    width: 100%;
    text-align: center;
    font-size: 1.8rem;
  }

  .culture-info {
    width: 100%;
    margin: 3rem 0;
  }

  .culture-visual {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin-top: 2rem;
  }

  .culture-visual img {
    max-width: 100%;
  }
}

/* 平板竖屏 (768px - 1023px) */
@media (max-width: 76.8rem) {
  .join-hero {
    height: auto;
    min-height: 100vh;
    padding: 8rem 0 4rem;
  }

  .join-title {
    font-size: 2.8rem;
  }

  .join-subtitle {
    font-size: 1.6rem;
  }

  .join-description p {
    font-size: 1.6rem;
  }

  .section-title {
    font-size: 2.8rem;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .category-card {
    height: 25rem;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    padding: 1.5rem;
  }

  .benefit-item {
    padding: 4rem 2rem;
  }

  .culture-text p {
    font-size: 2rem;
  }
}

/* 小平板/手机横屏 (481px - 767px) */
@media (max-width: 48rem) {
  .join-hero-content {
    padding-top: 0;
  }

  .join-title {
    font-size: 2.4rem;
  }

  .join-subtitle {
    font-size: 1.4rem;
  }

  .join-description p {
    font-size: 1.4rem;
  }

  .section-title {
    font-size: 2.4rem;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .category-card {
    height: 22rem;
  }

  .benefits-grid {
    gap: 2rem;
    padding: 1rem;
  }

  .benefit-item {
    padding: 3rem 2rem;
  }

  .benefit-icon {
    width: 6rem;
    height: 6rem;
  }

  .benefit-item h3 {
    font-size: 1.8rem;
  }

  .culture-text p {
    font-size: 1.8rem;
    line-height: 1.6;
  }

  .culture-info {
    padding: 2rem;
  }

  .culture-info h2 {
    font-size: 2rem;
  }

  .culture-value {
    font-size: 1.6rem !important;
  }
}

@media (max-width: 37.5rem) {
  .join-title {
    font-size: 4rem;
  }

  .join-subtitle {
    font-size: 1.8rem;
  }

  .join-description p {
    font-size: 1.8rem;
  }

  .join-left {
    margin-bottom: 4rem;
  }

  .category-title .iconfont {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 2rem;
  }

  .category-overlay {
    padding: 2rem 0;
  }

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

  .category-card {
    height: 20rem;
  }

  .culture-text p {
    font-size: 1.8rem;
  }

  .culture-info h2 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
  }

  .culture-label {
    font-size: 2rem !important;
  }

  .culture-value {
    font-size: 2rem !important;
  }

  .company-benefits {
    padding: 4rem 0;
  }

  .company-culture-showcase {
    padding: 4rem 0;
  }

  .culture-details {
    gap: 1rem;
  }
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
  .join-title {
    font-size: 4.2rem;
  }

  .join-subtitle {
    font-size: 2rem;
  }

  .join-description p {
    font-size: 2rem;
  }
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .category-card{
    height: 36rem;
  }
  .join-right{
    padding: 2.4rem 4.8rem;
  }
  .section-title{
    font-size: 3rem;
  }
  .benefits-grid{
    grid-template-columns: repeat(4, 1fr);
  }
}
