/* ========================================
   Careers Page Styles
   ======================================== */

/* ---- Careers Hero ---- */
.careers-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
}
.careers-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
}

/* ---- Why Join ---- */
.why-join {
  padding: 6rem 0 8rem;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}
.perks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.perk-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  text-align: center;
  transition: all 0.4s var(--ease);
}
.perk-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
.perk-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 1.25rem;
  color: var(--accent-2);
}
.perk-icon svg { width: 100%; height: 100%; }
.perk-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.perk-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- Positions ---- */
.positions {
  padding: 8rem 0;
}
.jobs-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.job-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.job-card:hover { border-color: var(--border-hover); }

.job-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  cursor: pointer;
  user-select: none;
  transition: background 0.3s;
}
.job-header:hover { background: rgba(255,255,255,0.02); }

.job-info h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.job-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.job-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(245, 166, 35, 0.1);
  color: var(--accent-2);
  border: 1px solid rgba(245, 166, 35, 0.15);
}

.job-toggle {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  color: var(--text-secondary);
  transition: all 0.3s var(--ease);
}
.job-card.expanded .job-toggle {
  transform: rotate(180deg);
  color: var(--accent-1);
}

.job-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.job-card.expanded .job-details {
  max-height: 800px;
}

.job-body {
  padding: 0 2rem 2rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}
.job-section {
  margin-bottom: 1.5rem;
}
.job-section h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}
.job-section p {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.job-section ul {
  list-style: none;
  padding: 0;
}
.job-section li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
}
.job-section li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-2);
}

.job-body .btn {
  margin-top: 0.5rem;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .perks-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .perks-grid { grid-template-columns: 1fr; }
  .careers-hero { min-height: 60vh; }
  .job-header { padding: 1.25rem 1.5rem; }
  .job-body { padding: 0 1.5rem 1.5rem; padding-top: 1.25rem; }
}
