/* Base Variables & Theme - Minimal Dark */
:root {
  --bg-color: #0f1115;
  --bg-alt: #16181d;
  --bg-card: #1c1f26;
  --border-color: #2d313a;
  --border-hover: #3f4451;
  
  --primary-color: #ffffff; /* White for accents/buttons */
  --primary-hover: #e5e7eb; /* Light Gray for button hover */
  --secondary-color: #818cf8; /* Indigo Accent */
  
  --text-main: #ffffff;
  --text-muted: #9ca3af;
  --text-light: #6b7280;
  
  --font-title: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition: all 0.25s ease;
  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
  --shadow-card-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
}

/* Reset & Utilities */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.highlight {
  color: var(--secondary-color);
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(15, 17, 21, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.5px;
  color: var(--text-main);
}

.lang-selector-wrapper {
  position: relative;
}

.lang-select {
  background-color: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  outline: none;
  transition: var(--transition);
}

.lang-select:hover, .lang-select:focus {
  border-color: var(--secondary-color);
}

.lang-select option {
  background-color: var(--bg-card);
  color: var(--text-main);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px 0;
  background-color: var(--bg-color);
}

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

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  background: var(--bg-alt);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  font-family: var(--font-body);
}

.badge-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  margin-right: 6px;
}

.hero-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1px;
  color: var(--primary-color);
}

.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 19px);
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 40px auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-large {
  padding: 18px 36px;
  font-size: 18px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-color);
  border: 1px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--bg-alt);
  border-color: var(--border-hover);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
}

/* Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 650px;
  margin: 0 auto;
  border-top: 1px solid var(--border-color);
  padding-top: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-num {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(24px, 4vw, 36px);
  color: var(--text-main);
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* Countries Bar */
.countries-bar {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 24px 0;
}

.countries-title {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.countries-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.country-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.country-pill:hover {
  border-color: var(--secondary-color);
}

/* Vacancies Section */
.vacancies-section {
  padding: 100px 0;
  background-color: var(--bg-color);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 16px;
}

.vacancies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.vacancy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.vacancy-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-hover);
}

.vacancy-card.featured {
  border: 2px solid var(--primary-color);
}

.card-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--primary-color);
  color: var(--bg-color);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-title {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.card-desc {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 30px;
  flex-grow: 1;
}

.card-features {
  list-style: none;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card-features li {
  font-size: 14px;
  line-height: 1.5;
  position: relative;
  padding-left: 24px;
}

.card-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.card-features li strong {
  color: var(--text-main);
  font-weight: 600;
}

.card-features li span {
  color: var(--text-muted);
}

.price-tag {
  display: inline-block;
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-body);
  font-size: 18px;
}

.featured .price-tag {
  background: var(--primary-color);
  color: var(--bg-color);
  border-color: var(--primary-color);
}

/* Benefits Section */
.benefits {
  padding: 100px 0;
  background-color: var(--bg-alt);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.benefit-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.benefit-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.benefit-item h4 {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.benefit-item p {
  color: var(--text-muted);
  font-size: 14px;
}

/* CTA Banner */
.cta-banner {
  padding: 100px 0;
  background-color: var(--bg-color);
}

.cta-card {
  background-color: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.cta-card h2 {
  font-family: var(--font-title);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-card p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 550px;
  margin: 0 auto 36px auto;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
  background-color: var(--bg-alt);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
}

/* Accessibility & Animations */
a:focus-visible, button:focus-visible, select:focus-visible {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  .hero {
    padding: 120px 0 60px 0;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 30px;
  }
  .vacancies-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }
}

/* SVG Icon Styling */
.svg-icon {
  width: 1.2em;
  height: 1.2em;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
}

.logo-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary-color);
  display: block;
}

.btn-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  display: inline-block;
}

.card-icon {
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: var(--bg-alt);
  border-radius: 8px;
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary-color);
  display: block;
}

.featured .card-icon {
  background-color: var(--primary-color);
}
.featured .card-icon svg {
  stroke: var(--bg-color);
}

.benefit-icon {
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--bg-alt);
  border-radius: 8px;
}

.benefit-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary-color);
  display: block;
}
