/* ========================================
   join-us.css - 加入我们页面样式
   Based on design reference
   ======================================== */

/* ---- Page-level ---- */
.join-us-page {
  position: relative;
  background: #ffffff;
}

/* ---- Header overrides ---- */
.join-us-page .site-header-static {
  z-index: 12;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.join-us-page .site-header-static.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(19, 34, 68, 0.06);
}

.join-us-page .site-nav {
  z-index: 13;
}

.join-us-page .site-nav a.is-active::after {
  bottom: -22px;
}

/* ---- Footer ---- */
.join-us-page .site-footer {
  background: #f4f6fc;
}

.join-us-page .footer-grid {
  padding-top: 70px;
}

.join-us-page .footer-bottom {
  margin-top: 64px;
}

/* ========================================
   Material Icons (from code.html)
   ======================================== */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ========================================
   Glass card (from code.html)
   ======================================== */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ========================================
   Bento grid (from code.html)
   ======================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 24px;
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
}

/* ========================================
   Section container (from code.html)
   ======================================== */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ========================================
   Hero override (from code.html)
   ======================================== */
.hero {
  min-height: 0 !important;
  padding-top: 0 !important;
}

/* ========================================
   Careers Hero
   ======================================== */
.careers-hero {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  padding-top: 120px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f4f5fb 0%, #e8ecf8 100%);
}

.careers-hero-inner {
  text-align: center;
  max-width: 896px;
  margin: 0 auto;
}

.careers-hero h1 {
  margin: 0 0 24px;
  color: #141824;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.careers-hero p {
  margin: 0 0 40px;
  color: #6f7480;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
}

.careers-cta-btn {
  display: inline-block;
  background: #1a75ff;
  color: #fff;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(26, 117, 255, 0.28);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.careers-cta-btn:hover {
  box-shadow: 0 12px 32px rgba(26, 117, 255, 0.36);
  transform: translateY(-1px);
}

/* ========================================
   Careers Sections
   ======================================== */
.careers-section {
  padding: 80px 0;
}

.careers-section:nth-child(even) {
  background: #f8f9fe;
}

/* ---- Section title ---- */
.careers-section-title {
  margin: 0 0 48px;
  color: #141824;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
}

.careers-section-title.is-center {
  text-align: center;
}

/* ---- Category ---- */
.careers-categories {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.careers-category-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.careers-category-icon {
  flex: none;
  width: 28px;
  height: 28px;
  color: #1a75ff;
}

.careers-category-name {
  margin: 0;
  color: #141824;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.33;
  white-space: nowrap;
}

.careers-category-line {
  flex: 1;
  height: 1px;
  background: #e8edf5;
}

/* ---- Job Items ---- */
.careers-jobs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.job-item {
  background: #ffffff;
  border: 1px solid #e8edf5;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s ease;
}

.job-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.job-item-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
}

.job-item-header-left h4 {
  margin: 0 0 4px;
  color: #1a75ff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.33;
}

.job-item-header-left p {
  margin: 0;
  color: #6f7480;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.43;
}

.job-item-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #1a75ff;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.job-item-toggle .expand-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.job-item.expanded .expand-icon {
  transform: rotate(90deg);
}

/* ---- Job details content (from code.html) ---- */
.job-details-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.job-item.expanded .job-details-content {
  max-height: 1000px;
}

.job-details-inner {
  border-top: 1px solid rgba(232, 237, 245, 0.5);
  background: #f8f9fe;
  padding: 32px 24px;
}

.job-details-inner h5 {
  margin: 0 0 8px;
  color: #141824;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.job-details-inner p {
  margin: 0;
  color: #6f7480;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
}

.job-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 24px;
}

.job-details-grid ul {
  margin: 0;
  padding-left: 20px;
  color: #6f7480;
  font-size: 15px;
  font-weight: 400;
  line-height: 2;
}

.job-details-inner .job-apply-btn {
  display: inline-block;
  margin-top: 28px;
  padding: 12px 36px;
  border-radius: 999px;
  background: #1a75ff;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.job-apply-btn:hover {
  background: #1565e0;
  box-shadow: 0 4px 16px rgba(26, 117, 255, 0.32);
}

/* ========================================
   FAQ
   ======================================== */
.careers-faq-inner {
  max-width: 760px;
  margin: 0 auto;
}

.careers-faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e8edf5;
  border-radius: 12px;
  padding: 24px;
  transition: box-shadow 0.2s ease;
}

.faq-item[open] {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none;
  color: #141824;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.33;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary svg {
  flex: none;
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  color: #6f7480;
}

.faq-item[open] summary svg {
  transform: rotate(180deg);
}

.faq-answer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e8edf5;
  color: #6f7480;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1260px) {
  .careers-hero {
    min-height: 520px;
    padding-top: 100px;
    padding-bottom: 72px;
  }

  .careers-section {
    padding: 64px 0;
  }
}

@media (max-width: 1080px) {
  .careers-hero h1 {
    font-size: 40px;
  }

  .careers-hero p {
    font-size: 17px;
  }
}

@media (max-width: 760px) {
  .join-us-page .site-header {
    z-index: 24;
  }

  .join-us-page .site-nav {
    z-index: 25;
  }

  .join-us-page .site-nav a.is-active::after {
    bottom: -12px;
  }

  .careers-hero {
    min-height: auto;
    padding-top: 88px;
    padding-bottom: 64px;
  }

  .careers-hero h1 {
    font-size: 34px;
    line-height: 1.25;
  }

  .careers-hero p {
    font-size: 16px;
  }

  .careers-cta-btn {
    padding: 14px 28px;
    font-size: 15px;
  }

  .careers-section {
    padding: 48px 0;
  }

  .careers-section-title {
    font-size: 26px;
    margin-bottom: 32px;
  }

  .careers-categories {
    gap: 40px;
  }

  .careers-category-name {
    font-size: 20px;
  }

  .job-item-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
  }

  .job-item-header-left h4 {
    font-size: 16px;
  }

  .job-details-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .job-details-inner {
    padding: 24px 20px;
  }

  .careers-faq-inner {
    max-width: 100%;
  }

  .faq-item {
    padding: 20px;
  }

  .faq-item summary {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .careers-hero h1 {
    font-size: 28px;
  }

  .careers-hero {
    padding-top: 80px;
    padding-bottom: 48px;
  }

  .careers-section-title {
    font-size: 22px;
  }

  .careers-category-name {
    font-size: 18px;
  }
}
