/* =========================================================================
   HERO SECTION — Centered Single-Column SaaS Layout
   Matches the same centered pattern used by other sections on the site
   (e.g. "Our Services"): badge, heading, paragraph, and CTAs all centered
   inside the standard .container, with the visual composition centered
   below. Colors, typography, gradients, glassmorphism and animation
   values are preserved from the original design.
   ========================================================================= */

.careers-hero {
  display: flex;
  align-items: center;
  padding-top: clamp(6rem, 11vw, 8rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  position: relative;
  overflow: hidden;
}

/* This element also carries the global .container class, which already
   sets max-width:1200px + margin:0 auto — the same rule every other
   section on the site uses (e.g. "Our Services"). We deliberately do NOT
   redeclare max-width or margin here, so the hero lines up exactly with
   the navbar and every other section. */
.careers-hero-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: clamp(2.5rem, 5vw, 4rem);
}

/* ------------------------------ Content ------------------------------ */
.careers-hero-content {
  text-align: left;
  max-width: 560px;
  width: auto;
  flex: 1 1 480px;
  margin: 0;
}

.careers-hero-content .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1.4rem;
}

.careers-hero-content h1 {
  font-size: clamp(2.4rem, 4vw, 3.9rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
  line-height: 1.14;
}

.careers-hero-sub {
  font-size: 1.08rem;
  line-height: 1.75;
  margin: 0 0 2rem;
  max-width: 520px;
  color: var(--text-muted);
}

.careers-hero-actions,
.cta-band-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 2.2rem;
}

.careers-hero-actions .btn,
.cta-band-actions .btn {
  height: 52px !important;
  min-height: 52px !important;
  min-width: 200px;
  padding: 0 1.8rem !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem !important;
  border-radius: var(--radius-xl) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  box-sizing: border-box !important;
  text-decoration: none;
  transition: var(--transition-normal);
}

.btn-outline-light {
  background: var(--white) !important;
  color: var(--text-main) !important;
  border: 1px solid var(--white) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
  cursor: pointer;
}

.btn-outline-light:hover {
  background: var(--white) !important;
  color: var(--text-main) !important;
  border-color: var(--white) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
}

.btn-outline-light:focus-visible {
  background: var(--white) !important;
  color: var(--text-main) !important;
  border-color: var(--white) !important;
  outline: 2px solid var(--white) !important;
  outline-offset: 3px;
}

.btn-outline-light:active {
  background: #f0f0f0 !important;
  color: var(--text-main) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
}

/* Highlights Grid (4 Items below CTAs) */
.careers-hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  max-width: 480px;
  margin: 0;
}

.hero-highlight-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
}

.hero-highlight-item i {
  color: var(--accent);
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* ------------------------------ Visual Stage ------------------------------ */
/* The "stage" defines a safe, padded bounding box. Every floating card is
   offset by a small, equal amount that stays inside this padding buffer,
   so nothing can ever overflow the hero section or cause horizontal scroll. */
.careers-hero-visual {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Glowing Radial Gradient Blobs (purely decorative, sit behind everything) */
.visual-glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.visual-glow-blob.blob-a {
  width: 220px;
  height: 220px;
  background: var(--accent);
  top: 0;
  right: 0;
}

.visual-glow-blob.blob-b {
  width: 190px;
  height: 190px;
  background: var(--accent-sky);
  bottom: 0;
  left: 0;
}

/* Main Visual Card: Glassmorphism IDE Container */
.visual-main-card {
  width: 100%;
  max-width: 400px;
  height: auto !important; /* .card sets height:100% globally — this card must size to its own content */
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.65) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  border-radius: var(--radius-lg);
  padding: 0 !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08) !important;
  overflow: hidden;
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.visual-main-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 60px rgba(0, 211, 148, 0.15) !important;
}

.ide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.2rem;
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.ide-dots {
  display: flex;
  gap: 0.4rem;
}

.ide-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.ide-dots .dot.red { background: var(--dot-red); }
.ide-dots .dot.yellow { background: var(--dot-yellow); }
.ide-dots .dot.green { background: var(--dot-green); }

.ide-title {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.ide-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  gap: 0.2rem;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
}

.ide-body {
  padding: 1.4rem 1.6rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.3);
  word-break: break-word;
  overflow-wrap: break-word;
}

.code-line {
  margin-bottom: 0.2rem;
}

.code-line.indent {
  padding-left: 1.4rem;
}

.code-keyword { color: var(--accent-purple); font-weight: 700; }
.code-var { color: var(--text-main); font-weight: 700; }
.code-func { color: var(--accent-sky-dark); font-weight: 700; }
.code-prop { color: var(--accent-secondary); font-weight: 600; }
.code-str { color: var(--accent-secondary); }

.code-status {
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.code-status i {
  color: var(--accent);
  font-size: 1rem;
}

/* Floating Glassmorphism Overlay Cards
   Positioned relative to the padded "stage" (.careers-hero-visual).
   Because absolutely-positioned elements are contained by the padding box
   of their positioned ancestor, a small equal offset here (-0.75rem) stays
   safely inside the 2–2.5rem stage padding — no overflow, ever. */
.visual-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 220px;
  max-width: calc(100% - 1rem);
  height: auto !important; /* .card sets height:100% globally — this card must size to its own content */
  padding: 0.9rem 1.1rem !important;
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08) !important;
  z-index: 3;
  animation: floatSlow 6s ease-in-out infinite alternate;
  will-change: transform;
}

.visual-float-card.float-top-left {
  top: -0.75rem;
  left: -0.75rem;
}

.visual-float-card.float-bottom-right {
  bottom: -0.75rem;
  right: -0.75rem;
  animation-delay: -3s;
}

.visual-float-card .card-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 0;
  flex-shrink: 0;
  font-size: 1.4rem;
}

.float-card-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.float-card-text p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Floating Badge — sits mid-right, same safe-offset logic as the cards */
.visual-float-badge {
  position: absolute;
  right: -0.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: auto !important; /* .card sets height:100% globally — this pill must size to its own content */
  padding: 0.6rem 1.2rem !important;
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 211, 148, 0.3) !important;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(0, 211, 148, 0.15) !important;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-secondary);
  z-index: 4;
  white-space: nowrap;
  animation: floatBadge 7s ease-in-out infinite alternate-reverse;
  will-change: transform;
}

@keyframes floatSlow {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

/* Badge keeps its vertical-centering translateY(-50%) baked into every
   keyframe so the float animation never fights the centering transform. */
@keyframes floatBadge {
  0% { transform: translateY(-50%) translateY(0); }
  100% { transform: translateY(-50%) translateY(-10px); }
}


/* =========================================================================
   PERKS / BENEFITS CARDS — Square 1:1
   ========================================================================= */

.perk-card {
  /* Force 1:1 square aspect ratio */
  aspect-ratio: 1 / 1;
  text-align: center;
  position: relative;
  overflow: hidden;
  /* Stack children vertically and center everything inside the square */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* Override the global .card padding to give breathing room without overflow */
  padding: 1.8rem 1.4rem !important;
}

.perk-card .card-icon {
  margin: 0 auto 1.2rem;
  transition: transform 0.35s ease, background 0.35s ease;
  flex-shrink: 0;
}

.perk-card:hover .card-icon {
  transform: scale(1.1) rotate(-5deg);
  background: linear-gradient(135deg, rgba(0, 211, 148, 0.18), rgba(5, 150, 105, 0.18));
}

.perk-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.perk-card p {
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
  /* clamp text so it doesn't break the square — show ellipsis only on overflow */
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =========================================================================
   JOBS META BAR
   ========================================================================= */

.jobs-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.jobs-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 211, 148, 0.1);
  border: 1px solid rgba(0, 211, 148, 0.25);
  color: var(--accent-secondary);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.45rem 1.2rem;
  border-radius: 50px;
  letter-spacing: 0.03em;
}

/* =========================================================================
   JOB ACCORDION
   ========================================================================= */

.job-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
}

/* Each accordion item uses <details> + <summary> for native a11y */
.job-accordion-item {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.job-accordion-item:hover {
  border-color: rgba(0, 211, 148, 0.45);
  box-shadow: 0 8px 30px rgba(0, 211, 148, 0.08);
  transform: translateY(-2px);
}

.job-accordion-item.is-open {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(0, 211, 148, 0.08) 100%);
  box-shadow: 0 12px 40px rgba(0, 211, 148, 0.12);
  transform: none;
}

/* Accordion trigger */
.job-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.6rem 2rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
}

.job-accordion-trigger:hover {
  background: rgba(0, 211, 148, 0.03);
}

.job-trigger-left {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
  min-width: 0;
}

.job-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  transition: color 0.25s ease;
  overflow-wrap: break-word;
  word-break: break-word;
}

.job-accordion-item.is-open .job-title {
  color: var(--accent-secondary);
}

.job-quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.job-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.28rem 0.75rem;
  border-radius: 50px;
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-muted);
  border: 1px solid rgba(0, 0, 0, 0.06);
  white-space: nowrap;
}

.job-tag.tag-type {
  background: rgba(0, 211, 148, 0.1);
  color: var(--accent-secondary);
  border-color: rgba(0, 211, 148, 0.2);
}

.job-tag.tag-location {
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-sky-dark);
  border-color: rgba(56, 189, 248, 0.2);
}

.job-tag.tag-dept {
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent-purple-dark);
  border-color: rgba(139, 92, 246, 0.2);
}

.job-tag.tag-salary {
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-amber-dark);
  border-color: rgba(245, 158, 11, 0.2);
}

/* Arrow icon */
.job-accordion-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 211, 148, 0.08);
  border: 1px solid rgba(0, 211, 148, 0.15);
  color: var(--accent);
  font-size: 1.4rem;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
}

.job-accordion-item.is-open .job-accordion-arrow {
  transform: rotate(180deg);
  background: rgba(0, 211, 148, 0.15);
}

/* Accordion body */
.job-accordion-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: max-height;
}

.job-accordion-body-inner {
  padding: 0 2rem 2rem;
  border-top: 1px solid rgba(0, 211, 148, 0.12);
  padding-top: 1.8rem;
}

/* Job detail sections inside accordion */
.job-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.job-detail-item {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.job-detail-item-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent);
}

.job-detail-item-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.job-detail-item-value-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.job-detail-item-note {
  font-size: 0.72rem;
  font-weight: 500;
  font-style: italic;
  color: var(--accent);
  line-height: 1.4;
}

@media (min-width: 769px) {
  .job-detail-item--has-note {
    grid-column: span 2;
  }

  .job-detail-item--has-note .job-detail-item-value-row {
    flex-wrap: nowrap;
    gap: 0.6rem;
  }

  .job-detail-item--has-note .job-detail-item-note {
    white-space: nowrap;
  }
}

/* Description & list sections */
.job-section {
  margin-bottom: 1.5rem;
}

.job-section-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.job-section-title i {
  color: var(--accent);
  font-size: 1.1rem;
}

.job-section p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
  white-space: pre-line;
}

.job-list-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}

.job-list-items li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.job-list-items li::before {
  content: '';
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 0.42em;
}

/* Skills chips */
.job-skills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.job-skill-chip {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  background: rgba(0, 211, 148, 0.08);
  border: 1px solid rgba(0, 211, 148, 0.2);
  color: var(--accent-secondary);
  transition: background 0.2s ease, transform 0.2s ease;
}

.job-skill-chip:hover {
  background: rgba(0, 211, 148, 0.18);
  transform: translateY(-2px);
}

/* Benefits chips */
.job-benefits-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.job-benefit-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: var(--text-main);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.job-benefit-chip i {
  color: var(--accent);
  font-size: 1rem;
}

/* Divider inside accordion */
.job-section-divider {
  border: none;
  border-top: 1px solid rgba(0, 211, 148, 0.1);
  margin: 1.5rem 0;
}

/* Apply button row */
.job-apply-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.job-apply-row .btn,
.careers-empty-state .btn {
  height: 52px !important;
  min-height: 52px !important;
  padding: 0 1.8rem !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem !important;
  border-radius: var(--radius-xl) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  box-sizing: border-box !important;
}

.job-apply-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

/* =========================================================================
   EMPTY STATE
   ========================================================================= */

.careers-empty-state {
  text-align: center;
  padding: 5rem 2rem;
  max-width: 560px;
  margin: 0 auto;
}

.careers-empty-state[hidden] {
  display: none;
}

.empty-state-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, rgba(0, 211, 148, 0.1), rgba(5, 150, 105, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
  color: var(--accent);
  border: 1px solid rgba(0, 211, 148, 0.15);
}

.careers-empty-state h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.careers-empty-state p {
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* =========================================================================
   CTA BAND SECTION
   ========================================================================= */

.careers-cta-section {
  padding-top: 0;
  padding-bottom: 4rem;
}

.cta-band {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 211, 148, 0.3);
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-band-content {
  flex: 1;
  min-width: 0;
  position: relative;
}

.cta-band-content h2,
.cta-band-content p {
  color: #fff;
}

.cta-band-content h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  margin-bottom: 0.8rem;
}

.cta-band-content p {
  font-size: 1.05rem;
  opacity: 0.9;
  max-width: 500px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.badge-light {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #fff !important;
  margin-bottom: 1.2rem;
}

.cta-band-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-outline-light:hover {
  background: #fff;
  transform: translateY(-3px);
  border-color: #fff;
  color: var(--text-main);
}

.btn-outline-light:focus-visible {
  background: #fff;
  border-color: #fff;
  color: var(--text-main);
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.btn-outline-light:active {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
  color: var(--text-main);
}

/* CTA Decoration Icon */
.cta-band-decoration {
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-deco-icon {
  font-size: 9rem;
  color: rgba(255, 255, 255, 0.1);
  line-height: 1;
  filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.08));
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */

/* ---- Tablet & below (max-width: 900px) ---- */
@media (max-width: 900px) {
  .careers-hero {
    padding-top: 8.5rem;
    padding-bottom: 3rem;
  }

  .careers-hero-inner {
    flex-direction: column;
    align-items: center;
    gap: clamp(2.5rem, 5vw, 3.5rem);
  }

  .careers-hero-content {
    text-align: center;
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
  }

  .careers-hero-content .badge {
    margin: 0 auto 1.4rem;
  }

  .careers-hero-sub {
    margin: 0 auto 2rem;
    max-width: 580px;
  }

  .careers-hero-actions {
    justify-content: center;
    margin: 0 auto 2.2rem;
  }

  .careers-hero-highlights {
    justify-content: center;
    text-align: left;
    max-width: 480px;
    margin: 0 auto;
  }

  .careers-hero-visual {
    max-width: 380px;
    padding: 0;
    gap: 1.25rem;
  }

  .visual-glow-blob {
    display: none;
  }

  .visual-main-card {
    max-width: 100%;
  }

  .visual-float-card {
    position: static;
    width: 100%;
    max-width: 100%;
    animation: none;
  }

  .visual-float-badge {
    position: static;
    transform: none;
    margin: 0 auto;
    animation: none;
  }
}

/* ---- Mobile / Tablet (max-width: 768px) ---- */
@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }

  .careers-hero {
    padding-top: 9.5rem;
    padding-bottom: 2.5rem;
  }

  .careers-hero-content h1 {
    font-size: clamp(2rem, 6.5vw, 2.75rem);
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .perk-card {
    aspect-ratio: auto;
    min-height: 180px;
    padding: 1.6rem 1.25rem !important;
  }

  .perk-card p {
    -webkit-line-clamp: initial;
    display: block;
    overflow: visible;
  }

  /* Accordion Layout Fixes */
  .job-accordion-trigger {
    padding: 1.25rem 1.25rem;
    gap: 0.75rem;
    align-items: center;
  }

  .job-trigger-left {
    gap: 0.5rem;
    min-width: 0;
    flex: 1;
  }

  .job-title {
    font-size: 1.1rem;
    line-height: 1.35;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .job-quick-tags {
    gap: 0.4rem;
    flex-wrap: wrap;
    max-width: 100%;
  }

  .job-tag {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    line-height: 1.35;
    padding: 0.3rem 0.75rem;
    border-radius: 12px;
  }

  .job-tag i {
    flex-shrink: 0;
    margin-top: 0.1em;
  }

  .job-accordion-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
    flex-shrink: 0;
    align-self: center;
  }

  .job-accordion-body-inner {
    padding: 0 1.25rem 1.4rem;
    padding-top: 1.25rem;
  }

  .job-detail-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .job-detail-item {
    padding: 0.85rem 1rem;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .job-apply-row {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0.8rem;
  }

  .job-apply-row .btn {
    width: 100%;
    justify-content: center;
  }

  .job-apply-note {
    text-align: center;
  }

  /* CTA Band Responsive & Mobile Send Resume Button */
  .cta-band {
    flex-direction: column;
    align-items: stretch;
    padding: 2.2rem 1.25rem;
    text-align: center;
    border-radius: var(--radius-lg);
  }

  .cta-band-decoration {
    display: none;
  }

  .cta-band-content p {
    margin-left: auto;
    margin-right: auto;
    font-size: 0.98rem;
  }

  .cta-band-actions {
    justify-content: center;
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .cta-band-actions .btn,
  .careers-hero-actions .btn {
    width: 100% !important;
    min-width: 100% !important;
    height: 52px !important;
    justify-content: center !important;
  }
}

/* ---- Small Mobile (max-width: 640px) ---- */
@media (max-width: 640px) {
  .careers-hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .careers-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .careers-hero-highlights {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    max-width: 340px;
  }

  .visual-float-card {
    padding: 0.8rem 1rem !important;
    gap: 0.75rem;
  }

  .visual-float-card .card-icon {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }

  .float-card-text strong {
    font-size: 0.82rem;
  }

  .float-card-text p {
    font-size: 0.72rem;
  }
}

/* ---- Mobile Phones (max-width: 480px) ---- */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .careers-hero {
    padding-bottom: 2rem;
  }

  .careers-hero-content h1 {
    font-size: clamp(1.75rem, 7.5vw, 2.25rem);
  }

  .careers-hero-sub {
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
  }

  .hero-highlight-item {
    font-size: 0.85rem;
  }

  .jobs-count-badge {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  .careers-empty-state {
    padding: 3rem 1rem;
  }

  .perk-card {
    padding: 1.4rem 1rem !important;
  }

  .job-accordion-trigger {
    padding: 1.1rem 1rem;
    gap: 0.6rem;
  }

  .job-trigger-left {
    gap: 0.45rem;
  }

  .job-title {
    font-size: 1.02rem;
  }

  .job-quick-tags {
    gap: 0.35rem;
  }

  .job-tag {
    font-size: 0.72rem;
    padding: 0.25rem 0.6rem;
    border-radius: 10px;
  }

  .job-accordion-arrow {
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
  }

  .job-accordion-body-inner {
    padding: 0 1rem 1.25rem;
    padding-top: 1rem;
  }

  .job-detail-grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .job-skill-chip,
  .job-benefit-chip {
    max-width: 100%;
    word-break: break-word;
    white-space: normal;
  }
}

/* ---- Extra Small Screens (max-width: 360px) ---- */
@media (max-width: 360px) {
  .container {
    padding: 0 0.75rem;
  }

  .careers-hero-content h1 {
    font-size: 1.6rem;
  }

  .job-accordion-trigger {
    padding: 1rem 0.75rem;
  }

  .job-title {
    font-size: 0.95rem;
  }

  .job-tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
  }

  .job-accordion-arrow {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }

  .job-accordion-body-inner {
    padding: 0 0.75rem 1rem;
    padding-top: 0.85rem;
  }

  .cta-band {
    padding: 1.6rem 0.85rem;
  }
}