:root {
  --primary-color: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --accent-color: #ec4899;
  --success-color: #10b981;
  --text-color: #1f2937;
  --text-secondary: #6b7280;
  --light-bg: #f9fafb;
  --card-bg: #ffffff;
  --border-radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  background: linear-gradient(135deg, var(--light-bg) 0%, #f3f4f6 100%);
  margin: 0;
  padding: 0;
  color: var(--text-color);
  line-height: 1.6;
}

/* ===== HEADER & NAVIGATION ===== */
.radar-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  box-shadow: var(--shadow-lg);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  margin: 0;
  font-size: 1.8em;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo h1 span {
  font-weight: 300;
  opacity: 0.85;
}

.main-nav {
  display: none;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.main-nav a:hover {
  opacity: 0.9;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: var(--transition);
}

.main-nav a:hover::after {
  width: 100%;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.mobile-nav {
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-nav.active {
  max-height: 300px;
}

.mobile-nav ul {
  list-style: none;
  padding: 15px 20px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-nav li {
  list-style: none;
}

.mobile-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  display: block;
  padding: 10px 0;
  transition: var(--transition);
}

.mobile-nav a:hover {
  color: var(--primary-light);
}

.hero {
  text-align: center;
  padding: 80px 20px 60px;
  max-width: 900px;
  margin: 0 auto;
}

.hero h2 {
  margin: 0 0 20px 0;
  font-size: 2.5em;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  margin: 0;
  font-size: 1.1em;
  line-height: 1.8;
  opacity: 0.95;
}

/* ===== MAIN CONTENT ===== */
main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px 20px;
}

/* ===== SALARY PULSE SECTION ===== */
.salary-pulse {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  border: 2px solid var(--primary-light);
  position: relative;
  overflow: hidden;
}

.salary-pulse::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
  pointer-events: none;
}

/* ===== FILTERS SECTION ===== */
.filters-section {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: var(--shadow);
  border: 1px solid #e5e7eb;
}

.filters-section h3 {
  margin: 0 0 20px 0;
  color: var(--text-color);
  font-weight: 700;
}

.filters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-group label {
  font-weight: 500;
  color: var(--text-color);
  font-size: 0.95em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-group input[type="checkbox"] {
  cursor: pointer;
  width: 18px;
  height: 18px;
  accent-color: var(--primary-color);
}

.filter-group select,
.filter-group input[type="number"] {
  padding: 10px 12px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.95em;
  transition: var(--transition);
  background: white;
  color: var(--text-color);
}

.filter-group select:focus,
.filter-group input[type="number"]:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
  pointer-events: none;
}

.pulse-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
}

.pulse-header h3 {
  margin: 0;
  font-size: 1.5em;
}

.coming-soon-badge {
  background: linear-gradient(135deg, var(--accent-color) 0%, #f43f5e 100%);
  color: white;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.salary-pulse p {
  margin: 0 0 25px 0;
  color: var(--text-secondary);
  font-size: 1.05em;
}

.email-opt-in {
  display: flex;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.email-opt-in input {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1em;
  transition: var(--transition);
  background: #fafbfc;
}

.email-opt-in input:focus {
  outline: none;
  border-color: var(--primary-color);
  background: white;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.email-opt-in button {
  padding: 12px 32px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.email-opt-in button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}


/* ===== JOB CARDS ===== */
.job-card {
  background: var(--card-bg);
  padding: 24px;
  margin-bottom: 16px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid #e5e7eb;
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

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

.job-title {
  font-size: 1.3em;
  margin: 0;
  font-weight: 700;
  color: var(--text-color);
  transition: var(--transition);
}

.job-card:hover .job-title {
  color: var(--primary-color);
}

.job-description {
  margin: 12px 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.job-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 15px;
}

.job-detail-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95em;
  color: var(--text-color);
}

.company-icon,
.location-icon,
.salary-icon {
  color: var(--primary-color);
  font-size: 1.2em;
}

.salary-icon {
  color: var(--success-color);
}

.job-footer {
  text-align: right;
}

.apply-button {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 11px 20px;
  text-decoration: none;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.apply-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.35);
}

/* ===== PAGINATION ===== */
#pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 50px auto 70px;
  flex-wrap: wrap;
}

.pagination-btn {
  border: 2px solid #e5e7eb;
  padding: 10px 14px;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-weight: 500;
  transition: var(--transition);
  color: var(--text-color);
}

.pagination-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.pagination-btn.active {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  border-color: var(--primary-color);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.material-icons {
  vertical-align: middle;
  font-size: 1.2em;
}

/* ===== FOOTER ===== */
.radar-footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #d0d0d0;
  padding: 60px 20px 25px;
  margin-top: 70px;
  font-size: 0.95em;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.footer-section h4,
.footer-section h5 {
  margin: 0 0 15px 0;
  color: white;
  font-size: 1.1em;
}

.logo-radar {
  font-size: 1.4em;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-radar span {
  font-weight: 300;
  opacity: 0.9;
}

.footer-section p {
  margin: 0 0 15px 0;
  line-height: 1.7;
  color: #a0a0a0;
  font-size: 0.95em;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  list-style: none;
  margin-bottom: 12px;
}

.footer-section a {
  color: #a0a0a0;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

.footer-section a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-light);
  transition: var(--transition);
}

.footer-section a:hover {
  color: white;
}

.footer-section a:hover::after {
  width: 100%;
}

.footer-base {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 25px;
  border-top: 1px solid #333;
  text-align: center;
  color: #808080;
  font-size: 0.9em;
}

.footer-base p {
  margin: 0;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (min-width: 768px) {
  .hamburger {
    display: none;
  }

  .main-nav {
    display: block !important;
  }

  .mobile-nav {
    display: none !important;
    max-height: 0 !important;
  }

  .hero h2 {
    font-size: 3em;
  }

  .job-details {
    flex-direction: row;
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767px) {
  .filters-grid {
    grid-template-columns: 1fr;
  }

  .header-container {
    flex-wrap: wrap;
    gap: 10px;
  }

  .logo h1 {
    font-size: 1.4em;
    flex: 1;
  }

  .hero {
    padding: 30px 15px;
  }

  .hero h2 {
    font-size: 1.8em;
  }

  .hero p {
    font-size: 0.95em;
  }

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

  .job-title {
    font-size: 1.1em;
  }

  .job-footer {
    text-align: left;
    margin-top: 15px;
  }

  .apply-button {
    width: 100%;
    justify-content: center;
  }

  .email-opt-in {
    flex-direction: column;
  }

  .email-opt-in input,
  .email-opt-in button {
    width: 100%;
  }

  main {
    padding: 15px;
  }

  .salary-pulse {
    padding: 20px 15px;
  }

  .pulse-header {
    flex-direction: column;
    gap: 10px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-section h4,
  .footer-section h5 {
    font-size: 1em;
  }
}
/* ===== JOB DETAIL PAGE STYLES ===== */
.job-detail {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.back-link {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 30px;
  transition: var(--transition);
}

.back-link:hover {
  color: var(--primary-dark);
  transform: translateX(-3px);
}

.job-detail-header {
  margin-bottom: 40px;
  border-bottom: 2px solid var(--light-bg);
  padding-bottom: 30px;
}

.job-detail-title {
  margin: 0 0 20px 0;
  font-size: 2.2em;
  color: var(--text-color);
  font-weight: 800;
}

.job-detail-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05em;
}

.info-item .material-icons {
  color: var(--primary-color);
  flex-shrink: 0;
  font-size: 1.5em;
}

.source-badge {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.95em;
}

.source-badge .material-icons {
  display: none;
}

.job-detail-body {
  margin: 40px 0;
}

.job-description-full {
  line-height: 1.8;
  color: var(--text-secondary);
  font-size: 1em;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.job-description-full br {
  margin-bottom: 15px;
}

.job-detail-footer {
  display: flex;
  gap: 15px;
  margin-top: 40px;
  border-top: 2px solid var(--light-bg);
  padding-top: 30px;
}

.apply-button-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1.05em;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
  border: none;
  cursor: pointer;
}

.apply-button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.apply-button-primary .material-icons {
  font-size: 1.3em;
}

.job-detail-error {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 40px;
  text-align: center;
  color: #dc2626;
}

.job-detail-error p {
  margin: 20px 0;
  font-size: 1.1em;
}

.job-detail-error a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.job-detail-error a:hover {
  text-decoration: underline;
}

/* Responsive design for job detail page */
@media (max-width: 768px) {
  .job-detail {
    padding: 20px;
  }

  .job-detail-title {
    font-size: 1.6em;
  }

  .job-detail-info {
    grid-template-columns: 1fr;
  }

  .apply-button-primary {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }

  .job-detail-footer {
    flex-direction: column;
  }
}