/* ============================================================
   WorkTrust GLOBAL - Enterprise Style System
   Official Brand Identity Guidelines 2026.1
   Typography: Space Grotesk (Titles/Wordmark) & Inter (Body/UI)
   Palette: Trust Deep Navy, Electric Sapphire & Cyber Cyan Glow
   ============================================================ */

:root {
  /* Official WorkTrust Global Brand Guidelines Palette */
  --brand-navy: #081B38;         /* Trust Deep Navy (Primary Master) */
  --brand-navy-dark: #040A17;    /* Obsidian Background */
  --brand-sapphire: #00D2FF;     /* Electric Sapphire (Secondary Accent) */
  --brand-cyan: #00F5D4;         /* Cyber Cyan Future Glow (Highlight) */
  --brand-ice-blue: #EAF2FF;     /* Sky Ice Blue */
  --brand-charcoal: #334155;     /* Charcoal Slate */
  --brand-cool-gray: #687280;    /* Cool Gray */
  --brand-slate: #64748B;
  --brand-surface-dark: #08152B; /* Dark Card Surface */

  /* Typography Hierarchy Standards */
  --font-title: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Theme Core Variables */
  --primary: #081B38;
  --primary-dark: #040A17;
  --primary-light: #0E2548;
  --accent-blue: #00D2FF;
  --accent-teal: #00F5D4;
  --secondary: #00D2FF;
  --secondary-dark: #00B4D8;
  --gold: #F59E0B;
  --gold-dark: #D97706;
  
  /* Neutral & Layout */
  --white: #ffffff;
  --bg: #F8FAFC;
  --surface: #ffffff;
  --text: #081B38;
  --text-muted: #64748B;
  --border: rgba(8, 27, 56, 0.1);
  --border-light: rgba(226, 232, 240, 0.8);
  
  /* Glassmorphism */
  --glass: rgba(255, 255, 255, 0.88);
  --glass-dark: rgba(8, 27, 56, 0.82);
  --glass-border: rgba(0, 210, 255, 0.2);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(8, 27, 56, 0.05);
  --shadow: 0 10px 30px rgba(8, 27, 56, 0.08);
  --shadow-lg: 0 20px 50px rgba(8, 27, 56, 0.14);
  --shadow-glow: 0 0 25px rgba(0, 245, 212, 0.28);
  
  /* Radii & Transitions */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Roles */
  --recruiter: #081B38;
  --recruiter-bg: #EFF6FF;
  --collaborator: #00D2FF;
  --collab-bg: #ECFEFF;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* Typography Hierarchy per Brand Guideline Page 8 */
h1, h2, h3, h4, h5, h6,
.hero-title,
.hero-brand-line,
.hero-title-main,
.hero-title-sub,
.section-title,
.portal-hero h2,
.nav-link,
.btn-nav-employer,
.btn-nav-partner,
.btn-hero-primary,
.btn-hero-secondary,
.stat-number,
.kpi-number,
.pillar-header h3,
.pillar-number,
.service-card h3,
.candidate-name,
.modal-header h3,
.footer-col h4,
.logo-brand,
.brand-global-tag {
  font-family: var(--font-title);
}

.hidden { display: none !important; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ============ TYPOGRAPHY & GRADIENTS ============ */
.gradient-text {
  background: linear-gradient(135deg, #00D2FF 0%, #00F5D4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-cyber {
  background: linear-gradient(135deg, #0052FF 0%, #00D2FF 50%, #00F5D4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-gold {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(8, 27, 56, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 210, 255, 0.15);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(4, 10, 23, 0.98);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  border-bottom: 1px solid rgba(0, 210, 255, 0.25);
}

.navbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Official Brand Logo - Quantum Gateway */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
  user-select: none;
}

.logo-symbol-svg {
  width: 46px;
  height: 32px;
  overflow: visible;
  filter: drop-shadow(0 2px 10px rgba(0, 210, 255, 0.4));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.nav-logo:hover .logo-symbol-svg {
  transform: scale(1.06);
  filter: drop-shadow(0 2px 14px rgba(0, 245, 212, 0.6));
}

.logo-text-block {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-brand {
  font-family: var(--font-title);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #FFFFFF;
  display: flex;
  align-items: baseline;
}

.logo-brand .brand-trust {
  color: var(--brand-cyan);
  font-weight: 700;
  margin-left: 1px;
}

.brand-global-tag {
  font-family: var(--font-title);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 8.5px;
  color: #94A3B8;
  margin-top: 3px;
  text-transform: uppercase;
}

.logo-slogan-nav {
  font-size: 11px;
  color: #94A3B8;
  letter-spacing: 0.2px;
  white-space: nowrap;
  font-weight: 500;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-shrink: 0;
}

.nav-link {
  color: #CBD5E1;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  display: inline-block;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #2563EB, #10B981);
  border-radius: 2px;
}

/* Nav Actions & Language Toggle */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 2px;
  height: 36px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 12px;
  font-weight: 700;
  padding: 0 10px;
  height: 30px;
  border-radius: 15px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
}

.lang-btn.active {
  background: #2563EB;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.35);
}

.btn-nav-employer {
  background: linear-gradient(135deg, #1E40AF 0%, #2563EB 100%);
  color: #ffffff;
  border: none;
  height: 38px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  white-space: nowrap;
}

.btn-nav-employer:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

.btn-nav-partner {
  background: rgba(16, 185, 129, 0.1);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  height: 38px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.btn-nav-partner:hover {
  background: #10B981;
  color: #ffffff;
  border-color: #10B981;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: #0A0F1D;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 20px 24px;
  display: none;
  flex-direction: column;
  gap: 16px;
  z-index: 999;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: #CBD5E1; text-decoration: none; font-size: 15px; font-weight: 500;
}

/* ============ HERO SECTION ============ */
.hero {
  position: relative;
  min-height: 92vh;
  background: radial-gradient(circle at 75% 25%, #1E3A8A 0%, #0F172A 55%, #0A0F1D 100%);
  display: flex;
  align-items: center;
  padding: 120px 24px 70px;
  overflow: hidden;
  color: #ffffff;
}

.hero-grid-pattern {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-glow-sphere {
  position: absolute;
  width: 550px; height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(37, 99, 235, 0.05) 50%, transparent 70%);
  filter: blur(50px);
  top: 10%; right: 5%;
  pointer-events: none;
  animation: pulse 8s ease-in-out infinite alternate;
}

.hero-container {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 44px;
  position: relative;
  z-index: 10;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34D399;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 30px;
  width: fit-content;
  letter-spacing: 0.2px;
}

.hero-title {
  margin: 0;
  padding: 0;
}

.hero-brand-line {
  display: block;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  color: #94A3B8;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.hero-title-main {
  display: block;
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.5px;
}

.hero-title-sub {
  display: block;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.32;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-top: 4px;
}

.hero-subtitle {
  font-size: 15.5px;
  color: #94A3B8;
  line-height: 1.65;
  max-width: 640px;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}

.cta-btn-primary {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #ffffff;
  border: none;
  height: 48px;
  padding: 0 24px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.cta-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.5);
}

.cta-btn-secondary {
  background: rgba(16, 185, 129, 0.1);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.35);
  height: 48px;
  padding: 0 24px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta-btn-secondary:hover {
  background: #10B981;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

/* Country Origin Tags */
.hero-countries-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 4px;
}

.countries-label {
  font-size: 11px;
  color: #64748B;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.country-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12.5px;
  color: #E2E8F0;
  font-weight: 500;
}

/* Hero Right Visual: Global Network Hub */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 440px;
}

.global-hub-card {
  width: 100%;
  max-width: 440px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  position: relative;
  z-index: 5;
}

.hub-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.hub-badge-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #34D399;
}
.hub-badge-live::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: pulse 1.5s infinite;
}

.hub-demand-sample {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 14px;
}

.demand-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: #94A3B8;
  margin-bottom: 6px;
}

.demand-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.demand-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag-badge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
}
.tag-badge.blue { background: rgba(37, 99, 235, 0.2); color: #93C5FD; }
.tag-badge.green { background: rgba(16, 185, 129, 0.2); color: #6EE7B7; }
.tag-badge.gold { background: rgba(245, 158, 11, 0.2); color: #FCD34D; }

/* AI Match Floating Preview */
.ai-match-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.3);
  padding: 12px;
  border-radius: 12px;
}

.match-score-circle {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.35);
}

.match-info-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
}
.match-info-sub {
  font-size: 11.5px;
  color: #94A3B8;
}

/* Floating Orbit Cards */
.orbit-card {
  position: absolute;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  padding: 10px 14px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  z-index: 6;
  white-space: nowrap;
}

.orbit-card.card-top {
  top: -15px; right: -15px;
  border-color: rgba(16, 185, 129, 0.4);
}
.orbit-card.card-bottom {
  bottom: -20px; left: -20px;
  border-color: rgba(37, 99, 235, 0.4);
}

/* ============ TRUST BADGES STRIP ============ */
.trust-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 24px 0;
  box-shadow: var(--shadow-sm);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  border-right: 1px solid var(--border-light);
}
.trust-item:last-child { border-right: none; }

.trust-icon-box {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.trust-icon-box.teal { background: #E6FFFA; color: #0D9488; }
.trust-icon-box.blue { background: #EFF6FF; color: #2563EB; }
.trust-icon-box.emerald { background: #ECFDF5; color: #10B981; }
.trust-icon-box.gold { background: #FEF3C7; color: #D97706; }

.trust-text-title {
  font-size: 14px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.25;
}
.trust-text-sub {
  font-size: 12px;
  color: #64748B;
  margin-top: 3px;
}

/* ============ SECTION HEADER ============ */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-block;
  background: rgba(37, 99, 235, 0.1);
  color: #2563EB;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.section-desc {
  font-size: 16px;
  color: #64748B;
  margin-top: 12px;
  line-height: 1.6;
}

/* ============ 4 SERVICE PACKAGES ============ */
.services-section {
  padding: 80px 0;
  background: #F8FAFC;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.3);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563EB, #10B981);
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover::before { opacity: 1; }

.service-step-num {
  font-size: 12px;
  font-weight: 800;
  color: #94A3B8;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.service-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: #EFF6FF;
  color: #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.service-title {
  font-size: 18px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 10px;
}

.service-desc {
  font-size: 13.5px;
  color: #64748B;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.service-features-list {
  list-style: none;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-features-list li {
  font-size: 12.5px;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-features-list li::before {
  content: '✓';
  color: #10B981;
  font-weight: 700;
}

/* ============ WHY WORKTRUST (3 PILLARS) ============ */
.why-section {
  padding: 85px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.pillar-card {
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: var(--transition);
}

.pillar-card:hover {
  transform: translateY(-5px);
  background: #ffffff;
  box-shadow: var(--shadow-lg);
  border-color: #CBD5E1;
}

.pillar-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.pillar-icon-box {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.pillar-title {
  font-size: 19px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.3;
}

.pillar-desc {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 18px;
}

.pillar-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pillar-points li {
  font-size: 13.5px;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.pillar-points li span {
  color: #2563EB;
  font-weight: 700;
}

/* ============ ETHICAL RECRUITMENT & ZERO-FEE BANNER ============ */
.ethical-banner {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px 45px;
  margin: 60px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.25);
}

.ethical-content {
  max-width: 720px;
}

.ethical-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34D399;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.ethical-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 10px;
}

.ethical-desc {
  font-size: 14.5px;
  color: #94A3B8;
  line-height: 1.6;
}

.ethical-standards {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.standard-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #F8FAFC;
  white-space: nowrap;
}

/* ============ 8-STEP PIPELINE SHOWCASE ON HOME ============ */
.pipeline-home-section {
  padding: 85px 0;
  background: #F8FAFC;
}

.steps-timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-flow-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 22px 18px;
  position: relative;
  transition: var(--transition);
}

.step-flow-card:hover {
  transform: translateY(-4px);
  border-color: #2563EB;
  box-shadow: var(--shadow);
}

.step-number-tag {
  display: inline-block;
  background: #EFF6FF;
  color: #2563EB;
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.step-flow-title {
  font-size: 15.5px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 6px;
}

.step-flow-desc {
  font-size: 12.5px;
  color: #64748B;
  line-height: 1.5;
}

.step-flow-actor {
  margin-top: 12px;
  font-size: 11px;
  font-weight: 600;
  color: #0D9488;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============ CTA BANNER ============ */
.cta-banner-section {
  padding: 60px 0 90px;
}

.cta-banner-card {
  background: linear-gradient(135deg, #1E3A8A 0%, #0F172A 100%);
  border-radius: var(--radius-lg);
  padding: 55px 40px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.3);
}

.cta-banner-title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  margin-bottom: 14px;
}

.cta-banner-desc {
  font-size: 16.5px;
  color: #94A3B8;
  max-width: 650px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.cta-buttons-center {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* ============ FOOTER ============ */
footer {
  background: #0A0F1D;
  color: #94A3B8;
  padding: 70px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
}

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

.footer-links a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 13.5px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 14px;
}

/* ============================================================
   PORTAL SHARED STYLES (EMPLOYER & COLLABORATOR)
   ============================================================ */
.portal-wrapper {
  padding-top: 72px;
  min-height: 100vh;
  background: #F1F5F9;
}

/* Portal Global Header */
.portal-header-bar {
  background: #0F172A;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.portal-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.portal-user-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.portal-avatar {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563EB, #10B981);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.portal-name-block {
  display: flex;
  flex-direction: column;
}

.portal-company-name {
  font-size: 16.5px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.portal-badge-tier {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}
.portal-badge-tier.gold { background: #FEF3C7; color: #92400E; }
.portal-badge-tier.diamond { background: #E0E7FF; color: #3730A3; }

.portal-sub-meta {
  font-size: 12px;
  color: #94A3B8;
  display: flex;
  gap: 14px;
}

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

/* Portal Tab Subnav Bar */
.portal-subnav-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 72px;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.subnav-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0;
}

.subnav-btn {
  background: transparent;
  border: none;
  color: #64748B;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 18px;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.subnav-btn:hover {
  color: #0F172A;
  background: #F8FAFC;
  border-radius: 6px;
}

.subnav-btn.active {
  color: #2563EB;
  border-bottom-color: #2563EB;
  font-weight: 700;
}

.collab-subnav .subnav-btn.active {
  color: #059669;
  border-bottom-color: #059669;
}

/* Tab Panels */
.portal-main-content {
  padding: 30px 0 60px;
}

.portal-tab-panel {
  display: none;
  animation: fadeIn 0.3s ease forwards;
}

.portal-tab-panel.active {
  display: block;
}

/* ============ KPI STATS CARDS ============ */
.kpi-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.kpi-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.kpi-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.kpi-val {
  font-size: 28px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.1;
  margin: 4px 0;
}

.kpi-label {
  font-size: 13px;
  color: #64748B;
  font-weight: 500;
}

.kpi-trend {
  font-size: 12px;
  font-weight: 600;
}
.kpi-trend.up { color: #10B981; }

.kpi-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.kpi-icon-wrap.blue { background: #EFF6FF; color: #2563EB; }
.kpi-icon-wrap.emerald { background: #ECFDF5; color: #10B981; }
.kpi-icon-wrap.purple { background: #F5F3FF; color: #7C3AED; }
.kpi-icon-wrap.gold { background: #FEF3C7; color: #D97706; }

/* ============ DATA TABLES ============ */
.data-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.data-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 14px;
}

.data-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.search-input {
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  min-width: 240px;
  outline: none;
}
.search-input:focus { border-color: #2563EB; }

.select-filter {
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  outline: none;
  color: #334155;
  cursor: pointer;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
}

.custom-table th {
  background: #F8FAFC;
  color: #475569;
  font-weight: 600;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-light);
  white-space: nowrap;
}

.custom-table td {
  padding: 14px;
  border-bottom: 1px solid var(--border-light);
  color: #334155;
  vertical-align: middle;
}

.custom-table tr:hover td {
  background: #F8FAFC;
}

/* Badges inside tables */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
}
.status-pill.active { background: #ECFDF5; color: #059669; }
.status-pill.processing { background: #EFF6FF; color: #1D4ED8; }
.status-pill.pending { background: #FEF3C7; color: #B45309; }
.status-pill.warranty { background: #FDF2F8; color: #BE185D; }

/* Country Badge */
.country-badge-cell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  background: #F1F5F9;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 12.5px;
}

/* Action Buttons inside Table */
.btn-sm-action {
  background: #EFF6FF;
  color: #2563EB;
  border: 1px solid rgba(37, 99, 235, 0.2);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.btn-sm-action:hover {
  background: #2563EB;
  color: #ffffff;
}

/* ============ CANDIDATE CARDS (TAB 3) ============ */
.candidates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.candidate-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.candidate-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #93C5FD;
}

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

.candidate-code {
  font-size: 12px;
  font-weight: 800;
  color: #2563EB;
  background: #EFF6FF;
  padding: 3px 8px;
  border-radius: 6px;
}

.ai-match-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #ECFDF5;
  color: #059669;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.candidate-job-title {
  font-size: 17px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 4px;
}

.candidate-origin-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #64748B;
  margin-bottom: 14px;
}

.candidate-skills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.skill-tag {
  background: #F1F5F9;
  color: #334155;
  font-size: 11.5px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 4px;
}

.video-available-flag {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #FFF1F2;
  border: 1px solid #FECDD3;
  color: #E11D48;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
  width: fit-content;
  cursor: pointer;
}
.video-available-flag:hover { background: #FFE4E6; }

.candidate-meta-footer {
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.candidate-salary {
  font-size: 14px;
  font-weight: 700;
  color: #0F172A;
}

.candidate-card-actions {
  display: flex;
  gap: 8px;
}

/* ============ 8-STEP PIPELINE KANBAN (TAB 4) ============ */
.kanban-board-container {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 20px;
  min-height: 580px;
}

.kanban-column {
  min-width: 290px;
  max-width: 290px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.kanban-col-header {
  padding: 14px;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-radius: 12px 12px 0 0;
}

.kanban-col-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 6px;
}

.kanban-col-badge {
  background: #EFF6FF;
  color: #2563EB;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 12px;
}

.kanban-cards-list {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  flex-grow: 1;
}

.kanban-card-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
  transition: var(--transition);
}

.kanban-card-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: #93C5FD;
}

.kanban-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #94A3B8;
  margin-bottom: 6px;
}

.kanban-card-name {
  font-size: 14px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 6px;
}

.warranty-countdown-badge {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
}

/* ============ COLLABORATOR TOOLS (TAB 4) ============ */
.sharing-tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.social-share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.btn-social-share {
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-social-share.whatsapp { background: #25D366; }
.btn-social-share.telegram { background: #0088CC; }
.btn-social-share.zalo { background: #0068FF; }
.btn-social-share.linkedin { background: #0A66C2; }

.template-card {
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 14px;
}

.template-text-box {
  background: #ffffff;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 12px;
  font-size: 13px;
  color: #334155;
  line-height: 1.6;
  margin: 10px 0;
  white-space: pre-line;
}

/* ============ MODALS / POPUPS ============ */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.25s ease;
}

.modal-container {
  background: #ffffff;
  border-radius: 18px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
}

.modal-container.large {
  max-width: 880px;
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 10;
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 22px;
  color: #94A3B8;
  cursor: pointer;
  width: 32px; height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close-btn:hover { background: #F1F5F9; color: #0F172A; }

.modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  background: #F8FAFC;
  border-radius: 0 0 18px 18px;
}

/* Form Groups inside Modal */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.form-input, .form-select, .form-textarea {
  background: #ffffff;
  border: 1px solid #CBD5E1;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: #0F172A;
  outline: none;
  transition: var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Video Player Mockup in Modal */
.mock-video-player {
  width: 100%;
  height: 320px;
  background: #0F172A;
  border-radius: 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}

.mock-video-overlay {
  text-align: center;
  padding: 20px;
}

.play-button-big {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.9);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 14px;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.6);
  transition: var(--transition);
}
.play-button-big:hover { transform: scale(1.1); }

/* ============ FLOATING ACTION BUTTONS ============ */
.floating-actions-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-action-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #0F172A;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: var(--transition);
}
.float-action-btn:hover {
  transform: scale(1.1);
  background: #2563EB;
}

/* Toast Notice */
.toast-notice {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0F172A;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3000;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.toast-notice.show {
  transform: translateX(-50%) translateY(0);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .nav-links { gap: 16px; }
  .nav-link { font-size: 13px; }
  .logo-slogan-nav { display: none; }
  .btn-nav-employer, .btn-nav-partner { padding: 0 12px; font-size: 12px; height: 36px; }
}

@media (max-width: 1024px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .hero-container { grid-template-columns: 1fr; }
  .services-grid, .trust-grid, .kpi-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid, .candidates-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-timeline-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .services-grid, .trust-grid, .pillars-grid, .candidates-grid, .kpi-cards-grid, .steps-timeline-grid { grid-template-columns: 1fr; }
  .ethical-banner { flex-direction: column; align-items: flex-start; }
  .sharing-tools-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
