/* ============================================================================
   TalentCloud360 — Shared Brand System & Component Styles
   ============================================================================ */

:root {
  --navy: #0B3D5C;
  --teal: #1E8A7A;
  --gold: #F2A93B;
  --ink: #1A1A1A;
  --bg: #F7F9FA;
  --light-gray: #E8ECEF;
  --medium-gray: #666666;

  --font-stack: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --transition: all 0.3s ease;

  /* Used only below the hero on the homepage — the hero itself stays on
     --font-stack, unchanged, by design. See homepage redesign (2026-08). */
  --font-heading: 'Sora', var(--font-stack);
  --font-body: 'Work Sans', var(--font-stack);
}

/* ============================================================================
   RESET & BASE
   ============================================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-stack);
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  opacity: 0.8;
}

button {
  font-family: var(--font-stack);
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

/* ============================================================================
   LOGO & ORBIT ANIMATION
   ============================================================================ */

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.orbit-mark {
  width: 40px;
  height: 40px;
  position: relative;
}

.orbit-mark svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

@keyframes orbit-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.orbit-dot {
  animation: orbit-spin 6s linear infinite;
  transform-origin: center;
}

.wordmark {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.wordmark .navy {
  color: var(--navy);
}

.wordmark .teal {
  color: var(--teal);
}

/* ============================================================================
   NAVIGATION
   ============================================================================ */

nav {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(247, 249, 250, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(30, 138, 122, 0.1);
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 50px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

/* Desktop already shows Contact as its own CTA button (.btn-nav-contact) —
   this copy only appears inside the mobile dropdown menu. */
.nav-menu-contact {
  display: none;
}

.nav-menu > li > a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding: 8px 0;
}

.nav-menu > li > a:hover {
  color: var(--teal);
}

.nav-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: var(--transition);
}

.nav-menu > li > a:hover::after {
  width: 100%;
}

/* Mega-menu */
.mega-menu-container {
  position: relative;
}

.mega-menu-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.mega-menu-toggle::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--ink);
  transition: var(--transition);
}

.mega-menu-toggle.active::after {
  transform: rotate(180deg);
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  background: white;
  border-radius: 8px;
  padding: 24px;
  min-width: 500px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 12px;
  border: 1px solid var(--light-gray);
}

.mega-menu.open {
  display: grid;
}

.mega-menu-item {
  padding: 12px;
  border-radius: 6px;
  transition: var(--transition);
}

.mega-menu-item:hover {
  background: var(--bg);
}

.mega-menu-item-icon {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  margin-bottom: 8px;
}

.mega-menu-item-title {
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
  font-size: 14px;
}

.mega-menu-item-desc {
  font-size: 12px;
  color: var(--medium-gray);
}

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

/* ============================================================================
   BUTTONS
   ============================================================================ */

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-gold {
  background: var(--gold);
  color: white;
}

.btn-gold:hover {
  background: #E6941E;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(242, 169, 59, 0.3);
}

.btn-teal-outline {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}

.btn-teal-outline:hover {
  background: var(--teal);
  color: white;
}

.btn-nav-contact {
  background: var(--navy);
  color: white;
  padding: 10px 20px;
  font-size: 13px;
}

.btn-nav-contact:hover {
  background: var(--teal);
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 80px 40px;
  align-items: center;
  background: linear-gradient(135deg, rgba(11, 61, 92, 0.03), rgba(30, 138, 122, 0.02));
  position: relative;
}

/* Decorative background only — never affects hero copy, CTAs, or the
   demo card, which all sit above it via z-index. overflow:hidden lives
   here (not on .hero) so it clips the glows/rings without also clipping
   the demo card's drop shadow at tight mobile padding. */
.hero-decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-decor .glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(55px);
}

.hero-decor .glow-teal {
  width: 480px;
  height: 480px;
  top: -180px;
  left: -120px;
  background: rgba(30, 138, 122, 0.26);
}

.hero-decor .glow-gold {
  width: 340px;
  height: 340px;
  bottom: -120px;
  left: 18%;
  background: rgba(242, 169, 59, 0.2);
}

.hero-decor .ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(11, 61, 92, 0.18);
}

.hero-decor .ring-1 {
  width: 260px;
  height: 260px;
  top: 6%;
  right: 3%;
}

.hero-decor .ring-2 {
  width: 150px;
  height: 150px;
  bottom: 10%;
  right: 28%;
}

.hero-left {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-headline {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

.usp-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  background: white;
  border: 1px solid rgba(30, 138, 122, 0.35);
  box-shadow: 0 2px 10px rgba(11, 61, 92, 0.08);
  padding: 10px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #22C55E;
  border-radius: 50%;
  animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }
}

.hero-subheading {
  font-size: 16px;
  color: var(--medium-gray);
  line-height: 1.8;
  margin-top: 4px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.hero-ctas .btn {
  font-size: 15px;
  padding: 14px 28px;
}

/* Live demo card */
.demo-card {
  position: relative;
  z-index: 1;
  background: white;
  border: 1px solid var(--light-gray);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.demo-card-header {
  background: #2A2A2A;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.traffic-light {
  display: flex;
  gap: 6px;
}

.traffic-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.traffic-dot.red {
  background: #FF5F57;
}

.traffic-dot.yellow {
  background: #FFBD2E;
}

.traffic-dot.green {
  background: #28C940;
}

.demo-url {
  flex: 1;
  background: #3A3A3A;
  color: #CCC;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 3px;
  margin-left: 8px;
}

.demo-card-body {
  padding: 24px;
  background: #FAFAFA;
}

.demo-search {
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 20px;
  font-family: 'Monaco', monospace;
  padding: 12px;
  background: white;
  border-radius: 6px;
  border: 1px solid var(--light-gray);
}

.candidate-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 12px;
  border-bottom: 1px solid var(--light-gray);
  align-items: center;
  opacity: 0;
  animation: slide-in 0.5s ease forwards;
}

.candidate-row:last-child {
  border-bottom: none;
}

.candidate-row:nth-child(1) {
  animation-delay: 0.1s;
}

.candidate-row:nth-child(2) {
  animation-delay: 0.3s;
}

.candidate-row:nth-child(3) {
  animation-delay: 0.5s;
}

@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

.candidate-name {
  font-weight: 600;
  font-size: 13px;
  color: var(--navy);
}

.candidate-role {
  font-size: 11px;
  background: rgba(30, 138, 122, 0.1);
  color: var(--teal);
  width: fit-content;
  padding: 3px 8px;
  border-radius: 12px;
}

.candidate-score {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
  position: relative;
}

.score-bar-container {
  width: 100px;
  height: 6px;
  background: var(--light-gray);
  border-radius: 3px;
  overflow: hidden;
}

.score-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  width: 0;
  animation: fill-bar 0.8s ease forwards;
}

.candidate-row:nth-child(1) .score-bar {
  animation-delay: 0.6s;
}

.candidate-row:nth-child(2) .score-bar {
  animation-delay: 0.8s;
}

.candidate-row:nth-child(3) .score-bar {
  animation-delay: 1s;
}

@keyframes fill-bar {
  to {
    width: 100%;
  }
}

.score-percent {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
}

.badge-shortlist {
  margin-top: 4px;
  background: var(--gold);
  color: white;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  animation: pop-in 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  animation-delay: 1.1s;
}

@keyframes pop-in {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

/* ============================================================================
   STATS STRIP
   ============================================================================ */

.stats-strip {
  background: linear-gradient(135deg, var(--navy), #0E4A6E);
  color: white;
  padding: 72px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stat-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(242, 169, 59, 0.12);
  border: 1px solid rgba(242, 169, 59, 0.3);
  color: var(--gold);
  margin-bottom: 4px;
}

/* Subtle divider between stats — desktop 4-across layout only; dropped
   once the grid wraps to 2 or 1 columns so it never floats between rows. */
.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 10%;
  bottom: 10%;
  right: -20px;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.stat.in-view {
  opacity: 1;
  transform: translateY(0);
}

.stat:nth-child(2) { transition-delay: 0.1s; }
.stat:nth-child(3) { transition-delay: 0.2s; }
.stat:nth-child(4) { transition-delay: 0.3s; }

.stat-number {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ============================================================================
   HOW IT WORKS
   ============================================================================ */

.how-it-works {
  padding: 100px 40px;
  background: white;
}

.how-it-works-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
}

.how-it-works-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--navy);
  margin-bottom: 60px;
}

.how-it-works .section-title {
  margin-bottom: 16px;
}

.how-it-works-subtitle {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--medium-gray);
  max-width: 440px;
  margin: 0 0 44px;
  line-height: 1.7;
}

.steps-timeline {
  display: flex;
  flex-direction: column;
}

.step {
  display: flex;
  gap: 20px;
  padding-bottom: 32px;
  margin-left: 23px;
  padding-left: 32px;
  border-left: 2px solid var(--light-gray);
  position: relative;
}

.step:last-child {
  padding-bottom: 0;
}

.step-icon {
  position: absolute;
  left: -25px;
  top: 0;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 8px 18px rgba(30, 138, 122, 0.3);
}

.step-body {
  padding-top: 8px;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.step-desc {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--medium-gray);
  line-height: 1.7;
}

.how-it-works-media {
  position: relative;
}

.how-it-works-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(11, 61, 92, 0.18);
  display: block;
}

.how-it-works-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: white;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 12px 32px rgba(11, 61, 92, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
}

.how-it-works-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(30, 138, 122, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}

.how-it-works-badge-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}

.how-it-works-badge-desc {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--medium-gray);
}

/* ============================================================================
   SOLUTIONS GRID
   ============================================================================ */

.solutions-section {
  padding: 100px 40px;
  background: var(--bg);
}

.solutions-section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1160px;
  margin: 0 auto;
}

.solution-card {
  background: white;
  border: 1px solid var(--light-gray);
  border-radius: 14px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 6px 20px rgba(11, 61, 92, 0.06);
  transition: var(--transition);
}

.solution-card:hover {
  border-color: var(--teal);
  box-shadow: 0 16px 32px rgba(11, 61, 92, 0.12);
  transform: translateY(-4px);
}

.solution-media {
  position: relative;
  height: 180px;
}

.solution-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.solution-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 61, 92, 0) 40%, rgba(11, 61, 92, 0.55) 100%);
}

.solution-icon {
  position: absolute;
  bottom: 14px;
  left: 20px;
  z-index: 1;
  width: 44px;
  height: 44px;
  background: var(--teal);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(30, 138, 122, 0.4);
}

.solution-body {
  padding: 24px 26px 28px;
}

.solution-title {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.solution-desc {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--medium-gray);
  margin-bottom: 14px;
  line-height: 1.7;
}

.solution-link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ============================================================================
   TRUST BAR
   ============================================================================ */

.trust-bar {
  background: white;
  padding: 100px 40px;
}

.trust-bar-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.trust-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.trust-media img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 16px 32px rgba(11, 61, 92, 0.12);
  display: block;
}

.trust-media img:first-child {
  margin-top: 36px;
}

.trust-heading {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--navy);
  margin-bottom: 18px;
}

.trust-subtitle {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--medium-gray);
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: 32px;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-pill {
  font-family: var(--font-body);
  background: var(--bg);
  border: 1px solid var(--light-gray);
  color: var(--navy);
  padding: 9px 16px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
}

/* ============================================================================
   CLIENT LOGO WALL (text wordmarks, no image assets)
   ============================================================================ */

.clients-section {
  padding: 100px 40px;
  background: white;
  position: relative;
  overflow: hidden;
}

.clients-section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.clients-section-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.45;
  filter: grayscale(70%);
}

.clients-section-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, white 0%, rgba(255, 255, 255, 0.55) 35%, rgba(255, 255, 255, 0.55) 65%, white 100%);
}

.clients-section .solutions-section-header,
.clients-section .client-logos {
  position: relative;
  z-index: 1;
}

.client-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px 56px;
  max-width: 960px;
  margin: 0 auto;
}

.client-logo {
  font-family: var(--font-heading);
  color: var(--medium-gray);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: color 0.2s ease;
}

.client-logo:hover {
  color: var(--navy);
}

@media (max-width: 768px) {
  .clients-section {
    padding: 60px 24px;
  }

  .client-logos {
    gap: 24px 32px;
  }

  .client-logo {
    font-size: 15px;
  }
}

/* ============================================================================
   CASE STUDY CARD
   ============================================================================ */

.case-study-section {
  padding: 100px 40px;
  background: var(--bg);
}

.case-study-card {
  background: white;
  border: 1px solid var(--light-gray);
  border-radius: 20px;
  overflow: hidden;
  max-width: 1160px;
  margin: 0 auto;
  text-align: left;
  box-shadow: 0 20px 48px rgba(11, 61, 92, 0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.case-study-text {
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-study-quote-mark {
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 0.9;
}

.case-study-quote {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 600;
  color: var(--navy);
  font-style: normal;
  margin: 0 0 28px;
  line-height: 1.5;
}

.case-study-attribution {
  display: flex;
  align-items: center;
  gap: 12px;
}

.case-study-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  flex-shrink: 0;
}

.case-study-attribution-name {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.case-study-attribution-role {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--medium-gray);
}

.case-study-media {
  position: relative;
  min-height: 340px;
}

.case-study-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}

.case-study-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 61, 92, 0.55), rgba(30, 138, 122, 0.35));
}

.case-study-stat {
  position: absolute;
  bottom: 28px;
  right: 28px;
  z-index: 1;
  background: white;
  border-radius: 14px;
  padding: 20px 26px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.case-study-stat-number {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.case-study-stat-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--medium-gray);
  margin-top: 6px;
}

.case-study-link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

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

.cta-band {
  color: white;
  padding: 110px 40px;
  text-align: center;
  position: relative;
}

.cta-band-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Clips only the decorative circles, never the CTA button's drop shadow. */
.cta-band-decor {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.cta-band-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cta-band-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11, 61, 92, 0.92), rgba(30, 138, 122, 0.85));
}

.cta-band-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta-band-headline {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.cta-band p {
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

.cta-band .btn-gold {
  font-family: var(--font-heading);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

/* ============================================================================
   FOOTER
   ============================================================================ */

footer {
  background: var(--navy);
  color: white;
  padding: 60px 40px 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-col h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--gold);
}

.footer-col p {
  font-size: 12px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  display: block;
  margin-bottom: 6px;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
}

.footer-copyright {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================================================
   FLOATING AI ASSISTANT BUTTON
   ============================================================================ */

.ai-assistant-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(11, 61, 92, 0.3);
  animation: pulse-button 2s ease-in-out infinite;
}

.ai-assistant-btn:hover {
  transform: scale(1.1);
}

.ai-assistant-btn svg {
  width: 24px;
  height: 24px;
  stroke: white;
  stroke-width: 2;
  fill: none;
}

@keyframes pulse-button {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(11, 61, 92, 0.3), 0 0 0 0 rgba(30, 138, 122, 0.7);
  }
  50% {
    box-shadow: 0 8px 24px rgba(11, 61, 92, 0.3), 0 0 0 12px rgba(30, 138, 122, 0);
  }
}

.ai-preview-bubble {
  position: fixed;
  bottom: 100px;
  right: 24px;
  background: white;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  padding: 16px;
  width: 280px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  z-index: 900;
  display: none;
  flex-direction: column;
  gap: 8px;
}

.ai-preview-bubble.show {
  display: flex;
  animation: bubble-slide-up 0.3s ease;
}

@keyframes bubble-slide-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ai-preview-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
}

.ai-preview-text {
  font-size: 12px;
  color: var(--medium-gray);
  line-height: 1.5;
}

.ai-preview-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--medium-gray);
}

/* ============================================================================
   CHAT PANEL (Cloey AI Assistant)
   ============================================================================ */

.chat-panel {
  display: none;
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 320px;
  height: 420px;
  background: white;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  z-index: 900;
  flex-direction: column;
  overflow: hidden;
}

.chat-panel.open {
  display: flex;
  animation: bubble-slide-up 0.3s ease;
}

.chat-panel-header {
  padding: 16px;
  border-bottom: 1px solid var(--light-gray);
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-panel-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--medium-gray);
  line-height: 1;
  padding: 0;
}

.chat-panel-close:hover {
  color: var(--navy);
}

.chat-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-message {
  max-width: 85%;
  font-size: 12px;
  line-height: 1.5;
  padding: 8px 12px;
  border-radius: 10px;
  white-space: pre-line;
}

.chat-message.bot {
  align-self: flex-start;
  background: var(--bg);
  color: var(--navy);
  border-bottom-left-radius: 2px;
}

.chat-message.user {
  align-self: flex-end;
  background: var(--teal, #1E8A7A);
  color: white;
  border-bottom-right-radius: 2px;
}

.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 16px 12px;
  flex-shrink: 0;
}

.chat-quick-reply {
  background: white;
  border: 1px solid var(--light-gray);
  color: var(--navy);
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 12px;
  cursor: pointer;
}

.chat-quick-reply:hover {
  border-color: var(--teal, #1E8A7A);
  color: var(--teal, #1E8A7A);
}

.chat-input-row {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--light-gray);
  flex-shrink: 0;
}

.chat-input-row input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  font-size: 12px;
  font-family: inherit;
}

.chat-send-btn {
  background: var(--navy);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.chat-send-btn:hover {
  background: var(--teal, #1E8A7A);
}

/* ============================================================================
   PAGE HERO BANNER (for stub pages)
   ============================================================================ */

.page-hero {
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: white;
  padding: 60px 40px;
  text-align: center;
}

.page-hero h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 16px;
  opacity: 0.9;
}

/* ============================================================================
   PLACEHOLDER SECTION
   ============================================================================ */

.placeholder-section {
  padding: 80px 40px;
  text-align: center;
  background: var(--bg);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-content {
  background: white;
  border: 2px dashed var(--light-gray);
  border-radius: 8px;
  padding: 40px;
  max-width: 600px;
}

.placeholder-text {
  font-size: 14px;
  color: var(--medium-gray);
  font-family: 'Monaco', monospace;
  white-space: pre-wrap;
}

/* ============================================================================
   RESPONSIVE — TABLET (1024px and below)
   ============================================================================ */

@media (max-width: 1024px) {
  body {
    font-size: 15px;
  }

  nav {
    padding: 14px 24px;
  }

  .nav-menu {
    gap: 24px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 24px;
  }

  .hero-headline {
    font-size: 40px;
  }

  .hero-ctas {
    flex-wrap: wrap;
  }

  .demo-card {
    width: 100%;
  }

  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    padding: 50px 24px;
  }

  .stat:not(:last-child)::after {
    display: none;
  }

  .stat-number {
    font-size: 28px;
  }

  .how-it-works {
    padding: 60px 24px;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .how-it-works-subtitle {
    margin-bottom: 40px;
  }

  .how-it-works-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .how-it-works-media img {
    height: 320px;
  }

  .solutions-section {
    padding: 60px 24px;
  }

  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .trust-bar {
    padding: 50px 24px;
  }

  .trust-bar-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .trust-media img,
  .trust-media img:first-child {
    height: 200px;
    margin-top: 0;
  }

  .trust-heading {
    font-size: 20px;
    margin-bottom: 24px;
  }

  .trust-pills {
    gap: 10px;
  }

  .trust-pill {
    font-size: 11px;
    padding: 6px 12px;
  }

  .case-study-section {
    padding: 60px 24px;
  }

  .case-study-card {
    max-width: 100%;
    grid-template-columns: 1fr;
  }

  .case-study-text {
    padding: 36px 30px;
  }

  .case-study-media {
    min-height: 220px;
    order: -1;
  }

  .case-study-stat-number {
    font-size: 28px;
  }

  .cta-band {
    padding: 50px 24px;
  }

  .cta-band-headline {
    font-size: 24px;
  }

  footer {
    padding: 50px 24px 20px;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 30px;
  }

  .mega-menu {
    min-width: 350px;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }

  .page-hero {
    padding: 50px 24px;
  }

  .page-hero h1 {
    font-size: 32px;
  }
}

/* ============================================================================
   RESPONSIVE — MOBILE (768px and below)
   ============================================================================ */

@media (max-width: 768px) {
  :root {
    --transition: all 0.2s ease;
  }

  html {
    scroll-behavior: auto;
  }

  body {
    font-size: 14px;
  }

  a {
    color: var(--teal);
  }

  /* NAVIGATION */
  nav {
    position: relative;
    padding: 12px 16px;
    flex-direction: column;
    gap: 16px;
    flex-wrap: wrap;
  }

  .logo-container {
    gap: 10px;
  }

  .orbit-mark {
    width: 36px;
    height: 36px;
  }

  .wordmark {
    font-size: 16px;
  }

  .nav-left {
    gap: 0;
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }

  .nav-menu {
    display: none;
    list-style: none;
    gap: 0;
    width: 100%;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--light-gray);
    padding: 12px 0;
    z-index: 100;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu > li > a {
    display: block;
    padding: 12px 16px;
    border-bottom: 1px solid var(--light-gray);
  }

  .nav-menu > li > a::after {
    display: none;
  }

  .nav-menu-contact {
    display: block;
  }

  .nav-menu-contact > a {
    color: var(--teal);
    font-weight: 700;
  }

  /* The standalone desktop Contact button is replaced by the dropdown
     entry above on mobile — showing both caused an oversized full-width
     button to render permanently under the header. */
  .nav-right {
    display: none;
  }

  /* HERO */
  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 16px 50px;
  }

  .hero-headline {
    font-size: 28px;
    line-height: 1.3;
  }

  .usp-pill {
    font-size: 11px;
    padding: 8px 12px;
  }

  .pulse-dot {
    width: 6px;
    height: 6px;
  }

  .hero-subheading {
    font-size: 14px;
    line-height: 1.6;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 12px;
  }

  .hero-ctas .btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 13px;
  }

  .demo-card {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  }

  .demo-card-body {
    padding: 16px;
  }

  .demo-search {
    font-size: 12px;
    padding: 10px;
    margin-bottom: 16px;
  }

  .candidate-row {
    padding: 10px;
    gap: 12px;
    grid-template-columns: 1fr auto;
  }

  .candidate-info {
    gap: 3px;
  }

  .candidate-name {
    font-size: 12px;
  }

  .candidate-role {
    font-size: 10px;
    padding: 2px 6px;
  }

  .score-bar-container {
    width: 70px;
    height: 5px;
  }

  .badge-shortlist {
    font-size: 10px;
    padding: 3px 8px;
  }

  /* STATS STRIP */
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 40px 16px;
  }

  .stat {
    gap: 6px;
  }

  .stat-icon {
    width: 38px;
    height: 38px;
  }

  .stat-icon svg {
    width: 20px;
    height: 20px;
  }

  .stat-number {
    font-size: 24px;
  }

  .stat-label {
    font-size: 11px;
    letter-spacing: 0.3px;
  }

  /* HOW IT WORKS */
  .how-it-works {
    padding: 50px 16px;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .how-it-works-badge {
    left: 0;
    bottom: -16px;
    padding: 12px 16px;
  }

  .step-icon {
    width: 40px;
    height: 40px;
  }

  .step-icon svg {
    width: 16px;
    height: 16px;
  }

  .step {
    margin-left: 19px;
    padding-left: 26px;
  }

  .step-title {
    font-size: 16px;
  }

  .step-desc {
    font-size: 12px;
    line-height: 1.5;
  }

  /* SOLUTIONS GRID */
  .solutions-section {
    padding: 50px 16px;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .solution-card {
    border-radius: 10px;
  }

  .solution-media {
    height: 150px;
  }

  .solution-icon {
    width: 38px;
    height: 38px;
  }

  .solution-icon svg {
    width: 18px;
    height: 18px;
  }

  .solution-body {
    padding: 18px 18px 20px;
  }

  .solution-title {
    font-size: 14px;
  }

  .solution-desc {
    font-size: 11px;
  }

  .solution-link {
    font-size: 11px;
  }

  /* TRUST BAR */
  .trust-bar {
    padding: 40px 16px;
  }

  .trust-heading {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .trust-pills {
    gap: 8px;
  }

  .trust-pill {
    font-size: 10px;
    padding: 5px 10px;
  }

  /* CASE STUDY */
  .case-study-section {
    padding: 50px 16px;
  }

  .case-study-card {
    border-radius: 12px;
  }

  .case-study-text {
    padding: 28px 20px;
  }

  .case-study-stat-number {
    font-size: 24px;
  }

  .case-study-quote {
    font-size: 15px;
    margin: 0 0 20px;
  }

  .case-study-link {
    font-size: 12px;
  }

  /* CTA BAND */
  .cta-band {
    padding: 40px 16px;
  }

  .cta-band-headline {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .cta-band p {
    font-size: 13px;
  }

  /* FOOTER */
  footer {
    padding: 40px 16px 16px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
  }

  .footer-col h3 {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .footer-col p {
    font-size: 11px;
    margin-bottom: 6px;
  }

  .footer-col a {
    font-size: 11px;
  }

  .footer-copyright {
    font-size: 10px;
  }

  /* AI ASSISTANT */
  .ai-assistant-btn {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  .ai-assistant-btn svg {
    width: 20px;
    height: 20px;
  }

  .ai-preview-bubble {
    width: 260px;
    bottom: 80px;
    right: 20px;
    padding: 12px;
  }

  .ai-preview-title {
    font-size: 11px;
  }

  .ai-preview-text {
    font-size: 11px;
  }

  /* PAGE HERO */
  .page-hero {
    padding: 40px 16px;
  }

  .page-hero h1 {
    font-size: 26px;
    margin-bottom: 8px;
  }

  .page-hero p {
    font-size: 14px;
  }

  /* PLACEHOLDER SECTION */
  .placeholder-section {
    padding: 50px 16px;
    min-height: 300px;
  }

  .placeholder-content {
    padding: 20px;
  }

  .placeholder-text {
    font-size: 12px;
  }

  /* BUTTONS */
  .btn {
    padding: 10px 20px;
    font-size: 13px;
    border-radius: 5px;
  }

  /* MEGA MENU */
  .mega-menu {
    position: fixed;
    top: auto;
    left: 16px;
    right: 16px;
    bottom: auto;
    min-width: auto;
    width: auto;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
    margin-top: 8px;
    max-height: 60vh;
    overflow-y: auto;
  }

  .mega-menu-item {
    padding: 10px;
  }

  .mega-menu-item-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .mega-menu-item-title {
    font-size: 13px;
  }

  .mega-menu-item-desc {
    font-size: 11px;
  }
}

/* ============================================================================
   RESPONSIVE — SMALL MOBILE (480px and below)
   ============================================================================ */

@media (max-width: 480px) {
  nav {
    padding: 10px 12px;
  }

  .wordmark {
    font-size: 14px;
  }

  .hero {
    padding: 30px 12px 40px;
    gap: 20px;
  }

  .hero-headline {
    font-size: 22px;
  }

  .hero-subheading {
    font-size: 13px;
  }

  .stats-strip {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 30px 12px;
  }

  .stat-number {
    font-size: 20px;
  }

  .how-it-works {
    padding: 40px 12px;
  }

  .section-title {
    font-size: 20px;
    margin-bottom: 24px;
  }

  .solutions-section {
    padding: 40px 12px;
  }

  .trust-bar {
    padding: 30px 12px;
  }

  .trust-heading {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .case-study-section {
    padding: 40px 12px;
  }

  .case-study-quote {
    font-size: 11px;
  }

  .cta-band {
    padding: 30px 12px;
  }

  .cta-band-headline {
    font-size: 18px;
  }

  footer {
    padding: 30px 12px 12px;
  }

  .ai-preview-bubble {
    width: 240px;
    font-size: 10px;
  }

  .chat-panel {
    width: calc(100vw - 32px);
    right: 16px;
    bottom: 84px;
    height: min(420px, 65vh);
  }

  .demo-search {
    font-size: 11px;
  }

  .candidate-row {
    padding: 8px;
  }

  .score-bar-container {
    width: 60px;
  }
}

/* ============================================================================
   SHARED GRID UTILITIES (about, solutions, contact pages)
   ============================================================================ */

.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.grid-3-col,
.grid-4-col {
  display: grid;
  gap: 30px;
}

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

.grid-4-col {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
  .grid-2-col {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .grid-3-col,
  .grid-4-col {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   CONTACT PAGE
   ============================================================================ */

.contact-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 80px;
}

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

@media (max-width: 600px) {
  .contact-options-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 48px;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ============================================================================
   CAREERS — JOB BOARD
   ============================================================================ */

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

.job-card {
  background: white;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  padding: 24px;
}

.job-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.job-card-meta {
  font-size: 12px;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 12px;
}

.job-card-desc {
  font-size: 13px;
  color: var(--medium-gray);
  line-height: 1.6;
  margin-bottom: 16px;
}

.job-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.job-card-posted {
  font-size: 12px;
  color: var(--medium-gray);
}

/* ============================================================================
   CAREERS — APPLY MODAL
   ============================================================================ */

.apply-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 61, 92, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.apply-modal.open {
  display: flex;
}

.apply-modal-box {
  background: white;
  border-radius: 8px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.apply-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--light-gray);
}

.apply-modal-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}

.apply-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: var(--medium-gray);
  line-height: 1;
  flex-shrink: 0;
}

.apply-modal-close:hover {
  color: var(--navy);
}

.apply-form {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.apply-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.apply-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.apply-field input,
.apply-field textarea {
  padding: 10px 12px;
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  font-size: 13px;
  font-family: var(--font-stack);
}

.apply-field textarea {
  min-height: 80px;
  resize: vertical;
}

.apply-field-error {
  font-size: 11px;
  color: #C0392B;
  min-height: 14px;
}

.apply-form-status {
  font-size: 13px;
  text-align: center;
  min-height: 18px;
}

.apply-form-status.success {
  color: var(--teal);
  font-weight: 600;
}

.apply-form-status.error {
  color: #C0392B;
  font-weight: 600;
}

@media (max-width: 480px) {
  .apply-modal-box {
    max-width: 100%;
  }

  .job-card-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
