/* TalentBridge — Recruitment & HR Solutions CSS */
:root {
  --bg-dark: #07090e;
  --bg-surface: #0e121c;
  --bg-card: #131926;
  --bg-card-hover: #1b2336;
  --primary: #4f46e5;
  --primary-glow: rgba(79, 70, 229, 0.45);
  --accent: #38bdf8;
  --green: #10b981;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(79, 70, 229, 0.6);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.6;
}

h1, h2, h3, .brand-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #818cf8 0%, #38bdf8 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Demo Control Bar */
.demo-bar {
  background: #040508;
  border-bottom: 1px solid rgba(79, 70, 229, 0.25);
  padding: 8px 16px;
  font-size: 0.82rem;
  position: relative;
  z-index: 1000;
}

.demo-bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.demo-tag {
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
}

.demo-switchers {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.demo-switchers span {
  color: var(--text-muted);
}

.preset-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  cursor: pointer;
  transition: var(--transition);
}

.preset-btn:hover, .preset-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  font-weight: 700;
}

.demo-price span {
  color: var(--accent);
  font-weight: 800;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(7, 9, 14, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  z-index: 500;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 4px 16px var(--primary-glow);
}

.brand-name {
  font-size: 1.3rem;
  display: block;
  line-height: 1.1;
  color: #fff;
}

.brand-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #4338ca 100%);
  color: #fff;
  box-shadow: 0 4px 16px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--primary-glow);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: #cbd5e1;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: #fff;
}

.btn-wa-full {
  background: #25D366;
  color: #000;
  font-weight: 800;
  width: 100%;
  margin-top: 14px;
}

.btn-block { width: 100%; }
.btn-lg { padding: 14px 26px; font-size: 1rem; }

/* Hero */
.hero {
  padding: 80px 0 60px;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79, 70, 229, 0.12);
  border: 1px solid rgba(79, 70, 229, 0.3);
  color: #a5b4fc;
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.6rem;
  line-height: 1.12;
  margin-bottom: 20px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin: 0 auto 36px;
  max-width: 750px;
}

.hero-search-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 12px;
  border-radius: var(--radius-md);
  max-width: 820px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 2fr 1.3fr auto;
  gap: 12px;
  box-shadow: var(--shadow);
}

.search-input-field, .search-select-field {
  position: relative;
}

.search-input-field input, .search-select-field select {
  width: 100%;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  color: #fff;
  padding: 12px 14px 12px 38px;
  border-radius: var(--radius-sm);
  outline: none;
  font-family: inherit;
}

.search-input-field i, .search-select-field i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding-top: 30px;
}

.stat-box strong {
  font-size: 1.8rem;
  color: #fff;
  display: block;
}

.stat-box span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Sections */
.section { padding: 80px 0; }
.text-center { text-align: center; }

.sub-heading {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
}

/* Department Tabs */
.dept-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.dept-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.dept-btn:hover, .dept-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 16px var(--primary-glow);
}

/* Jobs Grid */
.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.job-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  transition: var(--transition);
}

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

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

.job-company {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.job-card-header h3 {
  font-size: 1.35rem;
  margin: 4px 0 8px;
}

.job-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.job-meta span i {
  color: var(--primary);
  margin-right: 6px;
}

.job-badge {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}

.job-snippet {
  color: #cbd5e1;
  font-size: 0.92rem;
  margin-bottom: 16px;
  line-height: 1.5;
}

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

.jtag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 4px;
  color: #cbd5e1;
}

.job-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.posted-time {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.job-btns {
  display: flex;
  gap: 10px;
}

/* Employers Box */
.employer-box {
  background: linear-gradient(135deg, var(--bg-surface) 0%, #151b2a 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 50px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.employer-text h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.employer-text p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.recruitment-perks {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 30px;
}

.perk-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.perk-item i {
  font-size: 1.3rem;
  color: var(--accent);
  background: rgba(56, 189, 248, 0.1);
  padding: 10px;
  border-radius: var(--radius-sm);
}

.perk-item h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.perk-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.hire-card-inner {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  padding: 30px;
  border-radius: var(--radius-md);
  text-align: center;
}

.badge-fast {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.hire-card-inner h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.hire-card-inner p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.stat-pill-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.82rem;
  color: #cbd5e1;
  background: var(--bg-card);
  padding: 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.open { display: flex; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.modal-dialog {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
  z-index: 2;
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
}

.modal-body { padding: 24px; }

.form-group { margin-bottom: 14px; }

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}

.form-group input, .form-group select {
  width: 100%;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  outline: none;
  font-family: inherit;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.portal-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.pstat {
  background: var(--bg-dark);
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  text-align: center;
}

.pstat span {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

.pstat strong {
  font-size: 1.1rem;
  color: var(--accent);
}

/* Footer */
.footer {
  background: #040508;
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  margin-top: 60px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-col h3 {
  color: var(--accent);
  margin-bottom: 12px;
}

.footer-col h4 {
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.copyright {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-search-box { grid-template-columns: 1fr; }
  .hero-stats-row { grid-template-columns: repeat(2, 1fr); }
  .employer-box { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.4rem; }
  .nav-links { display: none; }
  .job-card-header { flex-direction: column; gap: 8px; }
  .job-card-footer { flex-direction: column; gap: 12px; align-items: flex-start; }
  .job-btns { width: 100%; }
  .job-btns button { flex: 1; }
  .form-row-2 { grid-template-columns: 1fr; }
}
