/* =========================================================
   GoHRMS HR Software page. Scoped under .hx with hx- classes
   so it never clashes with Bootstrap or the theme (style.css).
   ========================================================= */
.hx { --hx-theme: #04b4e4; --hx-dark: #0391b8; --hx-title: #1F1F1F; --hx-body: #5C6574; --hx-light: #72849B;
      --hx-border: #E6E9EE; --hx-soft: #F2FBFE; --hx-smoke: #F7F8FA; --hx-green: #00a86b; --hx-yellow: #FFB539; }
.hx ul { padding: 0; margin: 0; }
.hx li { list-style: none; }
.hx h1, .hx h2, .hx h3, .hx h4 { font-family: var(--title-font); color: var(--hx-title); font-weight: 600; line-height: 1.25; margin: 0; }
.hx p { color: var(--hx-body); }
.hx a { text-decoration: none; }
.hx img { max-width: 100%; }
.hx section, .hx .hx-mod { scroll-margin-top: 100px; }

.hx-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--hx-theme); color: #fff !important; font-weight: 500; font-size: 16px; padding: 16px 32px; border-radius: 50px; transition: .3s; border: 0; }
.hx-btn:hover { background: var(--hx-title); }
.hx-btn.ghost { background: #fff; color: var(--hx-title) !important; border: 1.5px solid var(--hx-border); }
.hx-btn.ghost:hover { border-color: var(--hx-theme); color: var(--hx-theme) !important; }
.hx-btn.white { background: #fff; color: var(--hx-title) !important; }
.hx-btn.white:hover { background: var(--hx-title); color: #fff !important; }
.hx-sub { display: inline-block; background: #e3f6fc; color: var(--hx-theme); font-weight: 600; font-size: 14px; padding: 6px 18px; border-radius: 30px; margin-bottom: 14px; }
.hx-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.hx-head h2 { font-size: 40px; margin-bottom: 14px; }
.hx-head h2 span { color: var(--hx-theme); }
.hx-head p { font-size: 17px; margin: 0; }
.hx-space { padding: 100px 0; }
.hx-soft { background: var(--hx-soft); }
.hx-smoke { background: var(--hx-smoke); }

/* hero */
.hx-hero { background: linear-gradient(180deg, #eaf8fd 0%, #fff 100%); padding: 170px 0 0; overflow: hidden; position: relative; }
.hx-hero .ring { position: absolute; border: 1px solid rgba(4,180,228,.18); border-radius: 50%; pointer-events: none; }
.hx-hero .in { max-width: 920px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.hx-crumb { font-size: 14px; color: var(--hx-light); margin-bottom: 22px; }
.hx-crumb a { color: var(--hx-body); } .hx-crumb i { font-size: 10px; margin: 0 8px; }
.hx-hero h1 { font-size: 54px; line-height: 1.15; margin-bottom: 20px; }
.hx-hero h1 span { color: var(--hx-theme); }
.hx-hero .lead { font-size: 19px; line-height: 1.6; max-width: 780px; margin: 0 auto 30px; color: var(--hx-body); }
.hx-hero .cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.hx-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-bottom: 50px; }
.hx-trust span { font-size: 15px; color: var(--hx-title); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.hx-trust i { color: var(--hx-green); }
.hx-shot { background: #fff; border-radius: 18px 18px 0 0; box-shadow: 0 -10px 60px rgba(4,180,228,.16); border: 1px solid var(--hx-border); border-bottom: 0; overflow: hidden; max-width: 1180px; margin: 0 auto; position: relative; z-index: 1; }
.hx-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #f4f6f8; border-bottom: 1px solid var(--hx-border); }
.hx-bar b { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; } .hx-bar b:nth-child(2) { background: #febc2e; } .hx-bar b:nth-child(3) { background: #28c840; }
.hx-bar span { margin-left: 12px; font-size: 12.5px; color: var(--hx-light); background: #fff; border-radius: 20px; padding: 3px 14px; }
.hx-shot img { display: block; width: 100%; }

/* stats */
.hx-stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; background: var(--hx-title); border-radius: 22px; padding: 34px 20px; margin-top: -1px; }
.hx-stats div { text-align: center; border-right: 1px solid rgba(255,255,255,.12); padding: 0 12px; }
.hx-stats div:last-child { border: 0; }
.hx-stats b { display: block; font-family: var(--title-font); font-size: 34px; color: #fff; line-height: 1.1; }
.hx-stats small { color: #b9c4d0; font-size: 14.5px; }

/* sticky module nav */
/* jump bar (not sticky: the theme header already sticks to the top on scroll) */
.hx-nav { background: #fff; border-top: 1px solid var(--hx-border); border-bottom: 1px solid var(--hx-border); }
.hx-nav ul { display: flex; gap: 6px; overflow-x: auto; justify-content: center; padding: 12px 0; scrollbar-width: none; }
.hx-nav ul::-webkit-scrollbar { display: none; }
.hx-nav a { display: inline-block; white-space: nowrap; font-size: 14.5px; font-weight: 500; color: var(--hx-body); padding: 8px 16px; border-radius: 30px; }
.hx-nav a:hover, .hx-nav a.on { background: #e3f6fc; color: var(--hx-dark); }

/* module grid */
.hx-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
.hx-card { background: #fff; border: 1px solid var(--hx-border); border-radius: 18px; padding: 26px; transition: .3s; display: block; height: 100%; }
.hx-card:hover { border-color: var(--hx-theme); box-shadow: 0 16px 40px rgba(4,180,228,.12); transform: translateY(-4px); }
.hx-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; margin-bottom: 18px; }
.hx-card h3 { font-size: 18.5px; margin-bottom: 8px; }
.hx-card p { font-size: 15px; line-height: 1.55; margin: 0; }
.c1 { background: #e3f6fc; color: #0391b8; } .c2 { background: #e3f8ef; color: #00995f; } .c3 { background: #fff3df; color: #c47a00; }
.c4 { background: #efeaff; color: #6b4fd8; } .c5 { background: #ffe9ee; color: #d23d63; } .c6 { background: #eaf0ff; color: #3a64d8; }

/* screenshot tour */
.hx-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 30px; }
.hx-tabs button { border: 1px solid var(--hx-border); background: #fff; color: var(--hx-title); font-weight: 500; font-size: 15px; padding: 11px 22px; border-radius: 40px; cursor: pointer; transition: .25s; display: inline-flex; align-items: center; gap: 8px; }
.hx-tabs button i { color: var(--hx-theme); }
.hx-tabs button.on { background: var(--hx-theme); border-color: var(--hx-theme); color: #fff; }
.hx-tabs button.on i { color: #fff; }
.hx-pane { display: none; }
.hx-pane.on { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 40px; align-items: center; }
.hx-pane .hx-shot { border-radius: 16px; border-bottom: 1px solid var(--hx-border); box-shadow: 0 24px 60px rgba(31,31,31,.10); }
.hx-pane h3 { font-size: 26px; margin-bottom: 12px; }
.hx-pane p { font-size: 16px; }

/* module detail rows */
.hx-mod { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 60px; align-items: center; padding: 70px 0; border-bottom: 1px solid var(--hx-border); }
.hx-mod:last-child { border-bottom: 0; }
.hx-mod.flip > .media { order: 2; }
.hx-mod .tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; padding: 6px 14px; border-radius: 30px; margin-bottom: 14px; }
.hx-mod h2 { font-size: 34px; margin-bottom: 14px; }
.hx-mod > div > p { font-size: 16.5px; line-height: 1.7; margin-bottom: 22px; }
.hx-feat { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px 22px; margin-bottom: 24px; }
.hx-feat li { display: flex; gap: 10px; font-size: 15.5px; color: var(--hx-title); line-height: 1.45; }
.hx-feat li i { color: var(--hx-theme); margin-top: 4px; }
.hx-more { font-weight: 600; color: var(--hx-theme); font-size: 15.5px; display: inline-flex; gap: 8px; align-items: center; }
.hx-more:hover { color: var(--hx-title); }
.hx-mod .media .hx-shot { border-radius: 16px; border-bottom: 1px solid var(--hx-border); box-shadow: 0 24px 60px rgba(31,31,31,.10); }
.hx-art { border-radius: 22px; padding: 40px; display: grid; place-items: center; min-height: 360px; }
.hx-art img { max-height: 320px; }
.hx-phone { width: 250px; border: 10px solid #1F1F1F; border-radius: 34px; overflow: hidden; margin: 0 auto; box-shadow: 0 24px 60px rgba(31,31,31,.18); background: #fff; }
.hx-phone img { display: block; width: 100%; }

/* compact module pairs */
.hx-duo { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.hx-box { background: #fff; border-radius: 20px; padding: 32px; border: 1px solid var(--hx-border); }
.hx-box h3 { font-size: 22px; margin: 0 0 10px; }
.hx-box p { font-size: 15.5px; margin-bottom: 16px; }
.hx-box .hx-feat { grid-template-columns: 1fr; margin: 0; }

/* compliance strip */
.hx-comp { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 16px; }
.hx-comp div { background: #fff; border-radius: 16px; padding: 22px 16px; text-align: center; border: 1px solid var(--hx-border); }
.hx-comp b { display: block; font-family: var(--title-font); font-size: 20px; color: var(--hx-title); margin-bottom: 4px; }
.hx-comp small { font-size: 13.5px; color: var(--hx-body); line-height: 1.4; display: block; }

/* comparison table */
.hx-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--hx-border); border-radius: 18px; overflow: hidden; background: #fff; }
.hx-table th, .hx-table td { padding: 16px 22px; font-size: 15.5px; border-bottom: 1px solid var(--hx-border); text-align: left; vertical-align: top; }
.hx-table th { background: var(--hx-title); color: #fff; font-weight: 600; font-family: var(--title-font); }
.hx-table th.us { background: var(--hx-theme); }
.hx-table tr:last-child td { border-bottom: 0; }
.hx-table td:first-child { font-weight: 600; color: var(--hx-title); width: 26%; }
.hx-table td.no { color: #b54848; } .hx-table td.yes { color: #08784f; background: #f3fcf8; }
.hx-table-wrap { overflow-x: auto; }

/* steps */
.hx-steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; counter-reset: s; }
.hx-step { background: #fff; border-radius: 20px; padding: 34px 30px; border: 1px solid var(--hx-border); position: relative; }
.hx-step .n { font-family: var(--title-font); font-weight: 700; font-size: 15px; color: var(--hx-theme); background: #e3f6fc; border-radius: 30px; padding: 4px 14px; display: inline-block; margin-bottom: 16px; }
.hx-step h3 { font-size: 21px; margin-bottom: 10px; }
.hx-step p { margin: 0; font-size: 15.5px; }

/* who it's for */
.hx-who { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.hx-who div { background: #fff; border-radius: 18px; padding: 26px; border: 1px solid var(--hx-border); }
.hx-who i { font-size: 26px; color: var(--hx-theme); margin-bottom: 14px; display: block; }
.hx-who h3 { font-size: 18px; margin-bottom: 8px; }
.hx-who p { font-size: 14.5px; margin: 0; }

/* resources */
.hx-res { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.hx-res a { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--hx-border); border-radius: 16px; padding: 22px; transition: .25s; }
.hx-res a:hover { border-color: var(--hx-theme); }
.hx-res b { display: block; color: var(--hx-title); font-size: 16px; margin-bottom: 4px; font-family: var(--title-font); font-weight: 600; }
.hx-res small { color: var(--hx-body); font-size: 14px; line-height: 1.45; display: block; }
.hx-res .hx-ic { margin: 0; flex: 0 0 46px; width: 46px; height: 46px; font-size: 19px; }

/* final cta */
.hx-cta { background: linear-gradient(120deg, #0391b8 0%, #04b4e4 60%, #19c39a 130%); border-radius: 28px; padding: 64px 40px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.hx-cta h2 { color: #fff; font-size: 40px; margin-bottom: 14px; }
.hx-cta p { color: #e8fbff; font-size: 18px; max-width: 640px; margin: 0 auto 28px; }
.hx-cta .cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hx .accordion-card { margin-bottom: 14px; }

@media (max-width: 1199px) {
  .hx-nav ul { justify-content: flex-start; }
  .hx-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .hx-comp { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .hx-pane.on { grid-template-columns: 1fr; }
}
@media (max-width: 991px) {
  .hx-hero h1 { font-size: 40px; }
  .hx-head h2, .hx-cta h2 { font-size: 32px; }
  .hx-grid, .hx-who, .hx-res { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hx-mod { grid-template-columns: 1fr; gap: 34px; padding: 50px 0; }
  .hx-mod.flip > .media { order: 0; }
  .hx-duo, .hx-steps { grid-template-columns: 1fr; }
  .hx-stats { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px 0; }
  .hx-stats div:nth-child(2) { border: 0; }
  .hx-space { padding: 70px 0; }
}
@media (max-width: 575px) {
  .hx-hero { padding-top: 130px; }
  .hx-nav ul { justify-content: flex-start; }
  .hx-hero h1 { font-size: 31px; }
  .hx-hero .lead { font-size: 16.5px; }
  .hx-head h2, .hx-cta h2, .hx-mod h2 { font-size: 26px; }
  .hx-who, .hx-res, .hx-feat { grid-template-columns: 1fr; }
  .hx-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .hx-card { padding: 16px; }
  .hx-card .hx-ic { width: 42px; height: 42px; font-size: 18px; margin-bottom: 12px; }
  .hx-card h3 { font-size: 15px; margin: 0; }
  .hx-card p { display: none; }
  .hx-comp { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hx-stats b { font-size: 26px; }
  .hx-cta { padding: 44px 22px; }
  .hx-btn { padding: 14px 24px; font-size: 15px; }
  .hx-table th, .hx-table td { padding: 12px 14px; font-size: 14px; }
  .hx-tabs button { padding: 9px 16px; font-size: 14px; }
}
