/*
 * ─────────────────────────────────────────────────────────────────────────────
 *  UPWARD JOBS — HOMEPAGE PREMIUM REFINEMENT STYLES (home.css v6)
 *  Section 1 Hero Refinement Pass: Dominant photo, single controlled frame,
 *  curved vector background behind visual, 2 floating cards, reduced bottom density.
 * ─────────────────────────────────────────────────────────────────────────────
 */

:root {
  --uj-navy-dark: #061E36;
  --uj-navy-sec: #0D2D4E;
  --uj-lime-primary: #8ED21F;
  --uj-lime-hover: #76B817;
  --uj-lime-soft: #F0FAE0;
  --uj-bg-soft: #F6F9FC;
  --uj-text-main: #061E36;
  --uj-text-muted: #3A5068;
  --uj-border-color: #DCE7EF;
}

/* ── SECTION REVEALS & BASE MOTION ────────────────────────────────────────── */
.uj-reveal-left,
.uj-reveal-right,
.uj-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.uj-reveal-left { transform: translateX(-24px); }
.uj-reveal-right { transform: translateX(24px); }

.uj-reveal-left.is-visible,
.uj-reveal-right.is-visible,
.uj-reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ── SECTION 01 — PREMIUM HERO (REFINED COMPOSITION) ─────────────────────── */
.home-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #041424 0%, #061E36 50%, #0D2D4E 100%);
  padding: clamp(60px, 8vw, 100px) 0 clamp(84px, 10vw, 128px);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Very subtle background treatment: low-opacity grid and soft radial glow */
  background: 
    radial-gradient(circle at 80% 20%, rgba(142, 210, 31, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(13, 45, 78, 0.3) 0%, transparent 55%),
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 30px 30px, 30px 30px;
  pointer-events: none;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
  position: relative;
  z-index: 2;
}

.home-hero-copy {
  max-width: 620px;
}

/* Animations for hero initial load */
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-scale-in {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes hero-card-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes uj-float-subtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.hero-anim-eyebrow {
  opacity: 0;
  animation: hero-fade-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.hero-anim-title {
  opacity: 0;
  animation: hero-fade-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero-anim-sub {
  opacity: 0;
  animation: hero-fade-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.hero-anim-cta {
  opacity: 0;
  animation: hero-fade-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.hero-anim-visual {
  opacity: 0;
  transform: scale(0.97);
  animation: hero-scale-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

@media (prefers-reduced-motion: reduce) {
  .hero-anim-eyebrow,
  .hero-anim-title,
  .hero-anim-sub,
  .hero-anim-cta,
  .hero-anim-visual,
  .home-hero-card-1,
  .home-hero-card-2,
  .home-hero-card-3,
  .home-hero-card-4 {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.home-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(142, 210, 31, 0.12);
  border: 1px solid rgba(142, 210, 31, 0.35);
  color: #8ED21F;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.home-hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8ED21F;
  box-shadow: 0 0 8px rgba(142, 210, 31, 0.8);
}

.home-hero-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}

.home-hero-title em {
  font-style: normal;
  color: #8ED21F;
  background: linear-gradient(120deg, #a8e832 0%, #8ED21F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-hero-sub {
  font-size: clamp(16px, 1.6vw, 18px);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.68;
  margin-bottom: 34px;
  max-width: 580px;
}

.home-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 28px;
}

/* CTA Hover - small lift + controlled shadow */
.home-hero-actions .btn {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s, color 0.3s !important;
}

.home-hero-actions .btn:hover {
  transform: translateY(-3px) !important;
}

.home-hero-actions .btn-w:hover {
  box-shadow: 0 8px 24px rgba(142, 210, 31, 0.25) !important;
}

.home-hero-actions .btn-gh:hover {
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1) !important;
}

.home-hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.home-hero-trust svg {
  flex-shrink: 0;
  color: #8ED21F;
}

/* Hero Media Visual with Dominant Photo & Layered Cards */
.home-hero-visual {
  position: relative;
  z-index: 2;
  perspective: 1000px;
}

/* Pointer-responsive depth container for desktop */
.home-hero-interactive {
  position: relative;
  transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-style: preserve-3d;
}

/* Subtle curved vector lines background behind image only */
.home-hero-bg-lines {
  position: absolute;
  inset: -30px -30px -30px -30px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

.home-hero-bg-lines svg {
  width: 100%;
  height: 100%;
}

.home-hero-photo-wrap {
  position: relative;
  z-index: 2;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.52), 0 0 0 1px rgba(255, 255, 255, 0.18);
  background: #0D2D4E;
}

.home-hero-photo-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

/* Floating UI Cards */
.home-hero-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: 0 20px 40px rgba(6, 30, 54, 0.22);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  opacity: 0;
  will-change: transform, opacity;
}

/* Stagger reveals & assign subtle floats to just 1-2 elements */
.home-hero-card-1 {
  top: 8%;
  left: -12px;
  animation: hero-card-enter 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards,
             uj-float-subtle 8s ease-in-out 1.2s infinite;
}

.home-hero-card-2 {
  bottom: 6%;
  right: -12px;
  animation: hero-card-enter 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}

.home-hero-card-3 {
  top: 52%;
  right: -16px;
  animation: hero-card-enter 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards,
             uj-float-subtle 7s ease-in-out 1.5s infinite reverse;
}

.home-hero-card-4 {
  bottom: 25%;
  left: -16px;
  animation: hero-card-enter 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
}

.home-hero-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #EAF8F1;
  color: #8ED21F;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.home-hero-card-text {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

.home-hero-card-title {
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #061E36 !important;
  line-height: 1.3 !important;
  display: block !important;
}

.home-hero-card-sub {
  font-size: 11.5px !important;
  font-weight: 600 !important;
  color: #3A5068 !important;
  display: block !important;
}

@media (max-width: 992px) {
  .home-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .home-hero-copy { max-width: 100%; }
  
  /* Simplify for tablet/mobile */
  .home-hero-interactive { transform: none !important; }
  .home-hero-card { transform: none !important; position: static; margin-top: 12px; width: 100%; opacity: 1 !important; animation: none !important; }
  
  /* Hide tiny floating cards or show them inline on mobile */
  .home-hero-visual { display: flex; flex-direction: column; align-items: center; }
  .home-hero-card { display: none; } /* Hide floating cards on mobile as requested */
  
  .home-hero-title {
    font-size: clamp(32px, 8vw, 42px); /* ensure it isn't excessively large */
  }
}

/* ── SECTION 02 — CAPABILITY STRIP / MARQUEE ───────────────────────────────── */
.home-marquee {
  background: #061E36;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  overflow: hidden;
}

.home-marquee-track {
  display: flex;
  gap: 36px;
  width: max-content;
  animation: home-marquee-slide 40s linear infinite;
}

.home-marquee-track:hover { animation-play-state: paused; }

@keyframes home-marquee-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.home-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.home-marquee-item i { color: #8ED21F; }

/* ── SECTION 03 — ATS RESUME VECTOR ANIMATION BACKGROUND ─────────────────── */
.ats-journey-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  opacity: 0.18;
}

.ats-journey-svg {
  width: 100%;
  height: 100%;
}

.ats-path-line {
  stroke: rgba(142, 210, 31, 0.5);
  stroke-width: 2.5;
  stroke-dasharray: 8 8;
  animation: ats-dash-flow 20s linear infinite;
}

@keyframes ats-dash-flow {
  0% { stroke-dashoffset: 200; }
  100% { stroke-dashoffset: 0; }
}

.ats-pulse-node {
  fill: #8ED21F;
  filter: drop-shadow(0 0 6px rgba(142, 210, 31, 0.9));
  animation: ats-node-pulse 4s ease-in-out infinite;
}

@keyframes ats-node-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.4); opacity: 1; }
}

/* Three-Item "What We Check" Trio */
.ats-check-trio {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.ats-trio-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(142, 210, 31, 0.35);
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 700;
  color: #061E36;
}

.ats-trio-item i { color: #8ED21F; }

/* ── SECTION 04 — HOW UPWARD JOBS WORKS (CONNECTED 4-STEP JOURNEY) ───────── */
.journey-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  margin-top: 40px;
}

.journey-line {
  position: absolute;
  top: 50px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: #DCE7EF;
  z-index: 1;
  border-radius: 2px;
  overflow: hidden;
}

.journey-line-fill {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 0%;
  background: #8ED21F;
}

.journey-timeline.visible .journey-line-fill {
  animation: journey-fill-x 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

@keyframes journey-fill-x {
  0% { width: 0%; }
  100% { width: 100%; }
}

.journey-step-card {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border: 1px solid #DCE7EF;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 10px 30px rgba(6, 30, 54, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
  text-decoration: none;
  cursor: pointer;
  outline: none;
}

.journey-step-card:hover, .journey-step-card:focus-visible {
  border-color: #8ED21F;
  box-shadow: 0 16px 40px rgba(6, 30, 54, 0.08);
}

.journey-step-card:focus-visible {
  box-shadow: 0 0 0 3px rgba(142, 210, 31, 0.4);
}

.journey-step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.journey-step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #061E36;
  color: #8ED21F;
  font-size: 13.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(6, 30, 54, 0.15);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.journey-step-card:hover .journey-step-num, .journey-step-card:focus-visible .journey-step-num {
  background: #8ED21F;
  color: #061E36;
  box-shadow: 0 6px 16px rgba(142, 210, 31, 0.3);
}

.journey-step-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 15.5px;
  font-weight: 800;
  color: #061E36;
  margin-bottom: 0;
  line-height: 1.35;
  transition: color 0.3s ease;
}

.journey-step-card p {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  color: #3A5068;
  line-height: 1.65;
  margin: 0;
}

.journey-step-explore {
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;
  font-weight: 800;
  color: #061E36;
  background: #EAF8F1;
  border: 1px solid rgba(142, 210, 31, 0.4);
  padding: 8px 18px;
  border-radius: 999px;
  margin-top: 20px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: 'Syne', sans-serif;
}
.journey-step-explore span {
  display: inline-block;
  transition: transform 0.3s ease;
  margin-left: 6px;
  font-size: 14px;
}
.journey-step-card:hover .journey-step-explore,
.journey-step-card:focus-visible .journey-step-explore {
  background: #8ED21F;
  color: #061E36;
  border-color: #8ED21F;
  box-shadow: 0 6px 16px rgba(142, 210, 31, 0.25);
  transform: translateY(-2px);
}
.journey-step-card:hover .journey-step-explore span,
.journey-step-card:focus-visible .journey-step-explore span {
  transform: translateX(4px);
}


/* Desktop Rhythm offset */
@media (min-width: 901px) {
  .journey-timeline { padding-bottom: 48px; }
  .journey-step-card:nth-of-type(1) { transform: translateY(0); }
  .journey-step-card:nth-of-type(2) { transform: translateY(16px); }
  .journey-step-card:nth-of-type(3) { transform: translateY(32px); }
  .journey-step-card:nth-of-type(4) { transform: translateY(48px); }
  
  .journey-step-card:nth-of-type(1):hover { transform: translateY(-5px); }
  .journey-step-card:nth-of-type(2):hover { transform: translateY(11px); }
  .journey-step-card:nth-of-type(3):hover { transform: translateY(27px); }
  .journey-step-card:nth-of-type(4):hover { transform: translateY(43px); }

  .journey-line {
    transform: rotate(3deg);
    transform-origin: left center;
  }
}

/* Mobile Vertical Timeline */
@media (max-width: 900px) {
  .journey-timeline { 
    grid-template-columns: 1fr; 
    gap: 32px;
    padding-left: 36px; 
  }
  .journey-line { 
    width: 2px;
    height: 100%;
    left: 21px;
    top: 0;
    bottom: 0;
    right: auto;
    transform: none;
  }
  .journey-line-fill {
    width: 100%;
    height: 0%;
  }
  .journey-timeline.visible .journey-line-fill {
    animation: journey-fill-y 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
  }
  @keyframes journey-fill-y {
    0% { height: 0%; }
    100% { height: 100%; }
  }
  .journey-step-card {
    padding: 24px;
  }
  .journey-step-num {
    position: absolute;
    left: -48px;
    top: 24px;
    margin-bottom: 0;
    width: 40px;
    height: 40px;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(6,30,54,0.1);
  }
}

@media (max-width: 576px) {
  .journey-timeline { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════
   §05 REDESIGNED PRACTICAL CAREER SUPPORT SECTION
   ═══════════════════════════════════════════════════════════════════════ */
.home-clarity-section {
  position: relative;
  background: #ffffff;
  padding: clamp(60px, 7vw, 96px) 0;
  overflow: hidden;
}

.home-clarity-bg-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 600px;
  background: radial-gradient(ellipse at 50% 30%, rgba(142, 210, 31, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.home-clarity-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
  margin-bottom: 56px;
  position: relative;
  z-index: 1;
}

@media (max-width: 960px) {
  .home-clarity-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.home-clarity-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 800;
  color: #061E36;
  margin: 12px 0 16px;
  line-height: 1.25;
}

.home-clarity-content p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #3A5068;
  line-height: 1.65;
  margin-bottom: 22px;
}

.home-benefit-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.home-benefit-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EAF8F1;
  color: #15803D;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(142, 210, 31, 0.35);
}

.home-benefit-pill i {
  color: #8ED21F;
}

.home-profile-strength-box {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 16px 20px;
  margin-top: 24px;
  box-shadow: 0 4px 16px rgba(6, 30, 54, 0.03);
}

.home-strength-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.home-strength-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: #061E36;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  padding: 4px 10px;
  border-radius: 6px;
}

.home-strength-item i {
  color: #15803D;
}

/* Right Human Image Frame with Floating SaaS Badges */
.home-human-support-frame {
  position: relative;
  border-radius: 24px;
  background: #FFFFFF;
  box-shadow: 0 20px 50px rgba(6, 30, 54, 0.12), 0 0 0 1px rgba(142, 210, 31, 0.3);
  padding: 10px;
}

.home-human-support-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}

.home-float-saas-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(6, 30, 54, 0.08);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 28px rgba(6, 30, 54, 0.12);
  z-index: 2;
  transition: transform 0.3s ease;
}

.home-float-saas-card:hover {
  transform: translateY(-2px);
}

/* Secondary Feature: Role Discovery */
.home-discovery-block {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 24px;
  padding: clamp(32px, 4vw, 44px);
  margin-bottom: 56px;
  position: relative;
  z-index: 1;
}

.home-discovery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 28px 0;
}

@media (max-width: 880px) {
  .home-discovery-grid {
    grid-template-columns: 1fr;
  }
}

.home-discovery-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(6, 30, 54, 0.03);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.home-discovery-card:hover {
  transform: translateY(-3px);
  border-color: #8ED21F;
}

.home-discovery-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #061E36;
  margin: 0 0 6px 0;
}

/* 4 Support Pillars */
.home-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

@media (max-width: 960px) {
  .home-pillars-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 580px) {
  .home-pillars-grid {
    grid-template-columns: 1fr;
  }
}

.home-pillar-card {
  background: #ffffff;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  padding: 26px 20px;
  box-shadow: 0 4px 16px rgba(6, 30, 54, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.home-pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: #8ED21F;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.home-pillar-card:hover {
  transform: translateY(-4px);
  border-color: #CBD5E1;
  box-shadow: 0 14px 32px rgba(6, 30, 54, 0.08);
}

.home-pillar-card:hover::before {
  opacity: 1;
}

.home-pillar-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #EAF8F1;
  color: #15803D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  margin-bottom: 16px;
}

.home-pillar-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 17.5px;
  font-weight: 800;
  color: #061E36;
  margin: 0 0 8px 0;
  line-height: 1.35;
}

.home-pillar-card p {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* Micro Closing Box */
.home-clarity-closing {
  text-align: center;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .home-clarity-closing {
    flex-direction: column;
    text-align: center;
  }
}

/* ── SECTION 06 — STATE-SHIFT COMPARISON (BEFORE VS AFTER) ────────────────────── */
.premium-state-shift-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Solo Search: Muted, grayscale, noisy texture */
.solo-search-card {
  position: relative;
  background: #f8f9fa;
  border-radius: 24px;
  padding: 36px 32px;
  border: 1px solid #e9ecef;
  box-shadow: inset 0 2px 20px rgba(0,0,0,0.02);
  overflow: hidden;
  transition: all 0.4s ease;
}

/* Subtle SVG Noise for friction visualization */
.solo-search-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0.4;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.08'/%3E%3C/svg%3E");
  z-index: 0;
}

.solo-search-card * {
  position: relative;
  z-index: 1;
}

/* Upward Workflow: Vibrant glassmorphism */
.upward-workflow-card {
  position: relative;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 24px;
  padding: 36px 32px;
  border: 1px solid rgba(142, 210, 31, 0.4);
  box-shadow: 0 16px 48px rgba(142, 210, 31, 0.12);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  overflow: hidden;
}

/* Magnetic Hover Border-Trace Light Effect */
.border-trace {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 24px;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(circle 200px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(142, 210, 31, 0.3), transparent 80%);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 2px; /* Border thickness */
}

.upward-workflow-card:hover .border-trace {
  opacity: 1;
}

/* State-Shift Reveal Animation */
.state-shift-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.state-shift-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.upward-workflow-card.is-visible {
  transition-delay: var(--reveal-delay, 0s);
}

.cmp-box-head {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 24px;
}

.cmp-box-head--bad { color: #5c6a7a; } /* Grayscale header */
.cmp-box-head--bad i { color: #e09f9f; } /* Muted low-contrast red */
.cmp-box-head--good { color: #061E36; }
.cmp-box-head--good i { color: #8ED21F; }

.cmp-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cmp-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;
}

.cmp-item--bad {
  color: #6c757d; /* Muted gray for reactive friction */
}
.upward-workflow-card .cmp-item {
  color: #061E36; /* Crisp dark navy for data-driven precision */
  font-weight: 600;
}

.cmp-item i { margin-top: 4px; flex-shrink: 0; }
.cmp-item--bad i { color: #e09f9f; } 
.cmp-item--good i { color: #8ED21F; }

@media (max-width: 768px) {
  .premium-state-shift-grid { grid-template-columns: 1fr; }
}

/* ── SECTION 07 — BUILT FOR TECH PROFESSIONALS ────────────────────────────── */
.role-categories-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 40px;
}

.tech-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(6, 30, 54, 0.12);
  border: 1px solid #DCE7EF;
  background: #061E36;
}

.tech-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.tech-image.active {
  opacity: 1;
}

.role-categories-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.role-cat-block {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border: 1px solid #DCE7EF;
  border-radius: 16px;
  padding: 20px 24px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.role-cat-block:hover {
  border-color: #8ED21F;
  background: #Fcfdfa;
  transform: scale(1.02);
  box-shadow: 0 12px 30px rgba(6, 30, 54, 0.08);
}

.role-cat-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(142,210,31,0.15);
  color: #5c8a14;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s ease;
}

.role-cat-block:hover .role-cat-icon {
  background: #8ED21F;
  color: #061E36;
}

.role-cat-info h3 {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #061E36;
  margin: 0 0 4px;
}

.role-cat-info p {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: #6c757d;
  margin: 0;
}

@media (max-width: 900px) {
  .role-categories-layout { grid-template-columns: 1fr; }
}

/* Filter tabs & pills */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.ftab {
  background: #ffffff;
  border: 1.5px solid #DCE7EF;
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 13.5px;
  font-weight: 700;
  color: #3A5068;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ftab.active,
.ftab:hover {
  background: #061E36;
  color: #ffffff;
  border-color: #061E36;
}

.roles-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

.rpill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #DCE7EF;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: #061E36;
  box-shadow: 0 2px 8px rgba(6, 30, 54, 0.03);
  transition: opacity 0.4s ease, transform 0.4s ease, max-width 0.4s ease, padding 0.4s ease, margin 0.4s ease, border 0.4s ease;
  max-width: 300px; /* For width transition */
  overflow: hidden;
  white-space: nowrap;
}

.rpill.hidden {
  opacity: 0;
  transform: translateX(-10px);
  max-width: 0;
  padding: 0 0;
  margin: 0;
  border-width: 0;
}

.rpill:hover {
  border-color: #8ED21F;
  transform: translateY(-2px);
  color: #76B817;
}

.rpill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8ED21F;
}

/* ── SECTION 08 — 5-STAGE CAREER WORKFLOW ─────────────────────────────────── */
.flow-five-timeline-wrapper {
  position: relative;
  z-index: 1;
  margin-top: 36px;
}

.timeline-svg {
  position: absolute;
  top: 42px; /* Vertically center with icons */
  left: 0;
  z-index: -1;
  animation: dash-flow 1.5s linear infinite;
}

@keyframes dash-flow {
  from { stroke-dashoffset: 16; }
  to { stroke-dashoffset: 0; }
}

.flow-five-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.flow-five-step {
  padding: 24px 18px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-node {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 0.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(6, 30, 54, 0.05), inset 0 0 20px rgba(255, 255, 255, 0.5);
}

.glass-node:hover {
  border-color: rgba(142, 210, 31, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(6, 30, 54, 0.08), inset 0 0 20px rgba(255, 255, 255, 0.6);
}

.flow-five-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #F0FAE0;
  color: #8ED21F;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-node:hover .flow-five-icon {
  transform: scale(1.15);
  background: #8ED21F;
  color: #061E36;
}

.flow-five-step h4 {
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.015em;
  font-size: 16px;
  font-weight: 800;
  color: #061E36;
  margin-bottom: 8px;
}

.flow-five-step p {
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.015em;
  font-size: 13.5px;
  color: #3A5068;
  line-height: 1.5;
  margin: 0;
}

/* Sequential Reveal Animations */
.sequential-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.sequential-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.flow-five-step:nth-child(1) { transition-delay: 0.1s; }
.flow-five-step:nth-child(2) { transition-delay: 0.3s; }
.flow-five-step:nth-child(3) { transition-delay: 0.5s; }
.flow-five-step:nth-child(4) { transition-delay: 0.7s; }
.flow-five-step:nth-child(5) { transition-delay: 0.9s; }

/* Magnetic CTA Glow */
.glow-cta:hover {
  box-shadow: 0 0 24px rgba(142, 210, 31, 0.6) !important;
}

@media (max-width: 992px) {
  .flow-five-grid { grid-template-columns: repeat(3, 1fr); }
  .timeline-svg { display: none; }
}

@media (max-width: 768px) {
  .flow-five-grid { grid-template-columns: 1fr; }
  .control-card { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ── SECTION 09 — HUMAN JUDGMENT (SPLIT CONTROL LAYOUT) ───────────────────── */
.home-trust-split {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}

.home-trust-photo.parallax-container {
  perspective: 1000px;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

#trustParallaxImg {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(6, 30, 54, 0.15);
  transition: transform 0.1s linear;
  will-change: transform;
}

.home-trust-rows {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.control-card {
  display: flex;
  gap: 20px;
  background: #ffffff;
  border: 1px solid #DCE7EF;
  border-radius: 16px;
  padding: 24px;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.1s linear;
}

.control-card:hover, .control-card.magnetic-active {
  border-color: rgba(142, 210, 31, 0.8);
  box-shadow: 0 0 20px rgba(142, 210, 31, 0.15);
  z-index: 10;
}

.trust-row-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(142,210,31,0.15);
  color: #5c8a14;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s ease;
}

.control-card:hover .trust-row-icon, .control-card.magnetic-active .trust-row-icon {
  background: #8ED21F;
  color: #061E36;
}

.trust-row-content h3 {
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.015em;
  font-size: 18px;
  font-weight: 800;
  color: #061E36;
  margin: 0 0 8px;
}

.trust-row-content p {
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.015em;
  font-size: 14.5px;
  color: #3A5068;
  line-height: 1.6;
  margin: 0;
}

/* Gradient Mask Reveal */
.gradient-mask-reveal {
  background: linear-gradient(to right, #061E36 50%, rgba(6, 30, 54, 0.1) 50%);
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  transition: background-position 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.gradient-mask-reveal.is-visible {
  background-position: 0 0;
}

@media (max-width: 900px) {
  .home-trust-split { grid-template-columns: 1fr; }
}

/* ── SECTION 10 — TOP COMPANIES LOGO SLIDER ───────────────────────────────── */
.tcs-section {
  background: #F6F9FC;
  padding: 80px 0 88px;
  position: relative;
  overflow: hidden;
}

.tcs-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 700px 400px at 10% 50%, rgba(142, 210, 31, .07) 0%, transparent 70%),
              radial-gradient(ellipse 600px 350px at 90% 50%, rgba(6, 30, 54, .04) 0%, transparent 70%);
  pointer-events: none;
}

.tcs-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.tcs-hd { text-align: center; margin-bottom: 52px; }

.tcs-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(142, 210, 31, .12);
  border: 1px solid rgba(142, 210, 31, .35);
  border-radius: 999px;
  padding: 7px 20px;
  font-size: 12px;
  font-weight: 700;
  color: #5c8a14;
  letter-spacing: .8px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.tcs-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8ED21F;
  box-shadow: 0 0 6px rgba(142, 210, 31, .8);
}

.tcs-hd h2 {
  font-family: "Inter", sans-serif;
  font-size: clamp(22px, 4vw, 40px);
  font-weight: 800;
  color: #061E36;
  margin: 0 0 14px;
  line-height: 1.2;
}

.tcs-hd h2 em {
  font-style: normal;
  color: #8ED21F;
  background: linear-gradient(135deg, #8ED21F 0%, #5c8a14 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tcs-hd p {
  font-size: 16px;
  color: #3a5068;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.65;
}

.tcs-slider-wrap {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.tcs-row {
  display: flex;
  gap: 16px;
  width: max-content;
  margin-bottom: 16px;
}

.tcs-row:last-child { margin-bottom: 0; }
.tcs-row-1 { animation: tcs-scroll-left 55s linear infinite; }
.tcs-row-2 { animation: tcs-scroll-right 60s linear infinite; }
.tcs-slider-wrap:hover .tcs-row-1,
.tcs-slider-wrap:hover .tcs-row-2 { animation-play-state: paused; }

@keyframes tcs-scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes tcs-scroll-right { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

.tcs-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #DCE7EF;
  border-radius: 16px;
  padding: 18px 24px 14px;
  min-width: 140px;
  max-width: 160px;
  box-shadow: 0 2px 12px rgba(6, 30, 54, .06);
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
  flex-shrink: 0;
}

.tcs-card:hover {
  box-shadow: 0 8px 32px rgba(6, 30, 54, .13);
  transform: translateY(-4px);
  border-color: rgba(142, 210, 31, .5);
}

.tcs-logo-wrap {
  width: 72px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tcs-logo-wrap img {
  max-width: 72px;
  max-height: 38px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(0%) opacity(.9);
  transition: filter .25s ease;
}

.tcs-name {
  font-family: "Inter", sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  color: #3a5068;
  white-space: nowrap;
  text-align: center;
}

.tcs-footnote {
  text-align: center;
  margin-top: 36px;
  font-size: 12px;
  color: #8a9daf;
}

/* ── SECTION 11 — FAQ STYLES ───────────────────────────────────────────────── */
.uj-faq-tabs {
  display: flex !important;
  justify-content: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  margin-bottom: 32px !important;
  width: 100% !important;
}

.uj-faq-tab {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 22px !important;
  background: #ffffff !important;
  border: 1.5px solid #DCE7EF !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #3A5068 !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
}

.uj-faq-tab.active,
.uj-faq-tab:hover {
  background: #061E36 !important;
  color: #ffffff !important;
  border-color: #061E36 !important;
}

.uj-faq-tab.active span,
.uj-faq-tab:hover span { color: #8ED21F !important; }

.uj-faq-grid {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: 840px !important;
  margin: 0 auto 40px !important;
  gap: 14px !important;
  align-items: stretch !important;
  grid-template-columns: none !important;
}

.uj-faq-item {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid #DCE7EF;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.uj-faq-item:hover {
  border-color: #8ED21F !important;
  box-shadow: 0 4px 16px rgba(6, 30, 54, 0.05) !important;
}

.uj-faq-question {
  display: flex !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 20px 24px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #061E36 !important;
  cursor: pointer !important;
  justify-content: space-between !important;
  align-items: center !important;
  user-select: none !important;
}

.uj-faq-question span:first-child {
  flex: 1 !important;
  margin-right: 16px !important;
  text-align: left !important;
}

.uj-faq-question .uj-faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(142,210,31,0.15);
  color: #5c8a14;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.uj-faq-question .uj-faq-icon::before {
  content: '\f067';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 14px;
  line-height: 1;
}

.uj-faq-item.active .uj-faq-icon::before { content: '\f068'; }
.uj-faq-item.active .uj-faq-icon {
  background: #061E36;
  color: #8ED21F;
  transform: rotate(180deg);
}

.uj-faq-answer {
  width: 100% !important;
  box-sizing: border-box !important;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease-out;
  padding: 0 24px;
}

.uj-faq-item.active .uj-faq-answer {
  max-height: 300px;
  padding: 0 24px 22px;
}

.uj-faq-answer p {
  margin: 0;
  font-size: 14.5px;
  color: #3A5068;
  line-height: 1.68;
}

.uj-faq-thin-cta {
  background: #ffffff !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 22px !important;
  padding: 22px 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  width: 100% !important;
  max-width: 860px !important;
  margin: 36px auto 0 !important;
  box-shadow: 0 10px 30px rgba(6, 30, 54, 0.04) !important;
  box-sizing: border-box !important;
}

.uj-faq-thin-cta-left {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  flex: 1 !important;
}

.uj-faq-thin-cta-icon {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  border-radius: 14px !important;
  background: #F0FAE0 !important;
  color: #15803D !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 20px !important;
  flex-shrink: 0 !important;
}

.uj-faq-thin-cta-text h4 {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #061E36 !important;
  margin: 0 0 4px 0 !important;
  line-height: 1.35 !important;
}

.uj-faq-thin-cta-text p {
  font-size: 13.5px !important;
  color: #475569 !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}

.uj-faq-thin-cta .btn,
.uj-faq-thin-cta .btn-g {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: #8ED21F !important;
  color: #061E36 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  padding: 13px 26px !important;
  height: auto !important;
  min-height: 46px !important;
  border-radius: 999px !important;
  border: none !important;
  box-shadow: 0 8px 20px rgba(142, 210, 31, 0.28) !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  box-sizing: border-box !important;
}

.uj-faq-thin-cta .btn:hover,
.uj-faq-thin-cta .btn-g:hover {
  background: #76B817 !important;
  color: #061E36 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 28px rgba(142, 210, 31, 0.38) !important;
}

@media (max-width: 768px) {
  .uj-faq-thin-cta {
    flex-direction: column !important;
    text-align: center !important;
    padding: 24px 20px !important;
    gap: 18px !important;
  }
  .uj-faq-thin-cta-left {
    flex-direction: column !important;
    text-align: center !important;
    gap: 12px !important;
  }
  .uj-faq-thin-cta .btn,
  .uj-faq-thin-cta .btn-g {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* ── SECTION 12 — CONTACT FORM SECTION (COMPACT VIEWPORT-FRIENDLY) ────────── */
#contact-form {
  padding: clamp(28px, 3.5vh, 44px) 0 !important;
}

#contact-form .sh {
  margin-bottom: clamp(14px, 1.8vh, 22px) !important;
}

#contact-form .sh .eb {
  margin-bottom: 4px !important;
  padding: 3px 10px !important;
  font-size: 10.5px !important;
}

#contact-form .sh .st {
  font-size: clamp(24px, 2.6vw, 34px) !important;
  margin: 0 0 4px 0 !important;
  line-height: 1.15 !important;
}

#contact-form .sh .si {
  font-size: 13px !important;
  max-width: 580px !important;
  margin: 0 auto !important;
  line-height: 1.4 !important;
}

.home-contact-layout {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(16px, 2vw, 28px);
  align-items: stretch;
  max-width: 1040px;
  margin: 0 auto;
}

.form-wrap {
  width: 100% !important;
  box-sizing: border-box !important;
  background: #061E36 !important;
  color: #FFFFFF !important;
  border-radius: 20px !important;
  border: 1.5px solid rgba(142, 210, 31, 0.3) !important;
  box-shadow: 0 20px 50px rgba(6, 30, 54, 0.16), 0 0 30px rgba(142, 210, 31, 0.08) !important;
  padding: 18px 22px !important;
  position: relative;
  overflow: hidden;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}
.form-wrap::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(142, 210, 31, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact-form-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(142, 210, 31, 0.12);
  border: 1px solid rgba(142, 210, 31, 0.3);
  color: #8ED21F;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
  width: fit-content;
}

.form-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px 12px !important;
}

.fg-full { grid-column: 1 / -1 !important; }

#mainContactForm .f-inp,
#mainContactForm .f-txt,
#mainContactForm .f-sel {
  width: 100% !important;
  background-color: #0B2544 !important;
  color: #FFFFFF !important;
  border: 1.5px solid rgba(226, 232, 240, 0.15) !important;
  border-radius: 10px !important;
  padding: 8px 12px !important;
  font-size: 13px !important;
  transition: all 0.25s ease !important;
  box-sizing: border-box !important;
}

#mainContactForm .f-inp,
#mainContactForm .f-sel {
  height: 38px !important;
  min-height: 38px !important;
}

#mainContactForm .f-inp:focus,
#mainContactForm .f-txt:focus,
#mainContactForm .f-sel:focus {
  background-color: #0F3159 !important;
  border-color: #8ED21F !important;
  box-shadow: 0 0 0 3px rgba(142, 210, 31, 0.2) !important;
  outline: none !important;
}

.f-lbl {
  display: flex !important;
  align-items: center;
  gap: 5px;
  margin-bottom: 3px !important;
  color: #C2F173 !important;
  font-weight: 700 !important;
  font-size: 11.5px !important;
  letter-spacing: 0.01em;
}

.f-txt { 
  min-height: 56px !important; 
  height: 56px !important;
  resize: none !important; 
  line-height: 1.4 !important;
}

.f-check-grp {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  padding-top: 0 !important;
  margin-bottom: 0 !important;
}

.f-check {
  width: 15px !important;
  height: 15px !important;
  border-radius: 4px !important;
  border-color: rgba(142, 210, 31, 0.4) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  margin-top: 1px !important;
  cursor: pointer;
  accent-color: #8ED21F;
}

.f-check-lbl {
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
  cursor: pointer;
}

#mainContactForm .btn-g {
  height: 42px !important;
  min-height: 42px !important;
  padding: 8px 18px !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  border-radius: 999px !important;
}

.phone-input-group {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
}

.phone-code-sel {
  width: 120px !important;
  min-width: 110px !important;
  max-width: 130px !important;
  height: 38px !important;
  min-height: 38px !important;
  background-color: #0B2544 !important;
  color: #FFFFFF !important;
  border: 1.5px solid rgba(226, 232, 240, 0.15) !important;
  border-radius: 10px !important;
  padding: 0 10px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  outline: none !important;
  flex-shrink: 0 !important;
  appearance: auto !important;
}

.phone-code-sel option {
  background-color: #061E36 !important;
  color: #FFFFFF !important;
  padding: 5px 8px !important;
}

.phone-code-sel:focus {
  background-color: #0F3159 !important;
  border-color: #8ED21F !important;
  box-shadow: 0 0 0 3px rgba(142, 210, 31, 0.2) !important;
}

.phone-num-inp {
  flex: 1 !important;
  min-width: 0 !important;
}

.contact-trust-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  flex-wrap: wrap;
}
.contact-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.contact-trust-item i {
  color: #8ED21F;
  font-size: 10.5px;
}

.f-err {
  display: none;
  color: #FF5F56 !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  margin-top: 3px !important;
}
.f-err[style*="display: block"],
.f-err[style*="display:block"] {
  display: block !important;
}
.f-inp.is-invalid,
.f-sel.is-invalid,
.f-txt.is-invalid,
.phone-num-inp.is-invalid,
.f-check.is-invalid {
  border-color: #FF5F56 !important;
  box-shadow: 0 0 0 3px rgba(255, 95, 86, 0.3) !important;
}
.form-success {
  display: none;
  background: rgba(142, 210, 31, 0.1);
  border: 1px solid rgba(142, 210, 31, 0.3);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  margin-bottom: 14px;
}

/* Right Sidebar: Compact & Aligned */
.home-contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: flex-start;
}

.home-contact-photo-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(6, 30, 54, 0.1);
  border: 1.5px solid #DCE7EF;
  background: #EAF0F6;
  height: 230px;
  flex-shrink: 0;
}
.home-contact-photo-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 12%;
}
.advisor-floating-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  bottom: auto !important;
  right: auto !important;
  background: rgba(6, 30, 54, 0.92) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(142, 210, 31, 0.45) !important;
  border-radius: 999px;
  padding: 5px 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  z-index: 2;
}
.advisor-dot-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8ED21F;
  box-shadow: 0 0 8px #8ED21F;
  flex-shrink: 0;
}

.home-contact-info-card {
  background: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 16px;
  padding: 14px 18px !important;
  box-shadow: 0 6px 20px rgba(6, 30, 54, 0.04);
  flex: 0 0 auto !important;
  font-family: var(--font-body, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
}
.home-contact-info-card h4 {
  font-family: var(--font-body, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #061E36 !important;
  margin: 0 0 3px 0 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.01em !important;
}
.home-contact-info-card p {
  font-family: var(--font-body, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
  font-size: 12px !important;
  color: #475569 !important;
  margin: 0 0 9px 0 !important;
  line-height: 1.4 !important;
  font-weight: 500 !important;
}
.contact-info-meta-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.contact-info-meta-item {
  font-family: var(--font-body, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #061E36 !important;
  line-height: 1.2 !important;
}
.contact-info-meta-item i {
  width: 24px !important;
  height: 24px !important;
  border-radius: 6px !important;
  background: #F0FAD1 !important;
  color: #15803D !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 11px !important;
  flex-shrink: 0 !important;
}

/* ── SECTION 13 — FINAL CTA PANEL ────────────────────────────────────────── */
.uj-cta-panel {
  position: relative;
  background: linear-gradient(135deg, #061E36 0%, #0B2B4C 55%, #061E36 100%) !important;
  border: 1.5px solid rgba(142, 210, 31, 0.35) !important;
  border-radius: 30px !important;
  padding: clamp(40px, 6vw, 70px) clamp(24px, 5vw, 60px) !important;
  text-align: center !important;
  color: #FFFFFF !important;
  box-shadow: 0 28px 75px rgba(6, 30, 54, 0.22), 0 0 45px rgba(142, 210, 31, 0.1) !important;
  overflow: hidden !important;
  max-width: 1080px;
  margin: 0 auto;
}

.uj-cta-panel::before {
  content: '';
  position: absolute;
  top: -120px; left: -100px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(142, 210, 31, 0.18) 0%, transparent 65%);
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
}

.uj-cta-panel::after {
  content: '';
  position: absolute;
  bottom: -120px; right: -100px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(142, 210, 31, 0.12) 0%, rgba(6,30,54,0.1) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
}

.uj-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(142, 210, 31, 0.12);
  border: 1px solid rgba(142, 210, 31, 0.3);
  color: #8ED21F;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.uj-cta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8ED21F;
  box-shadow: 0 0 8px #8ED21F;
}

.uj-cta-title {
  margin: 0 auto 16px !important;
  font-size: clamp(28px, 4.5vw, 46px) !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.03em !important;
  color: #FFFFFF !important;
  max-width: 820px;
  position: relative;
  z-index: 2;
}

.uj-cta-hl {
  color: #8ED21F !important;
  display: inline-block;
  white-space: nowrap;
}

.uj-cta-panel .uj-cta-desc,
.uj-cta-panel p {
  color: #F1F5F9 !important;
  opacity: 1 !important;
  font-size: clamp(15.5px, 1.8vw, 18px) !important;
  line-height: 1.65 !important;
  max-width: 680px !important;
  margin: 0 auto 28px !important;
  font-weight: 500 !important;
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4) !important;
}

.uj-cta-features {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 auto 32px;
  position: relative;
  z-index: 2;
}

.uj-cta-feature {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
  backdrop-filter: blur(8px);
  color: #ffffff !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}
.uj-cta-feature i {
  color: #8ED21F !important;
  font-size: 12px;
}

.uj-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
  margin-bottom: 18px;
}

.uj-cta-panel .uj-cta-note {
  display: block !important;
  font-size: 12.5px !important;
  color: #CBD5E1 !important;
  font-weight: 600 !important;
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3) !important;
}

/* Responsive Overrides */
@media (max-width: 992px) {
  .home-contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .home-contact-sidebar {
    max-width: 580px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .form-wrap {
    padding: 24px 18px !important;
    border-radius: 20px !important;
  }
  .contact-trust-badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .uj-cta-panel {
    border-radius: 22px !important;
    padding: 36px 18px !important;
  }
  .uj-cta-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .uj-cta-actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }
  .uj-cta-features {
    gap: 8px;
  }
  .uj-cta-feature {
    font-size: 11px !important;
    padding: 4px 10px !important;
  }
}

/* ── SECTION 03 — ATS RESUME CHECKER ────────────────────────────────────── */
.ats-sec {
  position: relative;
  overflow: hidden;
  background-color: var(--uj-bg-soft);
  padding: clamp(80px, 10vw, 120px) 0;
  z-index: 0;
}
.ats-sec::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(56,189,248, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(142,210,31, 0.08) 0%, transparent 40%);
  z-index: 0;
  pointer-events: none;
}
.ats-bg-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ats-bg-shape-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(142,210,31,0.12) 0%, transparent 60%);
  position: absolute; left: 10%; top: -10%;
  filter: blur(40px);
}
.ats-bg-shape-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(56,189,248,0.1) 0%, transparent 60%);
  position: absolute; right: 5%; bottom: -5%;
  filter: blur(40px);
}
.ats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}
.ats-hd {
  text-align: center;
  margin-bottom: 56px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.ats-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(142, 210, 31, 0.15);
  color: #4a7c0d;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.ats-hd h2 {
  font-size: clamp(32px, 4vw, 48px);
  color: var(--uj-navy-dark);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.ats-hd h2 em { font-style: normal; color: var(--uj-lime-hover); }
.ats-hd p { font-size: 17px; color: var(--uj-text-muted); line-height: 1.6; }
.ats-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 992px) { .ats-cols { grid-template-columns: 1fr; } }
.ats-up-card, .ats-sc-card {
  background: #ffffff; border-radius: 20px; padding: clamp(28px, 4vw, 40px);
  box-shadow: 0 12px 32px rgba(6,30,54,0.06), 0 2px 8px rgba(6,30,54,0.03);
  border: 1px solid var(--uj-border-color); position: relative;
}
.ats-card-header { margin-bottom: 24px; }
.ats-card-header h3 { font-size: 20px; font-weight: 800; color: var(--uj-navy-dark); display: flex; align-items: center; gap: 10px; margin: 0 0 4px; }
.ats-card-header h3 i { color: var(--uj-lime-primary); }
.ats-card-header p { font-size: 14px; color: var(--uj-text-muted); margin: 0; }
.ats-drop {
  border: 2px dashed #CBD5E1; background: #F8FAFC; border-radius: 12px; padding: 40px 20px;
  text-align: center; cursor: pointer; transition: all 0.2s ease; margin-bottom: 24px;
}
.ats-drop:hover { border-color: var(--uj-lime-primary); background: rgba(142, 210, 31, 0.03); }
.ats-drop.drag-over { border-color: var(--uj-lime-hover); background: rgba(142, 210, 31, 0.1); transform: scale(1.01); }
.ats-drop-icon { font-size: 40px; color: #94A3B8; margin-bottom: 12px; transition: color 0.2s ease; }
.ats-drop:hover .ats-drop-icon, .ats-drop.drag-over .ats-drop-icon { color: var(--uj-lime-primary); }
.ats-drop-t { font-size: 16px; font-weight: 700; color: var(--uj-navy-dark); margin-bottom: 6px; }
.ats-drop-s { font-size: 13px; color: #64748B; margin-bottom: 16px; }
.ats-browse {
  display: inline-block; background: #fff; border: 1px solid #CBD5E1; color: var(--uj-navy-dark);
  font-weight: 600; font-size: 14px; padding: 8px 20px; border-radius: 8px; cursor: pointer;
  transition: all 0.2s; box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.ats-browse:hover { border-color: var(--uj-navy-dark); background: #F8FAFC; }
#ats-fin { display: none; }
.ats-fsel {
  display: none; align-items: center; gap: 12px; background: #F1F5F9; border: 1px solid #E2E8F0;
  padding: 12px 16px; border-radius: 8px; margin-bottom: 24px;
}
.ats-fsel.vis { display: flex; }
.ats-fn { flex: 1; font-size: 14px; font-weight: 600; color: var(--uj-navy-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ats-fsz { font-size: 13px; color: #64748B; }
.ats-frm { background: none; border: none; color: #94A3B8; cursor: pointer; padding: 4px; }
.ats-frm:hover { color: #EF4444; }
.ats-prog {
  display: none; background: #F8FAFC; border: 1px solid #E2E8F0; padding: 20px; border-radius: 12px;
  margin-bottom: 24px; text-align: center; position: relative; overflow: hidden;
}
.ats-prog.vis { display: block; }
.ats-prog-lbl { font-size: 14px; font-weight: 600; color: var(--uj-navy-dark); margin-bottom: 12px; }
.ats-scanner-line { height: 4px; background: #E2E8F0; border-radius: 2px; position: relative; overflow: hidden; }
.ats-scanner-line::after {
  content: ""; position: absolute; top: 0; left: 0; height: 100%; width: 50%;
  background: var(--uj-lime-primary); animation: scan-anim 1.5s ease-in-out infinite; border-radius: 2px;
}
@keyframes scan-anim { 0% { transform: translateX(-100%); } 100% { transform: translateX(200%); } }
.ats-err { display: none; background: #FEF2F2; border: 1px solid #FCA5A5; color: #B91C1C; padding: 12px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 24px; }
.ats-err.vis { display: block; }
.ats-sub {
  width: 100%; background: var(--uj-navy-dark); color: #fff; border: none; padding: 16px; font-size: 16px;
  font-weight: 700; border-radius: 12px; cursor: pointer; transition: background 0.2s;
  display: flex; justify-content: center; align-items: center; gap: 8px;
}
.ats-sub:hover:not(:disabled) { background: #0a2948; }
.ats-sub:disabled { background: #CBD5E1; cursor: not-allowed; }
.ats-trust { display: flex; gap: 16px; justify-content: center; margin-top: 20px; }
.ats-tp { font-size: 12px; color: #64748B; display: flex; align-items: center; gap: 6px; }
.ats-tp i { color: #94A3B8; }
.ats-sc-card { display: flex; flex-direction: column; justify-content: center; min-height: 480px; }
.ats-empty { text-align: center; }
.ats-empty-ico { font-size: 48px; color: #E2E8F0; margin-bottom: 24px; }
.ats-empty h3 { font-size: 24px; font-weight: 800; color: var(--uj-navy-dark); margin-bottom: 8px; }
.ats-empty p { font-size: 15px; color: var(--uj-text-muted); max-width: 320px; margin: 0 auto 32px; }
.ats-prev-items { display: flex; flex-direction: column; gap: 12px; }
.ats-pitem {
  display: flex; align-items: center; gap: 12px; background: #F8FAFC; border: 1px solid #E2E8F0;
  padding: 12px 16px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--uj-navy-sec);
}
.ats-pitem i { color: var(--uj-lime-hover); font-size: 16px; }
.ats-result { display: none; }
.ats-result.vis { display: block; }
.ats-circ-wrap { display: flex; align-items: center; gap: 24px; margin-bottom: 32px; }
.ats-circ-con { position: relative; width: 120px; height: 120px; }
.ats-circ-svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ats-cb { fill: none; stroke: #F1F5F9; stroke-width: 8; }
.ats-cf {
  fill: none; stroke: var(--uj-lime-primary); stroke-width: 8; stroke-linecap: round;
  stroke-dasharray: 408.4; stroke-dashoffset: 408.4; transition: stroke-dashoffset 1.5s ease-out;
}
.ats-cen { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ats-snum { font-size: 36px; font-weight: 800; color: var(--uj-navy-dark); line-height: 1; }
.ats-sden { font-size: 12px; color: #94A3B8; font-weight: 600; }
.ats-rinfo { flex: 1; }
.ats-rlbl { font-size: 20px; font-weight: 800; color: var(--uj-navy-dark); margin-bottom: 4px; }
.ats-rfn { font-size: 14px; color: var(--uj-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.ats-bd { margin-bottom: 24px; }
.ats-bd-t { font-size: 12px; font-weight: 700; color: #64748B; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px; }
.ats-bi { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.ats-bl { width: 130px; font-size: 13px; font-weight: 600; color: var(--uj-navy-dark); }
.ats-bb { flex: 1; background: #F1F5F9; height: 8px; border-radius: 4px; overflow: hidden; }
.ats-bf { height: 100%; background: var(--uj-lime-primary); width: 0%; transition: width 1s ease-out; border-radius: 4px; }
.ats-bv { width: 32px; text-align: right; font-size: 13px; font-weight: 700; color: var(--uj-navy-dark); }
.ats-msg { background: #FFFBEB; border: 1px solid #FEF3C7; padding: 16px; border-radius: 8px; margin-bottom: 24px; }
.ats-msg-h { font-size: 14px; font-weight: 700; color: #B45309; margin-bottom: 4px; }
.ats-msg p { font-size: 14px; color: #92400E; margin: 0; line-height: 1.5; }
.ats-up-btn {
  display: flex; justify-content: center; align-items: center; gap: 8px; width: 100%; padding: 14px;
  background: var(--uj-navy-dark); color: #fff; border-radius: 8px; font-weight: 700; text-decoration: none;
  transition: background 0.2s; margin-bottom: 12px; box-sizing: border-box;
}
.ats-up-btn:hover { background: #0a2948; }
.ats-re-btn {
  width: 100%; padding: 12px; background: none; border: 1px solid #E2E8F0; border-radius: 8px; color: #64748B;
  font-weight: 600; cursor: pointer; transition: all 0.2s; font-family: "Inter", sans-serif;
}
.ats-re-btn:hover { background: #F8FAFC; color: var(--uj-navy-dark); }

/* ── SCANNER BOOTH ANIMATIONS ── */

/* Scanning Beam */
.scanner-line {
  animation: scan-beam 2s infinite ease-in-out;
}
@keyframes scan-beam {
  0% { top: -10%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 110%; opacity: 0; }
}

/* Floating Celebration Logos */
.float-logo-1 { animation: float-up 3s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s; }
.float-logo-2 { animation: float-up 3.5s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.4s; }
.float-logo-3 { animation: float-up 3.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.6s; }

@keyframes float-up {
  0% { transform: translateY(50px) scale(0.5); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateY(-250px) scale(1.2) rotate(15deg); opacity: 0; }
}

/* Text Masking Reveal */
.ats-mask-wrap {
  display: block;
  overflow: hidden;
}
.ats-mask-text {
  display: block;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.ats-anim-hdr-container.visible .ats-mask-wrap:nth-child(1) .ats-mask-text { transition-delay: 0.0s; }
.ats-anim-hdr-container.visible .ats-mask-wrap:nth-child(2) .ats-mask-text { transition-delay: 0.1s; }
.ats-anim-hdr-container.visible .ats-mask-wrap:nth-child(3) .ats-mask-text { transition-delay: 0.2s; }
.ats-anim-hdr-container.visible .ats-mask-text {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 1250px) {
  .ats-desk-photo { display: none !important; }
}

/* ── PREFERS REDUCED MOTION OVERRIDES ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .home-hero-card { animation: none !important; }
  .home-marquee-track { animation: none !important; flex-wrap: wrap !important; }
  .tcs-row-1, .tcs-row-2 { animation: none !important; }
  .ats-path-line { animation: none !important; stroke-dasharray: none !important; }
  .ats-pulse-node { animation: none !important; opacity: 1 !important; }
  .uj-reveal-left, .uj-reveal-right, .uj-reveal { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   PREMIUM 2026 INTERACTIVE ARCHITECTURE (PRACTICAL SUPPORT)
   ========================================================================== */

/* 1. Staggered Feature Reveal */
.premium-reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}
.premium-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.premium-stagger > * {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}
.premium-stagger.is-visible > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.premium-stagger.is-visible > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.premium-stagger.is-visible > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.premium-stagger.is-visible > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }

/* 2. Magnetic Hover CTA Glow */
.btn-magnetic {
  position: relative;
  transition: box-shadow 0.3s ease, transform 0.1s linear; /* Fast linear for JS tracking, smooth for glow */
}
.btn-magnetic.magnetic-active {
  box-shadow: 0 0 15px rgba(142, 210, 31, 0.6);
  z-index: 10;
}

/* 3. Split-Reveal Heading */
.split-reveal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25em; 
  justify-content: center;
}
.split-reveal .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.split-reveal.is-visible .word {
  opacity: 1;
  transform: translateY(0);
}

/* 4. Parallax Image Wrapper */
.parallax-img {
  will-change: transform;
  transform: scale(1.15); /* Scale up to prevent edges showing during parallax */
  transition: transform 0.1s linear; 
}

/* 5. Executive Comparison Animations */
.premium-cmp-glow {
  transition: box-shadow 0.6s ease-in-out, border-color 0.6s ease-in-out;
}
.premium-cmp-glow.glow-active {
  border-color: #8ED21F;
  box-shadow: 0 12px 40px rgba(142, 210, 31, 0.15);
}

.check-anim {
  color: #d1d8e0 !important; /* Initial gray state */
  transform: scale(0.8);
  transition: color 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.premium-cmp-stagger.glow-active .cmp-item:nth-child(1) .check-anim { color: #8ED21F !important; transform: scale(1); transition-delay: 0.2s; }
.premium-cmp-stagger.glow-active .cmp-item:nth-child(2) .check-anim { color: #8ED21F !important; transform: scale(1); transition-delay: 0.4s; }
.premium-cmp-stagger.glow-active .cmp-item:nth-child(3) .check-anim { color: #8ED21F !important; transform: scale(1); transition-delay: 0.6s; }
.premium-cmp-stagger.glow-active .cmp-item:nth-child(4) .check-anim { color: #8ED21F !important; transform: scale(1); transition-delay: 0.8s; }
