/* HRMS unified product hero: page-scoped styles */
.hrms-product-hero,
.hrms-product-hero * { box-sizing: border-box; }
.hrms-product-hero {
  --hrms-navy: #17165a;
  --hrms-blue: #17165a;
  --hrms-orange: #ff5e14;
  min-height: 100vh;
  padding: clamp(16px, 2vw, 28px) 0;
  background: linear-gradient(135deg, #f7faff 0%, #fff 52%, #f5f8ff 100%);
}
.hrms-hero-container { width: min(1320px, calc(100% - 48px)); margin-inline: auto; }
.hrms-hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: start;
}
.hrms-hero-copy { min-width: 0; }
.hrms-hero-eyebrow {
  display: inline-block;
  margin-bottom: 13px;
  color: var(--hrms-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}
.hrms-hero-copy h1 {
  max-width: 650px;
  margin: 0 0 16px;
  color: var(--hrms-navy);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.1;
}
.hrms-hero-description {
  max-width: 620px;
  margin: 0;
  color: #475569;
  font-size: 16px;
  line-height: 1.75;
}
.hrms-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 24px 0 22px; }
.hrms-cta-primary,
.hrms-cta-secondary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  cursor: pointer;
}
.hrms-cta-primary { color: #fff; background: var(--hrms-orange); box-shadow: 0 8px 18px rgba(255, 94, 20, .2); }
.hrms-cta-primary:hover { color: #fff; background: #e94f0b; box-shadow: 0 11px 22px rgba(255, 94, 20, .26); transform: translateY(-2px); }
.hrms-cta-secondary { color: var(--hrms-navy); border-color: #d5deeb; background: #fff; }
.hrms-cta-secondary:hover { color: var(--hrms-blue); border-color: #a8bee3; background: #f8fbff; }
.hrms-hero-media { position: relative; min-width: 0; align-self: start; }
.hrms-hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(8, 39, 91, .12);
  border-radius: 20px;
  background: #091b37;
  box-shadow: 0 22px 50px rgba(8, 39, 91, .17);
}
.hrms-media-caption { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; color: #718099; font-size: 11px; }
.hrms-media-caption i { color: var(--hrms-blue); }
.hrms-hero-features { margin-top: clamp(64px, 7vw, 96px); }
.hrms-feature-heading { max-width: 780px; margin: 0 auto 22px; text-align: center; }
.hrms-feature-heading h2 {
  margin: 0 0 8px;
  color: var(--hrms-navy);
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.2;
}
.hrms-feature-heading p { margin: 0; color: #475569; font-size: 16px; line-height: 1.65; }
.hrms-feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hrms-feature-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 174px;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 18px 20px;
  border: 1px solid #e1e8f2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(8, 39, 91, .055);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.hrms-feature-card:hover { transform: translateY(-3px); border-color: #cbd8eb; box-shadow: 0 13px 28px rgba(8, 39, 91, .1); }
.hrms-feature-icon {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  place-items: center;
  border-radius: 11px;
  font-size: 16px;
}
.hrms-icon-attendance { color: #17165a; background: #f0efff; }
.hrms-icon-payroll { color: #7c3aed; background: #f3edff; }
.hrms-icon-leave { color: #15936c; background: #e9f8f1; }
.hrms-icon-app { color: #e57b2b; background: #fff3e9; }
.hrms-feature-card h3 { min-height: 46px; margin: 0 0 8px; color: var(--hrms-navy); font-size: 17px; font-weight: 750; line-height: 1.4; }
.hrms-feature-card p { margin: 0; color: #475569; font-size: 14px; line-height: 1.65; }
.hrms-why-content { padding: 54px 0; background: #fff; }
.hrms-why-content .hrms-hero-container { max-width: 900px; }
.hrms-why-content h2 { margin: 0 0 10px; color: #17165a; font-size: clamp(24px, 2.5vw, 32px); font-weight: 800; }
.hrms-why-content p { margin: 0; color: #475569; font-size: 16px; line-height: 1.75; }

.hrms-explore-section,
.hrms-explore-section * { box-sizing: border-box; }
.hrms-explore-section { padding: 52px 0; background: #f8fafc; }
.hrms-explore-container {
  display: grid;
  width: min(1200px, calc(100% - 48px));
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  align-items: center;
  gap: 36px;
  margin-inline: auto;
  padding: 30px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(8, 39, 91, .07);
}
.hrms-explore-eyebrow { color: #ff5e14; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.hrms-explore-products h2 { margin: 8px 0 5px; color: #17165a; font-size: 28px; font-weight: 800; letter-spacing: -.025em; }
.hrms-explore-products > p { margin: 0 0 20px; color: #475569; font-size: 15px; }
.hrms-explore-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hrms-explore-links a {
  display: flex;
  min-width: 0;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid #e7edf5;
  border-radius: 10px;
  color: #475569;
  background: #fbfcfe;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}
.hrms-explore-links a i { flex: 0 0 auto; color: #ff5e14; font-size: 11px; }
.hrms-explore-links a:hover { border-color: #ffd1be; color: #17165a; background: #fff8f4; }
.hrms-explore-demo {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 22px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(140deg, #17165a, #292775);
  box-shadow: 0 12px 26px rgba(23, 22, 90, .16);
}
.hrms-explore-demo-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; color: #ff5e14; background: #fff0e9; }
.hrms-explore-demo-copy h3 { margin: 0 0 5px; color: #fff !important; font-size: 20px; font-weight: 800; }
.hrms-explore-demo-copy p { margin: 0; color: #e2e8f0; font-size: 15px; line-height: 1.6; }
.hrms-explore-demo button {
  display: inline-flex;
  min-height: 42px;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 15px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: #ff5e14;
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
  transition: background-color .18s ease, transform .18s ease;
}
.hrms-explore-demo button:hover { transform: translateY(-1px); background: #e94f0b; }

@media (max-width: 1199.98px) {
  .hrms-hero-container { width: min(100% - 40px, 1040px); }
  .hrms-hero-top { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hrms-hero-copy h1 { font-size: clamp(32px, 4.2vw, 46px); }
  .hrms-hero-media { width: min(100%, 760px); margin-inline: auto; }
  .hrms-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hrms-explore-container { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hrms-explore-demo { grid-template-columns: 42px minmax(0, 1fr) auto; }
  .hrms-explore-demo button { grid-column: auto; }
}
@media (max-width: 991.98px) {
  .hrms-product-hero { min-height: 100vh; padding: 36px 0; }
  .hrms-hero-copy { max-width: 760px; }
  .hrms-hero-media img { max-height: 430px; }
  .hrms-hero-features { margin-top: 58px; }
}
@media (max-width: 575.98px) {
  /* The site header is fixed on phones, so reserve space before the hero.
     Without it, the first lines of the H1 sit underneath the header. */
  .hrms-product-hero { padding: 92px 0 34px; }
  .hrms-hero-container { width: calc(100% - 32px); }
  .hrms-hero-copy h1 { font-size: 34px; }
  .hrms-hero-description { font-size: 14px; line-height: 1.65; }
  .hrms-hero-actions { gap: 9px; margin: 19px 0; }
  .hrms-cta-primary, .hrms-cta-secondary { min-height: 44px; padding: 0 13px; font-size: 13px; }
  .hrms-hero-media img { border-radius: 15px; }
  .hrms-hero-features { margin-top: 44px; }
  .hrms-feature-heading { margin-bottom: 18px; }
  .hrms-feature-heading h2 { font-size: 25px; }
  .hrms-feature-heading p { font-size: 14px; }
  .hrms-feature-grid { grid-template-columns: minmax(0, 1fr); gap: 11px; }
  .hrms-explore-section { padding: 34px 0; }
  .hrms-explore-container { width: calc(100% - 32px); gap: 22px; padding: 20px; border-radius: 16px; }
  .hrms-explore-products h2 { font-size: 22px; }
  .hrms-explore-links { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .hrms-explore-demo { grid-template-columns: 38px minmax(0, 1fr); gap: 10px; padding: 17px; }
  .hrms-explore-demo-icon { width: 38px; height: 38px; }
  .hrms-explore-demo button { grid-column: 1 / -1; }
  .hrms-feature-card { min-height: 0; padding: 17px; }
  .hrms-feature-card h3 { min-height: 0; font-size: 16px; }
  .hrms-feature-card p { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .hrms-cta-primary, .hrms-cta-secondary, .hrms-feature-card { transition: none; }
  .hrms-cta-primary:hover, .hrms-feature-card:hover { transform: none; }
}
