/* Shared layout for the HRMS, Payroll, and Billing product pages. */
:root {
  --primary: #25b7a7;
  --primary-dark: #1a9e8f;
  --primary-light: #e8f8f6;
  --primary-deeper: #0d7a6e;
  --secondary: #243F64;
  --accent: #17C3B2;
  --heading-dark: #083530;
  --text-body: #3d5250;
  --text-muted: #7a9593;
  --bg: #F8FCFC;
  --card: #FFFFFF;
  --border: #d0eeec;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(36, 63, 100, 0.08);
  --shadow-lg: 0 32px 80px rgba(37, 183, 167, 0.14);
  --max: 1280px;
  --pad: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 10vw, 120px);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px; line-height: 1.7; color: var(--text-body);
  background: var(--bg); overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { width: min(var(--max), 100% - var(--pad) * 2); margin-inline: auto; }
.mod-page {
  padding: calc(76px + clamp(36px, 5vw, 56px)) 0 var(--section);
  background: linear-gradient(180deg, #fff 0%, #f0faf8 40%, var(--bg) 100%);
}
.mod-hero {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr); gap: 32px; align-items: center;
  margin: 0 0 36px; padding: 32px 36px; border-radius: 22px;
  background: linear-gradient(135deg, #0d7a6e 0%, #25b7a7 55%, #17C3B2 100%);
  color: #fff; box-shadow: var(--shadow-lg);
}
.mod-hero .eyebrow { color: rgba(255,255,255,.86); }
.mod-hero h1 {
  font-size: clamp(1.75rem, 3vw, 2.35rem); font-weight: 700; color: #fff;
  letter-spacing: -.02em; line-height: 1.2; margin: 0 0 12px;
}
.mod-hero p { font-size: 16px; line-height: 1.65; color: rgba(255,255,255,.9); max-width: 560px; margin: 0 0 18px; }
.mod-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; font-size: 15px; font-weight: 600;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; box-shadow: 0 12px 32px rgba(37, 183, 167, .35);
}
.mod-hero .btn--primary { background: #fff; color: var(--primary-deeper); box-shadow: none; }
.btn--ghost { background: #fff; border: 1.5px solid var(--border); color: var(--secondary); }
.mod-hero .btn--ghost { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; }
.mod-hero .btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.mod-hero__art { justify-self: end; width: min(100%, 380px); }
.mod-stage {
  padding: 16px; border-radius: 22px; background: #fff; color: #083530;
  box-shadow: 0 22px 50px rgba(8, 53, 48, .28);
}
.mod-stage__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mod-stage__dots { display: flex; gap: 6px; }
.mod-stage__dots span { width: 8px; height: 8px; border-radius: 50%; background: #d7eeeb; }
.mod-stage__dots span:first-child { background: #25b7a7; }
.mod-stage__top em {
  font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: #0d7a6e;
}
.mod-person {
  display: flex; align-items: center; gap: 12px;
  padding: 12px; border-radius: 16px; background: #f4fbfa; border: 1px solid #e3f4f1;
}
.mod-person__avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: #0d7a6e; color: #fff;
}
.mod-person__avatar .material-symbols-outlined { font-size: 22px; }
.mod-person strong, .mod-attend strong, .mod-pair strong, .mod-bill__line strong, .mod-slip__row strong, .mod-slip__stamp strong { display: block; font-size: 14px; line-height: 1.2; color: #083530; }
.mod-person small, .mod-attend small, .mod-pair small, .mod-bill__line small, .mod-slip__row small, .mod-slip__stamp small { display: block; margin-top: 2px; font-size: 12px; color: #7a9593; }
.mod-week { display: flex; gap: 5px; margin-left: auto; }
.mod-week i { width: 7px; height: 22px; border-radius: 99px; background: #d7eeeb; }
.mod-week i:nth-child(-n+5) { background: #25b7a7; }
.mod-attend {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 10px; padding: 10px 12px; border-radius: 16px; border: 1px solid #e3f4f1;
}
.mod-ring { width: 46px; height: 46px; flex: none; }
.mod-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.mod-pair div {
  display: flex; align-items: center; gap: 8px; min-width: 0;
  padding: 10px; border-radius: 14px; background: #fff; border: 1px solid #e3f4f1;
}
.mod-pair .material-symbols-outlined {
  width: 32px; height: 32px; border-radius: 10px; flex: none; display: grid; place-items: center;
  background: #e8f8f6; color: #0d7a6e; font-size: 18px;
}
.mod-pay {
  display: flex; align-items: center; gap: 12px;
  margin-top: 10px; padding: 12px 14px; border-radius: 16px; background: #083530;
}
.mod-pay .material-symbols-outlined { color: #17C3B2; font-size: 22px; }
.mod-pay strong { display: block; font-size: 14px; line-height: 1.2; color: #fff; }
.mod-pay small { display: block; margin-top: 2px; font-size: 12px; color: rgba(255,255,255,.72); }
.mod-payslip {
  border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid #e3f4f1;
}
.mod-payslip__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; background: #f4fbfa; border-bottom: 1px dashed #d0eeec;
}
.mod-payslip__head strong { display: block; font-size: 15px; color: #083530; }
.mod-payslip__head small { display: block; margin-top: 2px; font-size: 12px; color: #7a9593; }
.mod-payslip__head .material-symbols-outlined { color: #0d7a6e; font-size: 22px; }
.mod-payslip__line {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 10px 14px; border-bottom: 1px dotted #e3f4f1;
}
.mod-payslip__line strong { font-size: 13px; color: #083530; }
.mod-payslip__line span { font-size: 12px; color: #7a9593; }
.mod-payslip__net {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; background: #083530; color: #fff;
}
.mod-payslip__net strong { font-size: 14px; color: #fff; }
.mod-payslip__net small { font-size: 12px; color: rgba(255,255,255,.72); }
#billing-software .mod-card {
  position: relative; overflow: hidden; padding-top: 28px;
  border-top: 3px solid #0d7a6e;
  background:
    linear-gradient(#d0eeec, #d0eeec) 20px 12px / 52px 3px no-repeat,
    linear-gradient(#e7f6f4, #e7f6f4) 20px 20px / 34px 3px no-repeat,
    #fff;
}
#billing-software .mod-card::after {
  content: ""; position: absolute; top: 0; right: 0;
  border-style: solid; border-width: 0 18px 18px 0;
  border-color: #e8f8f6 #e8f8f6 transparent transparent;
}
.mod-bill__line {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 2px; border-bottom: 1px dashed #d0eeec;
}
.mod-bill__line .material-symbols-outlined { color: #0d7a6e; font-size: 20px; }
.mod-bill__line.is-on {
  margin: 6px -4px 0; padding: 11px 10px; border: 0; border-radius: 14px; background: #f4fbfa;
}
.mod-ledger {
  display: flex; align-items: center; gap: 12px;
  margin-top: 12px; padding: 12px 14px; border-radius: 16px; background: #083530; color: #fff;
}
.mod-ledger strong { display: block; font-size: 13px; color: #fff; }
.mod-ledger small { display: block; margin-top: 2px; font-size: 11px; color: rgba(255,255,255,.72); }
.mod-ledger__bar { flex: 1; height: 8px; border-radius: 99px; background: rgba(255,255,255,.18); overflow: hidden; }
.mod-ledger__bar i { display: block; width: 68%; height: 100%; border-radius: 99px; background: #17C3B2; }
.mod-slip__row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid #e3f4f1;
}
.mod-slip__row .material-symbols-outlined { color: #0d7a6e; font-size: 18px; }
.mod-slip__stamp {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 12px; padding: 12px 14px; border-radius: 14px;
  border: 1.5px dashed #25b7a7; background: #f4fbfa;
}
.mod-slip__stamp .material-symbols-outlined { color: #0d7a6e; font-size: 22px; }
.mod-board {
  padding: 14px; border-radius: 16px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.32);
}
.mod-board__kicker {
  margin: 0 4px 10px; font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: rgba(255,255,255,.82);
}
.mod-board__flow { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mod-board__flow li {
  display: flex; align-items: center; gap: 8px; min-width: 0;
  padding: 10px; border-radius: 12px; background: #fff; color: #083530;
}
.mod-board__flow .material-symbols-outlined {
  width: 28px; height: 28px; border-radius: 8px; flex: none;
  display: grid; place-items: center; font-size: 16px; color: #0d7a6e; background: #e8f8f6;
}
.mod-board__flow strong { display: block; font-size: 13px; font-weight: 700; line-height: 1.2; }
.mod-board__flow small { display: block; font-size: 11px; font-weight: 500; color: #7a9593; line-height: 1.3; }
.eyebrow { display: block; margin: 0 0 10px; font-size: 16px; font-weight: 600; line-height: 1.4; color: #0F172A; }
.section-title {
  font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -.02em;
  line-height: 1.3; color: #000; margin: 0 0 10px;
}
.section-lead { font-size: 16px; color: var(--text-muted); max-width: 720px; line-height: 1.7; margin: 0 0 22px; }
.mod-block { margin: 0 0 42px; }
.mod-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mod-card {
  padding: 20px; border-radius: var(--radius); background: var(--card);
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.mod-card h3 { font-size: 16px; font-weight: 700; color: var(--heading-dark); margin: 10px 0 6px; }
.mod-card p { font-size: 14px; line-height: 1.55; color: var(--text-muted); margin: 0; }
.mod-card .material-symbols-outlined {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--primary-light); color: var(--primary-deeper); font-size: 22px;
}
.mod-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mod-step {
  padding: 18px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--border);
}
.mod-step span {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  margin-bottom: 10px; font-size: 12px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}
.mod-step h3 { font-size: 15px; font-weight: 700; color: var(--heading-dark); margin: 0 0 6px; }
.mod-step p { font-size: 13px; line-height: 1.5; color: var(--text-muted); margin: 0; }
.mod-connect { padding-top: 8px; }
.mod-connect__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mod-connect__card {
  display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow);
  transition: transform .2s, border-color .2s;
}
.mod-connect__card:hover { transform: translateY(-3px); border-color: rgba(37, 183, 167, .35); }
.mod-connect__card .material-symbols-outlined {
  width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: var(--primary-light); color: var(--primary-deeper); font-size: 22px;
}
.mod-connect__card h3 { font-size: 15px; font-weight: 700; color: var(--heading-dark); margin: 0 0 4px; }
.mod-connect__card p { font-size: 13px; line-height: 1.55; color: var(--text-muted); margin: 0; }
.mod-cta {
  margin-top: 12px; padding: 36px 32px; border-radius: 22px; text-align: center;
  background: linear-gradient(135deg, #083530 0%, #0d7a6e 55%, #25b7a7 100%); color: #fff;
}
.mod-cta h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 700; color: #fff; margin: 0 0 10px; }
.mod-cta p { font-size: 15px; color: rgba(255,255,255,.82); max-width: 560px; margin: 0 auto 20px; }
.mod-cta .btn--primary { background: #fff; color: var(--primary-deeper); box-shadow: none; }
.mod-cta .btn--ghost { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.mod-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (max-width: 980px) {
  .mod-hero, .mod-grid, .mod-steps, .mod-connect__grid { grid-template-columns: 1fr 1fr; }
  .mod-hero { grid-template-columns: 1fr; }
  .mod-hero__art { justify-self: start; width: min(100%, 380px); }
}
@media (max-width: 640px) {
  .mod-grid, .mod-steps, .mod-connect__grid, .mod-board__flow { grid-template-columns: 1fr; }
  .mod-hero { padding: 24px 20px; }
}
