/* HRMS hero, adapted from the Accounting product hero.
   Scoped selectors protect shared navigation and the rest of the HRMS page.
   Image paths are relative to assets/css/ on the existing website. */
.hrm-hero {
  --hrm-primary:#4F46E5;
  --hrm-primary-dark:#3730A3;
  --hrm-light:#F1F0FF;
  --hrm-navy:#0B1220;
  --hrm-heading:#10142B;
  --hrm-body:#586178;
  --hrm-border:#E2E3EF;
  position:relative;
  overflow:hidden;
  padding:5rem 0 0;
  text-align:center;
  color:var(--hrm-heading);
  background:#F2F3F7;
  background-image:linear-gradient(90deg,rgba(247,250,252,1),rgba(247,250,252,.55) 38%,rgba(247,250,252,.1)),url('../img/mockup-products/bg.png');
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
}
.hrm-hero::before {content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 50% 65%,rgba(79,70,229,.07),transparent 70%) !important;pointer-events:none;}
.hrm-hero > .container-fluid {position:relative;z-index:1;}
.hrm-hero-copy {max-width:980px;margin:0 auto;padding:3rem 20px 0;}
.hrm-hero .hero-badge {display:inline-flex;align-items:center;justify-content:center;gap:.5rem;background:#FBFBFE !important;border:3px solid rgba(255,255,255,.8);border-radius:999px;color:var(--hrm-primary);padding:.4rem .9rem;font:500 .82rem/1.5 'Inter',sans-serif;margin-bottom:1.25rem;}
.hrm-hero .hero-badge::before {display:none;}
.hrm-hero h1 {font-family:'Poppins',sans-serif;font-size:clamp(2rem,3.5vw,3.5rem);font-weight:600;letter-spacing:-.035em;line-height:1.2;color:var(--hrm-heading);margin:0;}
.hrm-hero h1 .c-primary {color:var(--hrm-primary) !important;}
.hrm-hero .lead-text {max-width:720px;margin:1.5rem auto 0;font:400 1rem/1.7 'Inter',sans-serif;color:var(--hrm-body);}
.hrm-hero .hero-ctas {display:flex;justify-content:center;gap:1rem;flex-wrap:wrap;margin-top:2rem;}
.hrm-btn-primary,.hrm-btn-outline {display:inline-flex;align-items:center;justify-content:center;gap:.6rem;padding:.85rem 1.7rem;border-radius:12px;font:600 .95rem/1.5 'Inter',sans-serif;text-decoration:none;transition:transform .2s ease,box-shadow .2s ease;}
.hrm-btn-primary {color:#fff;background:linear-gradient(180deg,#6B60ED,#4F46E5 55%,#4338CA);border:1px solid #4338CA;box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 10px 24px -8px rgba(79,70,229,.4);}
.hrm-btn-primary:hover {color:#fff;transform:translateY(-2px);box-shadow:0 14px 28px -8px rgba(79,70,229,.45);}
.hrm-btn-outline {color:var(--hrm-primary);background:rgba(255,255,255,.45);border:1px solid #9496AE;}
.hrm-btn-outline:hover {color:var(--hrm-primary-dark);border-color:var(--hrm-primary);transform:translateY(-2px);box-shadow:0 4px 10px -6px rgba(79,70,229,.18);background:linear-gradient(180deg,#FFFFFF,#F4F2FF);}
.hrm-btn-primary:focus-visible,.hrm-btn-outline:focus-visible {outline:3px solid #8279ED;outline-offset:4px;}
.hrm-feature-chips {list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:.8rem 1.5rem;padding:0;margin:1.5rem 0 0;font:500 .88rem/1.5 'Inter',sans-serif;color:var(--hrm-body);}
.hrm-feature-chips li {display:flex;align-items:center;gap:.4rem;}
.hrm-feature-chips i {color:var(--hrm-primary);}
.hrm-stage {display:grid;grid-template-columns:minmax(180px,228px) minmax(0,860px) minmax(180px,228px);align-items:end;gap:1.3rem;max-width:1400px;margin:3.4rem auto 0;padding:0 1.2rem 5rem;}
.hrm-side {display:flex;flex-direction:column;gap:1rem;padding-bottom:1.6rem;min-width:0;}
.hrm-side-right {padding-bottom:.6rem;}
.hrm-window {min-width:0;width:100%;margin:0;background:#fff;border-radius:12px 12px 6px 6px;box-shadow:0 20px 60px -20px rgba(22,35,31,.25);position:relative;z-index:1;}
.hrm-window img {display:block;width:100%;max-width:100%;height:auto;object-fit:contain;border-radius: 0 0 6px 6px;}
.hrm-window-bar {display:flex;align-items:center;gap:1rem;background:var(--hrm-navy);color:#fff;padding:.75rem 1.2rem;text-align:left;border-radius: 12px 12px 0 0;}
.hrm-window-brand {display:flex;align-items:center;gap:.45rem;white-space:nowrap;font:600 .825rem 'Inter',sans-serif;}
.hrm-window-brand > i {color:#8B80F4;}
.hrm-window-search {display:flex;align-items:center;gap:.5rem;flex:1;max-width:280px;background:rgba(255,255,255,.12);padding:.4rem .8rem;border-radius:8px;font-size:.78rem;color:#C6C9D2;}
.hrm-window-icons {margin-left:auto;display:flex;align-items:center;gap:.9rem;color:#C6C9D2;}
.hrm-avatar {display:grid;place-items:center;width:26px;height:26px;background:linear-gradient(135deg,#8B80F4,#4338CA);border-radius:50%;color:#fff;}
.hrm-peek {text-align:left;background:rgba(255,255,255,.55);border:1px solid var(--hrm-border);border-radius:12px;padding:1rem 1.1rem;box-shadow:0 18px 32px -15px rgba(0,0,0,.15);backdrop-filter:blur(8px);font-family:'Inter',sans-serif;}
.hrm-peek h2 {font-family:inherit;font-size:.66rem;line-height:1.5;text-transform:uppercase;letter-spacing:.06em;font-weight:700;color:#6B7280;margin:0 0 .8rem;}
.hrm-card-title {display:flex;align-items:center;gap:.65rem;margin-bottom:.85rem;}
.hrm-card-title strong {font-size:.85rem;line-height:1.5;color:var(--hrm-heading);}
.hrm-icon {display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border-radius:50%;background:linear-gradient(135deg,#F1F0FF,#DEDDF7);color:var(--hrm-primary);}
.hrm-card-row {display:flex;justify-content:space-between;align-items:center;gap:.5rem;padding:.5rem 0;border-top:1px dashed #D6D9E1;color:var(--hrm-body);font-size:.74rem;line-height:1.5;}
.hrm-card-row i {color:var(--hrm-primary);}
.hrm-workflow {padding-left:1.1rem;margin:0;color:var(--hrm-body);font-size:.74rem;line-height:1.6;}
.hrm-workflow li {padding:.25rem 0;}
.hrm-workflow li::marker {color:var(--hrm-primary);font-weight:600;}
.hrm-card-description {font-size:.74rem;line-height:1.6;color:var(--hrm-body);margin:0 0 .7rem;}
.hrm-compliance-chips {display:flex;flex-wrap:wrap;gap:.4rem;}
.hrm-compliance-chips span {padding:.28rem .6rem;border-radius:999px;background:#E9E7FC;color:var(--hrm-primary-dark);font-size:.68rem;font-weight:600;}
@media(max-width:1199.98px) {
 .hrm-stage {grid-template-columns:minmax(0,860px);justify-content:center;}
 .hrm-side {display:none;}
}
@media(max-width:767.98px) {
 .hrm-hero {padding-top:4rem;}
 .hrm-hero-copy {padding:2rem 12px 0;}
 .hrm-hero h1 {font-size:clamp(1.8rem,6.5vw,2.5rem);}
 .hrm-stage {padding:0 .25rem 2.5rem;margin-top:2rem;}
 .hrm-feature-chips {gap:.75rem 1rem;font-size:.78rem;}
 .hrm-window-search {display:none;}
 .hrm-window-bar {padding:.7rem .8rem;gap:.5rem;}
 .hrm-btn-primary,.hrm-btn-outline {padding:.75rem 1.1rem;}
}
@media(prefers-reduced-motion:reduce) {
 .hrm-btn-primary,.hrm-btn-outline {transition:none;transform:none;}
}

  .hero-stats{display:flex; justify-content:center; gap:1.4rem; flex-wrap:wrap; margin:2.4rem 0 0; position:relative; z-index:2;}
  .hero-stats .hs-num{font-weight:800; font-size:2rem; color:var(--dark-2); margin-bottom: 0;}
  .hero-stats .hs-label{font-size:12px; color:var(--text-muted); margin-top:.1rem;line-height: 1.4;}

  .stat-strip {
    background: #fbfbfb;
    box-shadow: 0px 10px 30px 0px var(--tw-shadow-color, #1a17141f), 0px 1px 2px 0px var(--tw-shadow-color, #1a17140f), inset 0px 1px 0px 0px var(--tw-shadow-color, #ffffffd9);
    border-radius: 22px;
    padding: 2rem 1rem;
    color: #fff;
    margin-bottom: .5rem;
    border: 2px solid 
color-mix(in oklab, #fff 70%, transparent);
}

.float-badge-img {
       position: absolute;
    z-index: 2;
    animation: floatBob 4s ease-in-out infinite;
    bottom: -3%;
    left: 85%;
    animation-delay: 1.5s;
    width: 16%;
}