* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  background-color: #f9fafb;
  color: #1a1a1a;
  line-height: 1.6;
}

.hero {
  margin-top: 6rem;
  text-align: center;
  padding: 80px 20px 60px;
  background-color: #fff;
}

.hero-label {
  color: #059669;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.hero p {
  color: #6b7280;
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.careers-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
}

.positions-header {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 60px;
  color: #1a1a1a;
}

.content-wrapper {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 40px;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 90px;
}

.filter-group {
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.filter-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s ease;
  font-size: 14px;
  color: #374151;
}

.filter-item:hover {
  background: #f3f4f6;
}

.filter-item.active {
  background: #10b981;
  color: #fff;
  font-weight: 600;
}

.filter-count {
  font-size: 13px;
  color: inherit;
}

.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.job-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.job-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.job-title {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.job-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.tag {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
}

.job-description {
  color: #4b5563;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #10b981;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.apply-btn:hover {
  background: #059669;
}

.apply-btn::after {
  content: "→";
  font-size: 16px;
  transition: transform 0.3s ease;
}

.apply-btn:hover::after {
  transform: translateX(4px);
}

@media (max-width: 968px) {
  .careers-container {
    padding: 20px 20px;
  }
  .content-wrapper {
    grid-template-columns: 1fr;
    max-width: 90%;
  }

  .sidebar {
    position: static;
    order: -1;
  }

  .filter-group {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 12px;
  }

  .filter-item {
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  .hero {
    margin-top: 2rem;
    text-align: center;
    padding: 60px 16px 40px;
    background-color: #fff;
  }

  .careers-container {
    padding: 20px 10px;
    width: 100%;
    overflow-x: hidden;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .positions-header {
    font-size: 24px;
    margin-bottom: 40px;
  }

  .content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    margin: auto;
  }

  .sidebar {
    width: 100%;
    border-radius: 8px;
    overflow-x: auto;
  }

  .filter-group {
    display: flex;
    gap: 8px;
    padding: 12px;
    overflow-x: auto;
  }

  .filter-item {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .jobs-list {
    background-color: transparent;
    width: 100%;
  }

  .job-card {
    padding: 20px;
    width: 100%;
  }

  .job-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .job-title {
    font-size: 18px;
  }

  body {
    overflow-x: hidden;
  }
}
