/* ==========================================================================
   QUBENIX CAREERS & HIRING STYLESHEET
   Brand Palette:
     Primary: #3C32A3
     Accent: #6B5FD1
     Background: #FFFFFF
     Text: #141225
     Muted: #55516B
     Border: #E5E7EB
     Surface: #FAFBFD
     Surface-Alt: #F5F4FD
   ========================================================================== */

:root {
  --car-primary: #3C32A3;
  --car-primary-hover: #312885;
  --car-accent: #6B5FD1;
  --car-accent-light: #F0EFFF;
  --car-lavender-subtle: #F8F9FE;
  --car-text: #141225;
  --car-muted: #55516B;
  --car-subtle: #716E85;
  --car-bg: #F8F3F0;
  --car-surface: #FAFBFD;
  --car-border: #E8E8EC;
  --car-border-light: rgba(60, 50, 163, 0.12);
  --car-radius-pill: 9999px;
  --car-radius-lg: 24px;
  --car-radius-md: 18px;
  --car-radius-sm: 12px;
  --car-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --car-container: 1240px;
}

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

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.careers-hero {
  position: relative;
  width: 100%;
  padding: clamp(120px, 14vw, 160px) clamp(20px, 4vw, 40px) clamp(60px, 7vw, 90px);
  background: linear-gradient(180deg, #F8F9FE 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--car-border);
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
}

.careers-hero::before {
  content: "";
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  max-width: 90vw;
  height: 500px;
  background: radial-gradient(circle, rgba(107, 95, 209, 0.14) 0%, rgba(248, 249, 254, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

.careers-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.careers-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--car-radius-pill);
  background: #FFFFFF;
  border: 1px solid rgba(60, 50, 163, 0.18);
  box-shadow: 0 2px 8px rgba(60, 50, 163, 0.06);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--car-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.careers-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--car-primary);
  box-shadow: 0 0 8px rgba(60, 50, 163, 0.6);
}

.careers-hero-title {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--car-text);
  margin-bottom: 22px;
}

.careers-hero-desc {
  font-size: clamp(16px, 1.9vw, 19px);
  color: var(--car-muted);
  line-height: 1.65;
  max-width: 740px;
  margin: 0 auto 36px;
}

.careers-hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-car-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--car-primary);
  color: #FFFFFF !important;
  font-size: 14.5px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--car-radius-pill);
  border: 1px solid transparent;
  box-shadow: 0 4px 16px rgba(60, 50, 163, 0.22);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
}

.btn-car-primary:hover {
  background: var(--car-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(60, 50, 163, 0.32);
  color: #FFFFFF !important;
}

.btn-car-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #FFFFFF;
  color: var(--car-text) !important;
  font-size: 14.5px;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: var(--car-radius-pill);
  border: 1px solid var(--car-border);
  box-shadow: 0 2px 6px rgba(20, 18, 37, 0.03);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
}

.btn-car-secondary:hover {
  background: #F8F9FE;
  border-color: rgba(60, 50, 163, 0.25);
  color: var(--car-primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(60, 50, 163, 0.08);
}

/* ==========================================================================
   COMMON SECTION STYLING
   ========================================================================== */
.careers-section {
  padding: clamp(64px, 8vw, 100px) clamp(20px, 4vw, 40px);
  max-width: var(--car-container);
  margin: 0 auto;
  box-sizing: border-box;
}

.section-header-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(40px, 5vw, 56px);
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--car-primary);
  background: #F0EFFF;
  border: 1px solid rgba(60, 50, 163, 0.12);
  padding: 5px 14px;
  border-radius: var(--car-radius-pill);
  margin-bottom: 14px;
}

.section-heading {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 750;
  letter-spacing: -0.025em;
  color: var(--car-text);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-description {
  font-size: clamp(15.5px, 1.8vw, 17.5px);
  color: var(--car-muted);
  line-height: 1.65;
}

/* ==========================================================================
   2. WHY JOIN QUBENIX (4 CARDS)
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.why-card {
  background: #FFFFFF;
  border: 1px solid var(--car-border);
  border-radius: var(--car-radius-md);
  padding: 34px 28px;
  box-shadow: 0 4px 16px rgba(20, 18, 37, 0.03);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(107, 95, 209, 0.35);
  box-shadow: 0 16px 36px rgba(60, 50, 163, 0.08);
}

.why-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #F0EFFF;
  color: var(--car-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border: 1px solid rgba(60, 50, 163, 0.12);
}

.why-icon-box svg {
  width: 26px;
  height: 26px;
  stroke: var(--car-primary);
}

.why-card-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--car-text);
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}

.why-card-text {
  font-size: 15px;
  color: var(--car-muted);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   3. OPEN POSITIONS & FILTERS
   ========================================================================== */
.roles-filter-bar {
  background: #FFFFFF;
  border: 1px solid var(--car-border);
  border-radius: var(--car-radius-md);
  padding: 16px 20px;
  margin-bottom: 32px;
  box-shadow: 0 2px 10px rgba(20, 18, 37, 0.03);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.filter-tabs-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--car-muted);
  font-family: var(--car-font);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--car-radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.filter-tab:hover {
  color: var(--car-primary);
  background: #F8F9FE;
}

.filter-tab.is-active {
  background: var(--car-primary);
  color: #FFFFFF;
  border-color: var(--car-primary);
  box-shadow: 0 2px 8px rgba(60, 50, 163, 0.2);
}

.tab-count {
  font-size: 11.5px;
  background: rgba(0, 0, 0, 0.08);
  padding: 2px 7px;
  border-radius: 9999px;
  font-weight: 700;
}

.filter-tab.is-active .tab-count {
  background: rgba(255, 255, 255, 0.24);
  color: #FFFFFF;
}

.roles-search-box {
  position: relative;
  min-width: 260px;
  flex: 1;
  max-width: 340px;
}

.roles-search-input {
  width: 100%;
  padding: 10px 36px 10px 38px;
  border-radius: var(--car-radius-pill);
  border: 1px solid var(--car-border);
  background: #FAFBFD;
  font-family: var(--car-font);
  font-size: 14px;
  color: var(--car-text);
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.roles-search-input:focus {
  background: #FFFFFF;
  border-color: var(--car-primary);
  box-shadow: 0 0 0 3px rgba(60, 50, 163, 0.12);
}

.search-icon-left {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--car-subtle);
  pointer-events: none;
}

.search-clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--car-subtle);
  font-size: 16px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 50%;
  display: none;
}

.search-clear-btn:hover {
  color: var(--car-text);
}

.roles-meta-status {
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--car-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   ROLE CARDS LIST
   ========================================================================== */
.roles-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.role-card-item {
  background: #FFFFFF;
  border: 1px solid var(--car-border);
  border-radius: var(--car-radius-lg);
  padding: clamp(24px, 3.5vw, 36px);
  box-shadow: 0 4px 18px rgba(20, 18, 37, 0.03);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  scroll-margin-top: 100px;
}

.role-card-item:hover {
  border-color: rgba(60, 50, 163, 0.28);
  box-shadow: 0 10px 30px rgba(60, 50, 163, 0.08);
}

.role-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.role-card-title-group {
  flex: 1;
  min-width: 240px;
}

.role-dept-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--car-primary);
  background: #F0EFFF;
  border: 1px solid rgba(60, 50, 163, 0.12);
  padding: 3px 10px;
  border-radius: var(--car-radius-pill);
  margin-bottom: 8px;
}

.role-card-h3 {
  font-size: clamp(21px, 2.4vw, 26px);
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--car-text);
  margin: 0;
}

.role-card-desc {
  font-size: 15.5px;
  color: var(--car-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.role-skills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.skill-tag {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--car-primary);
  background: #F7F6FD;
  border: 1px solid rgba(60, 50, 163, 0.1);
  padding: 4px 12px;
  border-radius: var(--car-radius-pill);
}

/* Expandable Details Box */
.role-detail-drawer {
  display: none;
  border-top: 1px dashed var(--car-border);
  padding-top: 26px;
  margin-top: 20px;
  animation: fadeInDown 0.28s ease forwards;
}

.role-card-item.is-expanded .role-detail-drawer {
  display: block;
}

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

.detail-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-bottom: 24px;
}

.detail-col-title {
  font-size: 14.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--car-text);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-col-title svg {
  width: 17px;
  height: 17px;
  stroke: var(--car-primary);
}

.detail-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-bullets li {
  font-size: 14px;
  color: var(--car-muted);
  line-height: 1.55;
  position: relative;
  padding-left: 20px;
}

.detail-bullets li::before {
  content: "•";
  position: absolute;
  left: 6px;
  color: var(--car-primary);
  font-weight: bold;
  font-size: 16px;
}

.role-suitable-box {
  background: #F8F9FE;
  border: 1px solid rgba(60, 50, 163, 0.1);
  border-radius: var(--car-radius-sm);
  padding: 16px 20px;
  margin-bottom: 24px;
}

.suitable-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--car-primary);
  margin-bottom: 4px;
}

.suitable-text {
  font-size: 14.5px;
  color: var(--car-text);
  margin: 0;
  line-height: 1.55;
}

.role-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid #F0F0F4;
}

.role-toggle-btn {
  background: none;
  border: 1px solid var(--car-border);
  color: var(--car-text);
  font-family: var(--car-font);
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--car-radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.role-toggle-btn:hover {
  background: #F8F9FE;
  border-color: rgba(60, 50, 163, 0.25);
  color: var(--car-primary);
}

.role-toggle-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
}

.role-card-item.is-expanded .role-toggle-btn svg {
  transform: rotate(180deg);
}

.role-apply-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--car-primary);
  color: #FFFFFF !important;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: var(--car-radius-pill);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(60, 50, 163, 0.18);
}

.role-apply-cta-btn:hover {
  background: var(--car-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(60, 50, 163, 0.28);
}

/* ==========================================================================
   ROLE CARD TWO-COLUMN GRID SYSTEM (ALL 8 ROLES)
   ========================================================================== */
.role-card-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: clamp(24px, 3.2vw, 40px);
  align-items: center;
}

.role-card-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.role-tagline-text {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--car-accent);
  letter-spacing: 0.02em;
  margin-top: 2px;
  margin-bottom: 12px;
}

.role-card-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* Right Column Visual / Poster */
.role-card-visual {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.role-visual-frame {
  position: relative;
  width: 100%;
  height: 250px;
  max-height: 250px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(60, 50, 163, 0.08), 0 2px 6px rgba(20, 18, 37, 0.04);
  border: 1px solid rgba(60, 50, 163, 0.12);
  background: #FAF9FF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.role-card-item:hover .role-visual-frame {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(60, 50, 163, 0.14), 0 4px 10px rgba(20, 18, 37, 0.06);
}

.role-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Sleek Branded Role Visual Placeholder for Roles Pending Artwork */
.role-visual-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  box-sizing: border-box;
  background: radial-gradient(circle at 80% 20%, rgba(107, 95, 209, 0.15) 0%, rgba(60, 50, 163, 0.05) 50%, #FAF9FF 100%);
  position: relative;
}

.role-placeholder-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #FFFFFF;
  box-shadow: 0 8px 20px rgba(60, 50, 163, 0.12), inset 0 0 0 1px rgba(60, 50, 163, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--car-primary);
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.role-card-item:hover .role-placeholder-icon-wrap {
  transform: scale(1.08) rotate(2deg);
}

.role-placeholder-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--car-text);
  margin: 0 0 3px 0;
  letter-spacing: -0.01em;
}

.role-placeholder-dept {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--car-accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.role-visual-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(20, 18, 37, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
  z-index: 2;
}

.role-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
  animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

@media (max-width: 960px) {
  .role-card-grid {
    grid-template-columns: 1fr 280px;
    gap: 24px;
  }
  .role-visual-frame {
    height: 230px;
  }
}

@media (max-width: 768px) {
  .role-card-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .role-card-visual {
    order: -1;
    width: 100%;
  }
  .role-visual-frame {
    height: 220px;
    max-width: 440px;
    margin: 0 auto;
  }
  .role-card-actions {
    width: 100%;
  }
  .role-apply-cta-btn,
  .role-toggle-btn {
    flex: 1;
    min-width: 160px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .role-card-actions {
    flex-direction: column;
  }
  .role-apply-cta-btn,
  .role-toggle-btn {
    width: 100%;
  }
}

/* Empty State */
.roles-empty-state {
  display: none;
  text-align: center;
  padding: 60px 24px;
  background: #FFFFFF;
  border: 1px dashed var(--car-border);
  border-radius: var(--car-radius-lg);
}

.roles-empty-state.is-visible {
  display: block;
}

.empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #F0EFFF;
  color: var(--car-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

/* ==========================================================================
   4. HOW TO APPLY (3 STEPS)
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  position: relative;
}

.step-card {
  background: #FFFFFF;
  border: 1px solid var(--car-border);
  border-radius: var(--car-radius-lg);
  padding: 36px 30px;
  box-shadow: 0 4px 18px rgba(20, 18, 37, 0.03);
  position: relative;
  transition: all 0.25s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(60, 50, 163, 0.3);
  box-shadow: 0 14px 32px rgba(60, 50, 163, 0.08);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #F0EFFF;
  color: var(--car-primary);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
  border: 1px solid rgba(60, 50, 163, 0.12);
}

.step-title {
  font-size: 19px;
  font-weight: 750;
  color: var(--car-text);
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}

.step-desc {
  font-size: 15px;
  color: var(--car-muted);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   5. CAREERS FAQ ACCORDION
   ========================================================================== */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--car-border);
  border-radius: var(--car-radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(60, 50, 163, 0.25);
}

.faq-item.is-open {
  border-color: var(--car-primary);
  box-shadow: 0 4px 20px rgba(60, 50, 163, 0.06);
}

.faq-question-btn {
  width: 100%;
  padding: 22px 26px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--car-font);
  font-size: 17px;
  font-weight: 700;
  color: var(--car-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-chevron {
  width: 18px;
  height: 18px;
  color: var(--car-primary);
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 26px 24px;
  font-size: 15px;
  color: var(--car-muted);
  line-height: 1.65;
  border-top: 1px solid #F4F4F8;
  padding-top: 16px;
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* ==========================================================================
   6. CLOSING CTA (MATCHING HOMEPAGE VARIANT 1 CTA)
   ========================================================================== */
.careers-cta-section {
  padding: clamp(60px, 8vw, 100px) clamp(20px, 4vw, 40px);
  max-width: var(--car-container);
  margin: 0 auto;
  box-sizing: border-box;
}

.careers-cta-card {
  position: relative;
  background: linear-gradient(135deg, #1C1947 0%, #3C32A3 60%, #5E50DC 100%);
  border-radius: var(--car-radius-lg);
  padding: clamp(48px, 6vw, 72px) clamp(24px, 5vw, 60px);
  text-align: center;
  color: #FFFFFF;
  overflow: hidden;
  box-shadow: 0 24px 60px -15px rgba(60, 50, 163, 0.35);
}

.careers-cta-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.careers-cta-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.careers-cta-title {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 18px;
}

.careers-cta-desc {
  font-size: clamp(16px, 1.8vw, 18px);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  margin-bottom: 34px;
}

.careers-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  color: var(--car-primary) !important;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: var(--car-radius-pill);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: all 0.22s ease;
}

.btn-cta-white:hover {
  background: #F5F4FD;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF !important;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: var(--car-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: all 0.22s ease;
  backdrop-filter: blur(8px);
}

.btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

/* ==========================================================================
   RESPONSIVE DESIGN (1440px, 768px, 375px)
   ========================================================================== */
@media (max-width: 900px) {
  .roles-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .roles-search-box {
    max-width: 100%;
    min-width: 100%;
  }
}

@media (max-width: 768px) {
  .careers-hero {
    padding: 110px 16px 50px;
  }
  .careers-section {
    padding: 56px 16px;
  }
  .why-grid,
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .role-card-item {
    padding: 22px 18px;
  }
  .detail-section-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .role-card-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .role-toggle-btn,
  .role-apply-cta-btn {
    width: 100%;
    justify-content: center;
  }
  .faq-question-btn {
    padding: 18px 20px;
    font-size: 16px;
  }
  .faq-answer {
    padding: 0 20px 20px;
  }
}

@media (max-width: 480px) {
  .careers-hero-actions,
  .careers-cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn-car-primary,
  .btn-car-secondary,
  .btn-cta-white,
  .btn-cta-outline {
    width: 100%;
  }
}
