/* Landing: Software HRM (/human-resource-management)
   Semua selector diawali .lhrm agar tidak bocor ke halaman lain. */

.lhrm {
    --lhrm-ink: #0e2a2b;
    --lhrm-muted: #4d6263;
    --lhrm-teal: #005051;
    --lhrm-teal-dark: #003839;
    --lhrm-deep: #002728;
    --lhrm-gold: #c9a23b;
    --lhrm-gold-dark: #a8842f;
    --lhrm-paper: #f6f3ec;
    --lhrm-line: rgba(0, 80, 81, .16);
    --lhrm-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
    color: var(--lhrm-ink);
    scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
    .lhrm { scroll-behavior: auto; }
    .lhrm *, .lhrm *::before, .lhrm *::after { transition: none !important; animation: none !important; }
}

.lhrm-wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.lhrm-section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.lhrm-section--paper { background: var(--lhrm-paper); }
.lhrm [id] { scroll-margin-top: 6rem; }

.lhrm h1, .lhrm h2, .lhrm h3 { font-family: var(--lhrm-serif); letter-spacing: -.01em; color: var(--lhrm-ink); margin: 0; }
.lhrm h2 { font-size: clamp(1.65rem, 3.4vw, 2.35rem); line-height: 1.18; }
.lhrm h3 { font-size: 1.2rem; line-height: 1.3; }
.lhrm p { line-height: 1.7; }
.lhrm a { text-underline-offset: .18em; }
.lhrm a:focus-visible, .lhrm summary:focus-visible, .lhrm .lhrm-btn:focus-visible {
    outline: 3px solid var(--lhrm-gold);
    outline-offset: 3px;
}

.lhrm-eyebrow {
    display: inline-flex; align-items: center; gap: .6rem;
    font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
    color: var(--lhrm-teal);
    margin-bottom: 1rem;
}
.lhrm-eyebrow::before { content: ""; width: 2rem; height: 2px; background: var(--lhrm-gold); }
.lhrm-lead { font-size: 1.08rem; color: var(--lhrm-muted); max-width: 46rem; }
.lhrm-head { margin-bottom: clamp(1.8rem, 4vw, 3rem); max-width: 48rem; }
.lhrm-head .lhrm-lead { margin-top: .9rem; }

/* ---------- Buttons ---------- */
.lhrm-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .85rem 1.4rem; border-radius: 10px; font-weight: 600; font-size: .98rem;
    text-decoration: none; border: 1.5px solid transparent; line-height: 1.2;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.lhrm-btn--gold { background: var(--lhrm-gold); color: var(--lhrm-deep); }
.lhrm-btn--gold:hover { background: #d6b04a; color: var(--lhrm-deep); transform: translateY(-1px); }
.lhrm-btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.lhrm-btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.lhrm-btn--teal { background: var(--lhrm-teal); color: #fff; }
.lhrm-btn--teal:hover { background: var(--lhrm-teal-dark); color: #fff; }
.lhrm-btn--line { border-color: var(--lhrm-teal); color: var(--lhrm-teal); }
.lhrm-btn--line:hover { background: var(--lhrm-teal); color: #fff; }

/* ---------- Hero ---------- */
.lhrm-hero {
    position: relative; overflow: hidden; color: #e8f1f1;
    background:
        radial-gradient(60rem 30rem at 85% -10%, rgba(201, 162, 59, .18), transparent 60%),
        linear-gradient(160deg, var(--lhrm-teal-dark) 0%, var(--lhrm-deep) 100%);
    padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5.5rem);
}
.lhrm-hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.lhrm-hero .lhrm-wrap { position: relative; }
.lhrm-crumbs { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 clamp(1.5rem, 4vw, 2.5rem); font-size: .85rem; }
.lhrm-crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.lhrm-crumbs a { color: #bcd3d3; text-decoration: none; }
.lhrm-crumbs a:hover { color: #fff; text-decoration: underline; }
.lhrm-crumbs [aria-current] { color: #fff; }

.lhrm-hero-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 992px) { .lhrm-hero-grid { grid-template-columns: 1.05fr .95fr; } }

.lhrm-hero .lhrm-eyebrow { color: var(--lhrm-gold); }
.lhrm-hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.5rem); line-height: 1.08; font-weight: 700; }
.lhrm-hero h1 em { font-style: normal; color: var(--lhrm-gold); }
.lhrm-hero .lhrm-lead { color: #c5dada; margin-top: 1.25rem; font-size: 1.12rem; }
.lhrm-cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.lhrm-facts { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .55rem; font-size: .95rem; color: #c5dada; }
.lhrm-facts li { display: flex; gap: .6rem; align-items: baseline; }
.lhrm-facts li::before { content: ""; flex: none; width: .5rem; height: .5rem; border-radius: 50%; background: var(--lhrm-gold); transform: translateY(-.05rem); }

/* Ilustrasi siklus karyawan (dekoratif, tanpa angka) */
.lhrm-cycle {
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px; padding: 1.2rem;
}
.lhrm-cycle-bar { display: flex; align-items: center; gap: .4rem; margin-bottom: 1rem; }
.lhrm-cycle-bar span { width: .6rem; height: .6rem; border-radius: 50%; background: rgba(255, 255, 255, .28); }
.lhrm-cycle-bar b { margin-left: auto; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #9fbcbc; }
.lhrm-cycle ol { list-style: none; margin: 0; padding: 0 0 0 1.4rem; position: relative; display: grid; gap: .6rem; }
.lhrm-cycle ol::before { content: ""; position: absolute; left: .42rem; top: .9rem; bottom: .9rem; width: 2px; background: rgba(255, 255, 255, .25); }
.lhrm-cycle li {
    position: relative; padding: .6rem .8rem; border-radius: 10px; font-size: .88rem; color: #e8f1f1;
    background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .12);
}
.lhrm-cycle li::before {
    content: ""; position: absolute; left: -1.3rem; top: 50%; width: .7rem; height: .7rem; margin-top: -.35rem; border-radius: 50%;
    background: var(--lhrm-teal-dark); border: 2px solid var(--lhrm-gold);
}
.lhrm-cycle li small { display: block; color: #9fbcbc; font-size: .74rem; margin-top: .1rem; }
.lhrm-cycle-note { margin: .9rem 0 0; font-size: .74rem; color: #9fbcbc; }

/* ---------- Definisi + masalah ---------- */
.lhrm-split { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1fr; }
@media (min-width: 992px) { .lhrm-split { grid-template-columns: 1.1fr .9fr; align-items: start; } }
.lhrm-answer {
    border-left: 4px solid var(--lhrm-gold); background: #fff; padding: 1.2rem 1.4rem;
    border-radius: 0 12px 12px 0; box-shadow: 0 8px 28px rgba(0, 80, 81, .07);
    font-size: 1.05rem; margin: 1.4rem 0 0;
}
.lhrm-problems { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: lhrm-p; }
.lhrm-problems li {
    counter-increment: lhrm-p; position: relative; padding: 1.1rem 1.2rem 1.1rem 4rem;
    background: #fff; border: 1px solid var(--lhrm-line); border-radius: 12px;
}
.lhrm-problems li::before {
    content: counter(lhrm-p, decimal-leading-zero); position: absolute; left: 1.2rem; top: 1rem;
    font: 700 1.5rem/1 var(--lhrm-serif); color: var(--lhrm-gold-dark);
}
.lhrm-problems strong { display: block; margin-bottom: .2rem; }
.lhrm-problems p { margin: 0; color: var(--lhrm-muted); font-size: .96rem; }

/* ---------- Fitur ---------- */
.lhrm-features { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.lhrm-feature { background: #fff; border: 1px solid var(--lhrm-line); border-top: 3px solid var(--lhrm-teal); border-radius: 4px 4px 14px 14px; padding: 1.5rem 1.4rem 1.6rem; }
.lhrm-feature-no { font-size: .8rem; font-weight: 700; line-height: 1; letter-spacing: .1em; color: var(--lhrm-gold-dark); margin-bottom: .8rem; display: block; }
.lhrm-feature h3 { margin-bottom: .55rem; }
.lhrm-feature p { margin: 0; color: var(--lhrm-muted); font-size: .96rem; }

/* ---------- Langkah ---------- */
.lhrm-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; grid-template-columns: 1fr; counter-reset: lhrm-s; }
@media (min-width: 768px) { .lhrm-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; } }
.lhrm-steps li { counter-increment: lhrm-s; position: relative; padding-top: 3.2rem; }
.lhrm-steps li::before {
    content: counter(lhrm-s); position: absolute; top: 0; left: 0; width: 2.4rem; height: 2.4rem; display: grid; place-items: center;
    border-radius: 50%; background: var(--lhrm-teal); color: #fff; font: 700 1.05rem/1 var(--lhrm-serif);
}
@media (min-width: 768px) {
    .lhrm-steps li::after { content: ""; position: absolute; top: 1.2rem; left: 3rem; right: -.4rem; height: 1px; background: var(--lhrm-line); }
    .lhrm-steps li:last-child::after { display: none; }
}
.lhrm-steps h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.lhrm-steps p { margin: 0; font-size: .92rem; color: var(--lhrm-muted); line-height: 1.6; }

/* ---------- Tabel perbandingan ---------- */
.lhrm-table-wrap { overflow-x: auto; border: 1px solid var(--lhrm-line); border-radius: 14px; background: #fff; }
.lhrm-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .95rem; }
.lhrm-table caption { text-align: left; padding: 1rem 1.2rem; color: var(--lhrm-muted); font-size: .9rem; caption-side: bottom; }
.lhrm-table th, .lhrm-table td { padding: .95rem 1.2rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--lhrm-line); }
.lhrm-table thead th { background: var(--lhrm-teal); color: #fff; font-weight: 600; border-bottom: 0; }
.lhrm-table tbody th { font-weight: 600; width: 22%; color: var(--lhrm-ink); }
.lhrm-table td { color: var(--lhrm-muted); }
.lhrm-table tbody tr:last-child > * { border-bottom: 0; }

/* ---------- Integrasi ---------- */
.lhrm-links { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.lhrm-link-card {
    display: flex; flex-direction: column; gap: .5rem; text-decoration: none; color: inherit;
    background: #fff; border: 1px solid var(--lhrm-line); border-radius: 14px; padding: 1.3rem 1.3rem 1.4rem;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.lhrm-link-card:hover { border-color: var(--lhrm-teal); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 80, 81, .1); color: inherit; }
.lhrm-link-card h3 { font-size: 1.1rem; }
.lhrm-link-card p { margin: 0; color: var(--lhrm-muted); font-size: .93rem; line-height: 1.6; }
.lhrm-link-card span { margin-top: auto; padding-top: .4rem; color: var(--lhrm-teal); font-weight: 600; font-size: .9rem; }

.lhrm-reading { margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--lhrm-line); }
.lhrm-reading h3 { font-size: 1rem; margin-bottom: .8rem; font-family: inherit; text-transform: uppercase; letter-spacing: .08em; color: var(--lhrm-muted); }
.lhrm-reading ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.lhrm-reading a { color: var(--lhrm-teal); font-weight: 500; }

/* ---------- FAQ ---------- */
.lhrm-faq { display: grid; gap: .75rem; max-width: 52rem; }
.lhrm-faq details { background: #fff; border: 1px solid var(--lhrm-line); border-radius: 12px; padding: 0 1.2rem; }
.lhrm-faq details[open] { border-color: var(--lhrm-teal); box-shadow: 0 8px 24px rgba(0, 80, 81, .07); }
.lhrm-faq summary { cursor: pointer; list-style: none; padding: 1.05rem 0; font-weight: 600; display: flex; gap: 1rem; justify-content: space-between; align-items: center; }
.lhrm-faq summary::-webkit-details-marker { display: none; }
.lhrm-faq summary::after { content: "+"; flex: none; font: 400 1.5rem/1 var(--lhrm-serif); color: var(--lhrm-gold-dark); }
.lhrm-faq details[open] summary::after { content: "\2212"; }
.lhrm-faq details > div { padding: 0 0 1.2rem; color: var(--lhrm-muted); }
.lhrm-faq details > div p { margin: 0 0 .7rem; }
.lhrm-faq details > div p:last-child { margin-bottom: 0; }

/* ---------- CTA akhir ---------- */
.lhrm-final {
    background: linear-gradient(160deg, var(--lhrm-teal-dark), var(--lhrm-deep)); color: #d3e4e4;
    border-radius: 22px; padding: clamp(2rem, 5vw, 3.5rem); position: relative; overflow: hidden;
}
.lhrm-final::after { content: ""; position: absolute; right: -4rem; top: -4rem; width: 16rem; height: 16rem; border-radius: 50%; border: 2px solid rgba(201, 162, 59, .35); }
.lhrm-final h2 { color: #fff; max-width: 38rem; }
.lhrm-final p { max-width: 40rem; margin: 1rem 0 0; }
.lhrm-final .lhrm-cta-row { position: relative; z-index: 1; }
.lhrm-final small { display: block; margin-top: 1.4rem; color: #9fbcbc; }
.lhrm-final small a { color: #d3e4e4; }
