@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800&display=swap");

:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --primary-light: #eff6ff;
  --secondary: #64748b;
  --accent: #fbbf24;
  --success: #10b981;
  --background: #f8fafc;
  --surface: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  --glass: rgba(255, 255, 255, 0.7);
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.premium-title {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Glass Effect */
.header {
  background: linear-gradient(135deg, #0f172a 0%, #1e40af 100%);
  color: white;
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  border-radius: 0 0 3rem 3rem;
  overflow: hidden;
  margin-bottom: -3rem;
  z-index: 10;
}

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 20% 30%,
      rgba(37, 99, 235, 0.2) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(251, 191, 36, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.logo-container {
  display: inline-flex;
  padding: 1rem;
  background: white;
  border-radius: 2rem;
  box-shadow: var(--shadow-lg);
  margin-bottom: 2rem;
  transform: translateY(0);
  transition: var(--transition);
}

.logo-container:hover {
  transform: translateY(-5px);
}

.logo {
  height: 80px;
}

.header h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
  background: linear-gradient(to bottom right, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--accent) 0%, #f59e0b 100%);
  color: #0f172a;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 14px rgba(251, 191, 36, 0.4);
  transition: var(--transition);
}

.hero-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.5);
}

.hero-btn i {
  font-size: 1.25rem;
}

/* Lang Selector */
.lang-selector {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 100;
}

.lang-btn {
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.6rem 1.2rem;
  border-radius: 9999px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.lang-btn:hover {
  background: white;
  transform: scale(1.05);
}

.lang-dropdown {
  position: absolute;
  top: 110%;
  right: 0;
  background: white;
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  box-shadow: var(--shadow-lg);
  display: none;
  min-width: 150px;
  animation: fadeIn 0.3s ease;
}

.lang-dropdown.show {
  display: block;
}

.lang-option {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s;
}

.lang-option:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* Sections */
.section {
  padding: 4rem 0;
}

.card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.benefit-card {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

/* Search Bar */
.search-wrapper {
  position: sticky;
  top: 1rem;
  z-index: 50;
  margin-top: -2rem;
  padding: 0 1rem;
}

.search-box {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-xl);
  padding: 1rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 0.75rem;
  max-width: 900px;
  margin: 0 auto;
}

.search-input {
  flex: 1;
  border: 1px solid var(--border);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
  background: white;
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.filter-select {
  width: 250px;
  border: 1px solid var(--border);
  padding: 0 1.5rem;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  cursor: pointer;
  background: white;
}

.cta-btn-main {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
  transition: var(--transition);
}

.cta-btn-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* Job Listings */
.job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
  padding-top: 2rem;
}

.job-item {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

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

.job-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary-light);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
}

.job-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  padding-right: 4rem;
}

.job-category {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.job-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  border-top: 1px solid transparent;
  margin-top: 0;
}

.job-item.active .job-details {
  max-height: 500px;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
  padding-top: 1rem;
}

.job-details ul {
  list-style: none;
}

.job-details li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 0.4rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.job-details li::before {
  content: "•";
  color: var(--primary);
  font-weight: bold;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 100;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(10deg);
}

/* Footer */
.footer {
  padding: 4rem 0;
  background: #0f172a;
  color: white;
  text-align: center;
}

.footer-logo {
  height: 60px;
  filter: brightness(0) invert(1);
  margin-bottom: 1.5rem;
}

.footer p {
  color: rgba(255, 255, 255, 0.6);
}

.footer a {
  color: var(--accent);
  text-decoration: none;
}

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

@media (max-width: 768px) {
  .search-box {
    flex-direction: column;
  }
  .filter-select {
    width: 100%;
  }
  .header {
    padding: 4rem 1.5rem;
    border-radius: 0 0 2rem 2rem;
  }
  .job-grid {
    grid-template-columns: 1fr;
  }
}
