/* ==========================================================================
   Toucan Careers Page - Dedicated 100% Self-Contained Stylesheet
   Do NOT import styles.css or style.css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Reset & Base Design Variables
   -------------------------------------------------------------------------- */
:root {
  --font-primary: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Color Palette - Dark Canvas */
  --bg-dark-gradient: linear-gradient(160deg, #060F1E 8.49%, #08162A 58.3%, #060E1C 91.51%);
  --bg-light-gradient: linear-gradient(90deg, #F0FAF6 0%, #FFFFFF 69%);

  /* Brand Accents */
  --accent-orange: #E9953E;
  --accent-orange-hover: #D8832C;
  --accent-orange-gradient: linear-gradient(94.69deg, rgba(231, 128, 0, 0.9) -4.53%, rgba(255, 141, 0, 0.9) 102.45%);
  --border-orange: #ED974F;

  --accent-cyan: #0284C7;
  --accent-cyan-light: #7DD3FC;
  --accent-emerald: #059669;
  --accent-teal: #34D399;

  /* Text Colors */
  --text-dark: #0C1A2E;
  --text-slate: #4A7FA5;
  --text-navy: #1C3962;
  --text-white: #FFFFFF;
  --text-muted: rgba(236, 246, 255, 0.8);
  --text-dim: rgba(255, 255, 255, 0.6);

  /* Containers & Shadows */
  --container-max-width: 1290px;
  --shadow-card: 0px 7px 14px rgba(0, 0, 0, 0.04);
  --shadow-glow-orange: 0px 4px 20px rgba(233, 149, 62, 0.35);
  --shadow-glow-cyan: 0px 4px 20px rgba(2, 132, 199, 0.25);
}

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

html {
  scroll-behavior: smooth;
  font-size: 1rem;
}

body.career-page {
  font-family: var(--font-primary);
  background: var(--bg-dark-gradient);
  color: var(--text-white);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

/* --------------------------------------------------------------------------
   2. Layout Containers & Utility Classes
   -------------------------------------------------------------------------- */
.career-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.highlight-orange {
  color: var(--accent-orange);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.84px;
  text-transform: uppercase;
}

.badge-cyan {
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.3);
  color: var(--accent-cyan-light);
}

.badge-green {
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.25);
  color: var(--accent-teal);
}

.badge-blue {
  background: rgba(2, 132, 199, 0.07);
  border: 1px solid rgba(2, 132, 199, 0.2);
  color: var(--accent-cyan);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-orange);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--accent-orange-gradient);
  border: 0.5px solid var(--border-orange);
  box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  color: #FAFAFA;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 20px;
  letter-spacing: 0.005em;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-orange);
  background: linear-gradient(94.69deg, rgba(231, 128, 0, 1) -4.53%, rgba(255, 141, 0, 1) 102.45%);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #FAFAFA;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

/* --------------------------------------------------------------------------
   3. Header Navigation Bar
   -------------------------------------------------------------------------- */
.navbar-wrapper {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 24px;
}

.navbar-container {
  width: 100%;
  max-width: 1290px;
  height: 64px;
  background: rgba(6, 15, 30, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.toucan-logo-img {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.brand-pay-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-orange);
  letter-spacing: 0.02em;
}

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

.nav-link {
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 20px;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

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

.nav-link svg {
  transition: transform 0.2s ease;
}

.nav-link:hover svg {
  transform: translateY(2px);
}

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

/* --------------------------------------------------------------------------
   4. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding-top: 140px;
  padding-bottom: 80px;
  overflow: hidden;
  background: var(--bg-dark-gradient);
}

/* Subtle ambient radial background glow */
.hero-radial-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  left: 32px;
  top: 150px;
  background: radial-gradient(70.71% 70.71% at 50% 50%, rgba(5, 150, 105, 0.15) 0%, rgba(0, 0, 0, 0) 65%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 653px 1fr;
  gap: 32px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.hero-headline {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 3rem;
  line-height: 66px;
  letter-spacing: -1.68px;
  color: #FFFFFF;
}

.hero-subtitle {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 36px;
  color: var(--text-muted);
  max-width: 629px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.hero-graphic-wrapper {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.hero-img-card {
  width: 100%;
  max-width: 630px;
  height: 540px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.hero-img-card:hover {
  transform: scale(1.01);
}

/* --------------------------------------------------------------------------
   5. Stat Cards Bar Section
   -------------------------------------------------------------------------- */
.stats-section {
  background: var(--bg-light-gradient);
  padding: 60px 0;
  position: relative;
  z-index: 2;
}

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

.stat-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(2, 132, 199, 0.12);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(2, 132, 199, 0.3);
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.1);
}

.stat-number {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 2.25rem;
  line-height: 35px;
  background: linear-gradient(135deg, #0284C7 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 1rem;
  line-height: 19px;
  color: var(--text-dark);
}

.stat-sublabel {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 17px;
  color: var(--text-slate);
}

/* --------------------------------------------------------------------------
   6. Why Toucan Section (4 Core Pillars)
   -------------------------------------------------------------------------- */
.why-section {
  position: relative;
  background: var(--bg-dark-gradient);
  padding-top: 80px;
}

.section-header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 836px;
  margin: 0 auto;
}

.section-title-dark {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 3rem;
  line-height: 61px;
  color: #FFFFFF;
}

.section-subtitle-dark {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 31px;
  color: var(--text-muted);
}

.why-cards-wrapper {
  position: relative;
  margin-top: 60px;
  padding-bottom: 80px;
}

.why-cards-bg-light {
  position: absolute;
  top: 60px;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, #F0FAF6 0%, #FFFFFF 69%);
  z-index: 1;
}

.why-cards-wrapper .career-container {
  position: relative;
  z-index: 2;
}

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

.pillar-card {
  background: #FFFFFF;
  box-shadow: 0px 7px 14px rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  padding: 20px 24px;
  min-height: 135px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 14px 28px rgba(0, 0, 0, 0.08);
}

.pillar-icon-box {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(156, 163, 175, 0.04);
  border: 1px solid rgba(156, 163, 175, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9CA3AF;
}

.pillar-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pillar-title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1rem;
  line-height: 25px;
  color: var(--text-dark);
}

.pillar-desc {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 24px;
  color: var(--text-slate);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 14px 28px rgba(0, 0, 0, 0.1);
}

.pillar-icon-box {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(156, 163, 175, 0.06);
  border: 1px solid rgba(156, 163, 175, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0C1A2E;
}

.pillar-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pillar-title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 25px;
  color: var(--text-dark);
}

.pillar-desc {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 24px;
  color: var(--text-slate);
}

/* --------------------------------------------------------------------------
   7. How We Hire Section (5 Step Timeline with Wave Line)
   -------------------------------------------------------------------------- */
.hiring-section {
  background: var(--bg-light-gradient);
  padding: 80px 0 120px;
  position: relative;
  overflow: hidden;
}

.section-header-light {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto 60px;
}

.section-title-light {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 3rem;
  line-height: 61px;
  color: var(--text-dark);
}

.section-subtitle-light {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 31px;
  color: var(--text-navy);
}

.hire-timeline-wrapper {
  position: relative;
  width: 1290px;
  height: 571px;
  margin: 0 auto;
}

.hire-wave-line-img {
  position: absolute;
  width: 1245.72px;
  height: 394.18px;
  left: 0px;
  top: 25px;
  pointer-events: none;
  z-index: 1;
}

.hire-icon-box {
  position: absolute;
  width: 61.78px;
  height: 62.17px;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
}

.hire-icon-dot {
  width: 22.2px;
  height: 22.34px;
  background: #C4C4C4;
  border-radius: 10px;
}

.hire-watermark-num {
  position: absolute;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 10.25rem;
  line-height: 204px;
  letter-spacing: -0.02em;
  color: #000000;
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
  z-index: 2;
}

.hire-text-block {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 4;
}

.hire-step-title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 30px;
  letter-spacing: -0.03em;
  color: #000000;
}

.hire-step-desc {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 1rem;
  line-height: 22px;
  letter-spacing: -0.02em;
  color: rgba(0, 0, 0, 0.5);
}

/* Step 1: Apply */
.step-1-icon {
  left: 70.88px;
  top: 305.5px;
}

.step-1-text {
  left: 25.87px;
  top: 444px;
  width: 248px;
}

.step-1-num {
  left: 139.42px;
  top: 281.5px;
  width: 91.37px;
  height: 198.65px;
}

/* Step 2: Talent Screen */
.step-2-icon {
  left: 374px;
  top: 280.5px;
}

.step-2-text {
  left: 274.77px;
  top: 171.6px;
  width: 171px;
}

.step-2-num {
  left: 432.38px;
  top: 290.5px;
  width: 91.37px;
  height: 198.65px;
}

/* Step 3: Technical Round */
.step-3-icon {
  left: 592.19px;
  top: 208.6px;
}

.step-3-text {
  left: 593px;
  top: 321.4px;
  width: 225px;
}

.step-3-num {
  left: 653.85px;
  top: 131.7px;
  width: 91.37px;
  height: 198.65px;
}

/* Step 4: Leadership meet */
.step-4-icon {
  left: 902.06px;
  top: 142.7px;
}

.step-4-text {
  left: 817.89px;
  top: 24.9px;
  width: 171px;
}

.step-4-num {
  left: 856.44px;
  top: 201.6px;
  width: 91.37px;
  height: 198.65px;
}

/* Step 5: Offer */
.step-5-icon {
  left: 1136.52px;
  top: 0px;
}

.step-5-text {
  left: 1137px;
  top: 101.8px;
  width: 153px;
}

.step-5-num {
  left: 1035.21px;
  top: 40.9px;
  width: 91.37px;
  height: 198.65px;
}

/* --------------------------------------------------------------------------
   8. Perks and Benefits Section
   -------------------------------------------------------------------------- */
.perks-section {
  padding: 80px 0 100px;
  background: var(--bg-dark-gradient);
}

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

.perk-card {
  position: relative;
  height: 317px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  cursor: pointer;
}

.perk-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(2, 132, 199, 0.3);
  border-color: rgba(2, 132, 199, 0.5);
}

.perk-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.perk-card:hover .perk-card-img {
  transform: scale(1.05);
}

.perk-glass-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 90px;
  background: linear-gradient(180deg, rgba(34, 40, 61, 0) -1.11%, #333B56 23.83%, #000000 99.56%);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 20px 14px;
  text-align: center;
  box-sizing: border-box;
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease, padding 0.4s ease;
}

.perk-card:hover .perk-glass-overlay {
  height: 175px;
  padding: 20px 20px 14px;
  background: linear-gradient(180deg, rgba(34, 40, 61, 0.35) 0%, #20273c 25%, #05070d 99.56%);
}

.perk-title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1.3;
  color: #FFFFFF;
  margin: 0;
  transition: transform 0.3s ease;
}

.perk-desc {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(236, 246, 255, 0.8);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transform: translateY(8px);
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, transform 0.35s ease, margin-top 0.35s ease;
}

.perk-card:hover .perk-desc {
  max-height: 100px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 8px;
}

.perk-accent-line {
  width: 80%;
  height: 1px;
  margin-top: 12px;
  position: relative;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #0284C7 50%, rgba(0, 0, 0, 0) 100%);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.perk-accent-line::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 10%;
  width: 80%;
  height: 3px;
  background: #0284C7;
  filter: blur(3.5px);
  border-radius: 6px;
  opacity: 0.85;
  pointer-events: none;
}

.perk-card:hover .perk-accent-line {
  width: 90%;
}

/* --------------------------------------------------------------------------
   9. Find Your Role / Job Board Section (Collapsible Accordion)
   -------------------------------------------------------------------------- */
.jobs-section {
  background: linear-gradient(90deg, #F0FAF6 0%, #FFFFFF 69%);
  padding: 60px 0 100px;
}

.jobs-filter-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.role-tab {
  padding: 12px 16px;
  border-radius: 16px;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 20px;
  cursor: pointer;
  background: #FFFFFF;
  border: 1px solid rgba(107, 114, 128, 0.08);
  color: #6B7280;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.role-tab .tab-count {
  background: rgba(107, 114, 128, 0.15);
  border-radius: 8px;
  padding: 2px 6px;
  font-weight: 700;
  font-size: 0.625rem;
  line-height: 14px;
  color: #6B7280;
}

.role-tab.active {
  background: #FEF3E7;
  border: 1px solid rgba(232, 148, 58, 0.4);
  color: #E8943A;
  font-weight: 500;
}

.role-tab.active .tab-count {
  background: rgba(232, 148, 58, 0.15);
  color: #E8943A;
}

.role-tab:hover:not(.active) {
  border-color: rgba(232, 148, 58, 0.25);
  color: var(--text-dark);
}

.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.job-card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 16px;
  border: 1px solid rgba(232, 148, 58, 0.14);
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: all 0.2s ease;
}

.job-card:hover {
  border-color: rgba(232, 148, 58, 0.35);
  box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.06);
}

.job-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  gap: 16px;
}

.job-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.job-domain-icon {
  width: 44px;
  height: 44px;
  background: rgba(156, 163, 175, 0.04);
  border: 1px solid rgba(156, 163, 175, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.job-header-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dept-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 12px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.75rem;
  line-height: 16px;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  width: fit-content;
}

.dept-engineering {
  background: #F0F6FE;
  border: 1px solid #DEEAFC;
  color: #4E80EE;
}

.dept-product {
  background: #F2FDF5;
  border: 1px solid #E2FBE8;
  color: #5EC269;
}

.dept-delivery {
  background: #F8FAFC;
  border: 1px solid #F2F5F9;
  color: #677489;
}

.job-title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1rem;
  line-height: 24px;
  color: #0C1A2E;
  margin: 0;
}

.job-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.job-meta-pills {
  display: flex;
  align-items: center;
  gap: 8px;
}

.meta-pill {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  padding: 6px 12px;
  gap: 6px;
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  border-radius: 100px;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 0.75rem;
  line-height: 16px;
  color: #374151;
  white-space: nowrap;
}

.job-chevron-box {
  width: 32px;
  height: 32px;
  background: #FFEFDE;
  border: 1px solid rgba(252, 151, 25, 0.6);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.job-card.active .job-chevron-box svg {
  transform: rotate(180deg);
}

.job-details {
  display: none;
  padding: 0 20px 24px;
  animation: fadeIn 0.3s ease;
}

.job-card.active .job-details {
  display: block;
}

.job-details-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(232, 148, 58, 0.66) 50%, rgba(255, 255, 255, 0) 100%);
  margin-bottom: 20px;
}

.job-intro-text {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 24px;
  color: rgba(12, 26, 46, 0.8);
  margin-bottom: 24px;
}

.job-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 24px;
}

.job-col-heading {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.75rem;
  line-height: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #E8943A;
  margin-bottom: 12px;
}

.job-col-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.job-col-list li {
  position: relative;
  padding-left: 18px;
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 22px;
  color: rgba(12, 26, 46, 0.7);
}

.job-col-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: #E8943A;
  border-radius: 50%;
}

.job-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.job-privacy-note {
  font-family: var(--font-primary);
  font-size: 0.75rem;
  line-height: 18px;
  color: rgba(12, 26, 46, 0.5);
}

.job-privacy-note a {
  color: #E8943A;
  text-decoration: underline;
}

.btn-apply-orange {
  background: linear-gradient(94.69deg, rgba(231, 128, 0, 0.9) -4.53%, rgba(255, 141, 0, 0.9) 102.45%);
  border: 0.5px solid #ED974F;
  box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 10px 20px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 20px;
  color: #FAFAFA;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s ease;
}

.btn-apply-orange:hover {
  opacity: 0.92;
}

/* --------------------------------------------------------------------------
   10. Spontaneous Application Section & Modal
   -------------------------------------------------------------------------- */
.spontaneous-section {
  background: #F0F6FF;
  padding: 60px 0;
  width: 100%;
}

.spontaneous-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.04);
  width: 100%;
  box-sizing: border-box;
}

.spontaneous-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.spontaneous-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 919px;
}

.spontaneous-text h3 {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 28px;
  color: #111827;
  margin: 0;
}

.spontaneous-text p {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 20px;
  color: #6B7280;
  margin: 0;
}

/* Application Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(6, 15, 30, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #08162A;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  width: 100%;
  max-width: 600px;
  padding: 32px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #FFFFFF;
}

.modal-header {
  margin-bottom: 24px;
}

.modal-header h2 {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.5rem;
  color: #FFFFFF;
}

.modal-header p {
  font-family: var(--font-primary);
  font-size: 0.875rem;
  color: var(--text-muted);
}

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

.form-group label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #FFFFFF;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-select option {
  background: #08162A;
  color: #FFFFFF;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent-orange);
}

/* --------------------------------------------------------------------------
   11. Footer Section
   -------------------------------------------------------------------------- */
.footer-section {
  position: relative;
  background: #05101D;
  padding: 60px 0;
  overflow: hidden;
  box-sizing: border-box;
}

.footer-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  z-index: 0;
}

.footer-glow.glow-1 {
  width: 364px;
  height: 332px;
  left: -209px;
  top: -190px;
  background: rgba(252, 151, 25, 0.1);
  filter: blur(55.3px);
}

.footer-glow.glow-2 {
  width: 364px;
  height: 332px;
  left: 624px;
  top: -257px;
  background: rgba(252, 151, 25, 0.1);
  filter: blur(55.3px);
}

.footer-glow.glow-3 {
  width: 221px;
  height: 290px;
  right: -50px;
  bottom: 0px;
  background: rgba(52, 211, 153, 0.07);
  filter: blur(55.3px);
}

.footer-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  max-width: 1290px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  gap: 20px;
}

.footer-brand-col {
  width: 306px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.footer-desc {
  font-family: 'Space Grotesk', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 23px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 20px;
  margin-bottom: 0;
  width: 280px;
}

.footer-social-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}

.social-icon-btn {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.social-icon-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-title {
  font-family: 'Space Grotesk', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 20px;
  letter-spacing: 0.544px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 20px 0;
  text-transform: none;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link-item a {
  font-family: 'Space Grotesk', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link-item a:hover {
  color: #FFFFFF;
}

/* Middle Row: Badge Pills */
.footer-badges-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
}

.footer-badge-pill {
  box-sizing: border-box;
  height: 30px;
  padding: 0 14px;
  background: rgba(52, 211, 153, 0.07);
  border: 1px solid rgba(52, 211, 153, 0.18);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 0.75rem;
  line-height: 16px;
  color: #34D399;
  white-space: nowrap;
}

/* Bottom Row: Copyright & Legal Links */
.footer-bottom {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-top: 10px;
  border-top: none;
}

.copyright-text {
  font-family: 'Space Grotesk', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 0.75rem;
  line-height: 18px;
  color: rgba(255, 255, 255, 0.75);
}

.footer-legal-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

.footer-legal-links a {
  font-family: 'Space Grotesk', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 0.75rem;
  line-height: 16px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   12. Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero-graphic-wrapper {
    justify-content: center;
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .step-item:nth-child(n) {
    margin-top: 0;
  }

  .timeline-svg-wave {
    display: none;
  }
}

@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

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

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

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

  .spontaneous-banner {
    flex-direction: column;
    text-align: center;
  }

  .hero-headline {
    font-size: 2.125rem;
    line-height: 48px;
  }
}