/* Optimark ERP (/erp). Layers on top of home.css: header, CTA, FAQ, footer and sheet come from Home;
   this file only adds the ERP-only sections (prefix erp-) and undoes the Home-only section overlaps. */

/* Current page in the nav, the bottom sheet and the footer */
.nv-link[aria-current="page"], .sh-row[aria-current="page"], .mx-fl[aria-current="page"] { color: var(--text-primary); }

/* Anchor targets (sections, module cells, the consultation row) land below the 64px sticky bar */
/* anchors and sticky blocks sit below the sticky header (64px, 56px on phones) */
:root { --erp-hdr: 64px; }
@media (max-width: 640px) { :root { --erp-hdr: 56px; } }
section[id], .erp-mod[id], #konsultasi { scroll-margin-top: calc(var(--erp-hdr) + var(--spacing-2xl)); }

/* Content frame: the same 96px section inset and 1200px of content as Home's Solusi, Modul, Cara Kerja, CTA and FAQ (Home sets it per section id, so the ERP-only ids repeat it) */
@media (min-width: 1025px) {
  #masalah, #banding, #modul, #kontrol, #mulai { padding-inline: var(--spacing-11xl); }
  #masalah > .mx-wrap, #banding > .mx-wrap, #modul > .mx-wrap, #kontrol > .mx-wrap, #mulai > .mx-wrap { width: 100%; max-width: 1248px; padding-inline: var(--spacing-4xl); box-sizing: border-box; }
}

/* ---------- Hero: the Home component in the ERP colour ----------
   Markup and layout come from home.css (.hv, .hv-card, .hv-photo, .hv-floats, .hv-strip); this block only swaps the emerald and lime parts for the ERP brand ramp. */
.hv[data-brand="erp"]::before { background:
  radial-gradient(55% 60% at 88% 4%, color-mix(in srgb, var(--brand-500) 11%, transparent), transparent 72%),
  radial-gradient(50% 55% at 6% 10%, color-mix(in srgb, var(--brand-300) 9%, transparent), transparent 72%),
  radial-gradient(60% 30% at 50% 72%, color-mix(in srgb, var(--brand-500) 6%, transparent), transparent 100%),
  radial-gradient(45% 28% at 96% 70%, color-mix(in srgb, var(--brand-400) 6%, transparent), transparent 100%); }
.hv[data-brand="erp"]::after { background: var(--brand-600); opacity: .16; }
.hv[data-brand="erp"] .hv-card { background:
  radial-gradient(60% 80% at 4% 108%, color-mix(in srgb, var(--brand-500) 28%, transparent) 0%, color-mix(in srgb, var(--brand-500) 22%, transparent) 15%, color-mix(in srgb, var(--brand-500) 14%, transparent) 32%, color-mix(in srgb, var(--brand-500) 7%, transparent) 50%, color-mix(in srgb, var(--brand-500) 2.5%, transparent) 70%, transparent 100%),
  var(--brand-900); }
.hv[data-brand="erp"] .hv-accent { color: var(--brand-500); }   /* ERP brand red on the maroon card: headline is large text (44px+, bold), so the 3:1 large-text threshold applies */
/* the semantic border/bg brand tokens resolve at :root (lime), so the strip ring is set from the ERP ramp directly */
.hv[data-brand="erp"] .hv-strip { border-color: var(--brand-500); background: color-mix(in srgb, var(--brand-500) 12%, var(--bg-primary)); }
.hv[data-brand="erp"] .hv-float { background: color-mix(in srgb, var(--brand-950) 60%, transparent); }

/* Hero photo (option A, regenerated near-square: formal, seated, laptop): fills the Home photo frame, an eased fade into the card instead of Home's
   three-stop fade, and a red wash so the photo sits in the ERP card colour */
.hv[data-brand="erp"] .hv-photo img { object-position: 50% 100%; }   /* near-square photo: fills the frame, desk edge on the card bottom */
.hv[data-brand="erp"] .hv-photo::before, .hv[data-brand="erp"] .hv-photo::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hv[data-brand="erp"] .hv-photo::before { background: color-mix(in srgb, var(--brand-600) 16%, transparent); mix-blend-mode: multiply; }
.hv[data-brand="erp"] .hv-photo::after { background: radial-gradient(90% 110% at 0% 55%, color-mix(in srgb, var(--brand-500) 42%, transparent), transparent 68%), linear-gradient(180deg, transparent 45%, color-mix(in srgb, var(--brand-700) 34%, transparent)); mix-blend-mode: soft-light; }
@media (min-width: 1025px) {
  .hv[data-brand="erp"] .hv-photo { -webkit-mask-image: linear-gradient(90deg, transparent 0, rgb(0 0 0 / .05) 5%, rgb(0 0 0 / .14) 10%, rgb(0 0 0 / .3) 16%, rgb(0 0 0 / .52) 22%, rgb(0 0 0 / .74) 28%, rgb(0 0 0 / .9) 34%, #000 40%); mask-image: linear-gradient(90deg, transparent 0, rgb(0 0 0 / .05) 5%, rgb(0 0 0 / .14) 10%, rgb(0 0 0 / .3) 16%, rgb(0 0 0 / .52) 22%, rgb(0 0 0 / .74) 28%, rgb(0 0 0 / .9) 34%, #000 40%); }
}
@media (max-width: 1024px) {
  .hv[data-brand="erp"] .hv-photo img { object-position: 50% 22%; }   /* stacked: a short wide frame, so crop from the top third to keep the face and the laptop */
  .hv[data-brand="erp"] .hv-photo { -webkit-mask-image: linear-gradient(180deg, transparent 0, rgb(0 0 0 / 0.028) 5.6%, rgb(0 0 0 / 0.104) 11.2%, rgb(0 0 0 / 0.216) 16.8%, rgb(0 0 0 / 0.352) 22.4%, rgb(0 0 0 / 0.500) 28.0%, rgb(0 0 0 / 0.648) 33.6%, rgb(0 0 0 / 0.784) 39.2%, rgb(0 0 0 / 0.896) 44.8%, rgb(0 0 0 / 0.972) 50.4%, #000 56%); mask-image: linear-gradient(180deg, transparent 0, rgb(0 0 0 / 0.028) 5.6%, rgb(0 0 0 / 0.104) 11.2%, rgb(0 0 0 / 0.216) 16.8%, rgb(0 0 0 / 0.352) 22.4%, rgb(0 0 0 / 0.500) 28.0%, rgb(0 0 0 / 0.648) 33.6%, rgb(0 0 0 / 0.784) 39.2%, rgb(0 0 0 / 0.896) 44.8%, rgb(0 0 0 / 0.972) 50.4%, #000 56%); }
}
@container (min-width: 1140px) {
  .hv[data-brand="erp"] .hv-photo { width: clamp(300px, 100cqi - 663px, 520px); }
  .hv[data-brand="erp"] .hv-floats { --pw: clamp(300px, 100cqi - 663px, 520px); }
}

/* ---------- Floating card: cross-module automation (CSS loop; the finished state is the default, so reduced motion shows all three rows) ---------- */
.hv[data-brand="erp"] .hv-float-c { top: auto; left: auto; right: var(--spacing-3xl); bottom: var(--spacing-3xl); width: 252px; }   /* bottom-right corner of the hero card */
/* Tablet (stacked card): like Home, both cards stack down the left of the photo so the face and laptop stay clear (the desktop bottom-right spot would sit on the man) */
@media (min-width: 641px) and (max-width: 1024px) {
  /* Tablet uses the widened photo (erp-hero-photo-wide.jpg, 21:9, outpainted from the square original) so the 350px frame shows the whole desk and laptop instead of a face-and-shoulders crop. The two cards stack down the left, on the wall and plant side, clear of the man and the laptop (Home's tablet pattern) */
  .hv[data-brand="erp"] .hv-photo img { object-fit: cover; object-position: 75% 50%; }
  .hv[data-brand="erp"] .hv-photo { -webkit-mask-image: linear-gradient(180deg, transparent 0, rgb(0 0 0 / 0.028) 4.0%, rgb(0 0 0 / 0.104) 8.0%, rgb(0 0 0 / 0.216) 12.0%, rgb(0 0 0 / 0.352) 16.0%, rgb(0 0 0 / 0.500) 20.0%, rgb(0 0 0 / 0.648) 24.0%, rgb(0 0 0 / 0.784) 28.0%, rgb(0 0 0 / 0.896) 32.0%, rgb(0 0 0 / 0.972) 36.0%, #000 40%); mask-image: linear-gradient(180deg, transparent 0, rgb(0 0 0 / 0.028) 4.0%, rgb(0 0 0 / 0.104) 8.0%, rgb(0 0 0 / 0.216) 12.0%, rgb(0 0 0 / 0.352) 16.0%, rgb(0 0 0 / 0.500) 20.0%, rgb(0 0 0 / 0.648) 24.0%, rgb(0 0 0 / 0.784) 28.0%, rgb(0 0 0 / 0.896) 32.0%, rgb(0 0 0 / 0.972) 36.0%, #000 40%); }   /* shorter top fade: the face sits high in the photo */
  .hv[data-brand="erp"] .hv-floats { --hv-ch: 164px; --hv-ah: 104px; --hv-wc: 224px; }   /* the ERP cards' finished heights (Home's defaults are 130 / 124) */
  .hv[data-brand="erp"] .hv-float-c { top: calc(100% - 36px - var(--hv-ch)); right: auto; bottom: auto; left: calc(var(--spacing-sm) + var(--spacing-4xl)); width: var(--hv-wc); }
  .hv[data-brand="erp"] .hv-float-a { top: calc(100% - 36px - var(--hv-ch) - var(--hv-ah) - var(--spacing-sm)); width: var(--hv-wc); }
}
.erp-auto-l { display: grid; gap: var(--spacing-sm); margin: var(--spacing-md) 0 0; padding: 0; list-style: none; }
.erp-auto-l li { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; align-items: center; gap: var(--spacing-md); padding-top: var(--spacing-sm); border-top: 1px solid var(--alpha-white-20); font-size: 11px; line-height: 16px; }
.erp-auto-l span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.erp-auto-l em { padding: 0 var(--spacing-md); border-radius: var(--radius-full); background: var(--alpha-white-20); font-size: 10px; line-height: 15px; font-style: normal; font-weight: 500; }
.erp-auto-ck { position: relative; display: block; width: 16px; height: 16px; border-radius: 50%; background: var(--utility-success-500); }
.erp-auto-ck::after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 8px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: translate(-50%, -62%) rotate(45deg); }
.erp-auto-s { margin: var(--spacing-md) 0 0; padding-top: var(--spacing-sm); border-top: 1px solid var(--alpha-white-20); font-size: 10px; line-height: 15px; font-weight: 500; color: var(--alpha-white-70); }
@media (prefers-reduced-motion: no-preference) {
  .erp-auto-l li, .erp-auto-s { animation: 9s infinite both; animation-timing-function: var(--x-ease-out); }
  .erp-auto-l li:nth-child(1) { animation-name: erp-r1; }
  .erp-auto-l li:nth-child(2) { animation-name: erp-r2; }
  .erp-auto-l li:nth-child(3) { animation-name: erp-r3; }
  .erp-auto-s { animation-name: erp-r4; }
  .erp-auto-l li:nth-child(1) .erp-auto-ck { animation: erp-pop1 9s infinite both; }
  .erp-auto-l li:nth-child(2) .erp-auto-ck { animation: erp-pop2 9s infinite both; }
  .erp-auto-l li:nth-child(3) .erp-auto-ck { animation: erp-pop3 9s infinite both; }
  html.mx-paused .erp-auto-l li, html.mx-paused .erp-auto-s, html.mx-paused .erp-auto-ck { animation-play-state: paused; }
}
@keyframes erp-r1 { 0%, 4% { opacity: 0; translate: 0 6px; } 10%, 92% { opacity: 1; translate: 0 0; } 98%, 100% { opacity: 0; translate: 0 0; } }
@keyframes erp-r2 { 0%, 22% { opacity: 0; translate: 0 6px; } 28%, 92% { opacity: 1; translate: 0 0; } 98%, 100% { opacity: 0; translate: 0 0; } }
@keyframes erp-r3 { 0%, 40% { opacity: 0; translate: 0 6px; } 46%, 92% { opacity: 1; translate: 0 0; } 98%, 100% { opacity: 0; translate: 0 0; } }
@keyframes erp-r4 { 0%, 58% { opacity: 0; } 64%, 92% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes erp-pop1 { 0%, 8% { scale: 0; } 14%, 100% { scale: 1; } }
@keyframes erp-pop2 { 0%, 26% { scale: 0; } 32%, 100% { scale: 1; } }
@keyframes erp-pop3 { 0%, 44% { scale: 0; } 50%, 100% { scale: 1; } }

/* ---------- Industry band: the Home rail (home.css .ind-sec) in the ERP colour ----------
   Same overlap as Home's Solusi / Modul pair: the section before gets rounded bottom corners, the section after rounded top corners, and the band slides up behind both. */
#kontrol { --kr: var(--radius-4xl); position: relative; z-index: 1; overflow: clip; border-radius: 0 0 var(--kr) var(--kr); background: var(--bg-primary); }
#mulai { padding-top: var(--x-sec); }   /* the rounded top and the white background belong to .erp-close, which wraps Cara mulai and the demo CTA */
.erp-close { --cl-r: var(--radius-4xl); position: relative; z-index: 2; margin-top: calc(var(--cl-r) * -1); border-radius: var(--cl-r) var(--cl-r) 0 0; background: var(--bg-primary); }
@media (max-width: 640px) { #kontrol { --kr: var(--radius-2xl); } .erp-close { --cl-r: var(--radius-2xl); } }
.ind-sec[data-brand="erp"] { background: var(--brand-900); }
.ind-sec[data-brand="erp"] .ind { --notch-bg: var(--bg-primary); background:
  radial-gradient(60% 80% at 4% 108%, color-mix(in srgb, var(--brand-500) 28%, transparent) 0%, color-mix(in srgb, var(--brand-500) 22%, transparent) 15%, color-mix(in srgb, var(--brand-500) 14%, transparent) 32%, color-mix(in srgb, var(--brand-500) 7%, transparent) 50%, color-mix(in srgb, var(--brand-500) 2.5%, transparent) 70%, transparent 100%),
  linear-gradient(180deg, var(--brand-900), var(--brand-800)); }
.ind-sec[data-brand="erp"] .ind-card { background: var(--brand-900); }
.ind-sec[data-brand="erp"] .ind-feat-l { color: var(--brand-200); }

/* ---------- Section heads ---------- */
.erp-head { display: grid; justify-items: start; gap: var(--spacing-2xl); max-width: 720px; margin-bottom: var(--spacing-6xl); }
.erp-head-c { justify-items: center; margin-inline: auto; text-align: center; }
.erp-h2 { margin: 0; font-size: 40px; line-height: 48px; font-weight: 600; letter-spacing: -0.02em; color: var(--text-primary); text-wrap: balance; }
.erp-sub-p { margin: 0; font-size: 16px; line-height: 24px; letter-spacing: -0.011em; color: var(--text-secondary); text-wrap: pretty; }
.i-q-shopping-cart-02 { --ic: url(../assets/icons/untitled-ui/shopping-cart-02.svg); }
.i-q-file-search-02 { --ic: url(../assets/icons/untitled-ui/file-search-02.svg); }

/* Module chip: a small link pill to a module's card on this page */
.erp-mchip { display: inline-flex; align-items: center; gap: var(--spacing-xs); min-height: 28px; padding: 0 var(--spacing-lg) 0 var(--spacing-md); border-radius: var(--radius-full); font-size: 13px; line-height: 18px; font-weight: 500; color: var(--text-secondary); text-decoration: none; white-space: nowrap; background: var(--bg-primary); box-shadow: inset 0 0 0 1px var(--border-secondary); transition: background-color var(--x-fast) var(--x-ease), color var(--x-fast) var(--x-ease); }
.erp-mchip .ic { width: 14px; height: 14px; color: var(--brand-600); }
.erp-mchip:hover { background: var(--brand-25); color: var(--text-primary); }
.erp-mchip:focus-visible { outline: var(--stroke-2) solid var(--x-ring); outline-offset: 2px; }

/* ---------- 3. Transaction flow ---------- */

/* ---------- 4. Modules by category ---------- */
.erp-cats { display: grid; }
.erp-cat-n {
  display: inline-flex; align-items: center; height: 24px; padding: var(--spacing-xs) var(--spacing-sm); border-radius: var(--radius-4xl);
  border: 1px solid var(--alpha-black-10); color: var(--text-primary); white-space: nowrap; font-size: 14px; line-height: 20px; font-weight: 400; letter-spacing: -0.006em;
  background: linear-gradient(180deg, color-mix(in srgb, var(--color-gray-light-950) 6%, transparent), color-mix(in srgb, var(--color-gray-light-950) 1%, transparent));
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.erp-cat-head h3 { margin: var(--spacing-xs) 0 0; font-size: 28px; line-height: 36px; font-weight: 600; letter-spacing: -0.02em; color: var(--text-primary); }
.erp-cat-head p { margin: 0; font-size: 16px; line-height: 24px; letter-spacing: -0.011em; color: var(--text-tertiary); }
.erp-mod-top { display: flex; align-items: center; gap: var(--spacing-xl); }
.erp-mod-top h4 { margin: 0; font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.015em; color: var(--text-primary); }
/* ---------- 4. Modules: bento cards with a mockup preview. The outline is the "1.000 token" CTA one (brand-tinted ring + brand border) in ERP red ---------- */
.erp-cats { display: grid; }
.erp-cat { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: var(--spacing-5xl); padding-block: var(--spacing-6xl); border-top: 1px solid var(--utility-gray-200); }
.erp-cat:last-child { padding-bottom: 0; }
.erp-cat-head { align-self: start; position: sticky; top: calc(var(--erp-hdr) + var(--spacing-3xl)); display: grid; justify-items: start; gap: var(--spacing-md); }
.erp-mods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--spacing-2xl); margin: 0; padding: 0; list-style: none; }
.erp-mod { display: flex; padding: var(--spacing-sm); border: 1px solid var(--brand-500); border-radius: 28px; background: color-mix(in srgb, var(--brand-500) 12%, transparent); transition: transform var(--x-mid) var(--x-ease-out); }
.erp-mods > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
/* the card that spans the row: text left, preview right */
.erp-mods > li:last-child:nth-child(odd) .erp-mod-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "top pv" "d pv" "pts pv"; column-gap: var(--spacing-3xl); align-content: center; }
.erp-mods > li:last-child:nth-child(odd) .erp-pv { grid-area: pv; height: 100%; min-height: 220px; }
.erp-mods > li:last-child:nth-child(odd) .erp-mod-top { grid-area: top; align-self: end; }
.erp-mods > li:last-child:nth-child(odd) .erp-mod-d { grid-area: d; }
.erp-mods > li:last-child:nth-child(odd) .erp-mod-pts { grid-area: pts; align-self: start; }
.erp-mod:hover { transform: translateY(-3px); }
.erp-mod:target { box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-500) 30%, transparent); }
.erp-mod-in { display: grid; align-content: start; flex: 1 1 0; gap: var(--spacing-xl); min-width: 0; padding: var(--spacing-2xl); border-radius: var(--radius-4xl); background: var(--bg-primary); box-shadow: var(--x-shadow-xs); }
.erp-mod-top { display: flex; align-items: center; gap: var(--spacing-lg); margin-top: var(--spacing-md); }
.erp-mod-top img { display: block; flex: none; width: 32px; height: 32px; }

/* Preview box: a small product mockup on a gray field, as on Talenta's feature cards (demo data, decorative) */
.erp-pv { container-type: inline-size; position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; height: 200px; padding: var(--spacing-3xl) var(--spacing-2xl); overflow: hidden; border-radius: var(--radius-2xl); background: linear-gradient(180deg, var(--utility-gray-50), var(--utility-gray-100)); box-shadow: inset 0 0 0 1px var(--utility-gray-200); font-size: 11px; line-height: 16px; letter-spacing: -0.003em; color: var(--text-primary); }
.erp-pv::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 90% 0%, color-mix(in srgb, var(--brand-500) 14%, transparent), transparent 70%); }
.pv-card { display: grid; gap: 8px; flex: none; width: 300px; max-width: none; justify-self: center; transform-origin: 50% 50%; padding: 12px; border-radius: 12px; background: var(--bg-primary); box-shadow: inset 0 0 0 1px var(--utility-gray-200), 0 6px 14px -6px rgb(16 24 40 / .14); }
.pv-r { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pv-r b { font-weight: 600; white-space: nowrap; }
.pv-r > span:not([class]), .pv-mut { color: var(--text-tertiary); }
.pv-r .pv-mut:not(.pv-r), .pv-r > .pv-amt, .pv-r > .pv-chip:last-child, .pv-r > .pv-av:last-child { margin-left: auto; }
.pv-r > b + .pv-mut { margin-right: auto; margin-left: 0; }
.pv-r > b + .pv-mut:last-child { margin-left: auto; margin-right: 0; }   /* a muted text with nothing after it sits at the card's right edge (POS, Purchasing, Financial Reports) */
.pv-mut { color: var(--text-tertiary); white-space: nowrap; }
.pv-amt { font-weight: 600; white-space: nowrap; }
.pv-tot { color: var(--brand-700); }
.pv-av { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-100); font-size: 10px; font-weight: 600; color: var(--brand-700); }
.pv-chip { flex: none; padding: 0 8px; border-radius: var(--radius-full); background: var(--brand-50); font-size: 10px; line-height: 16px; font-weight: 600; color: var(--brand-700); white-space: nowrap; }
.pv-chip.ok { background: var(--utility-success-50); color: var(--utility-success-700); }
.pv-chip.warn { background: var(--utility-warning-50); color: var(--utility-warning-700); }
.pv-sep { height: 1px; background: var(--utility-gray-200); }
.pv-steps, .pv-tl { display: flex; gap: 4px; }
.pv-steps i, .pv-tl i { flex: 1 1 0; padding: 3px 0; border-radius: 6px; background: var(--utility-gray-100); font-style: normal; font-size: 10px; line-height: 14px; text-align: center; color: var(--text-tertiary); }
.pv-steps i.on, .pv-tl i.on { background: var(--brand-600); color: var(--text-white); font-weight: 600; }
.pv-bar { height: 6px; border-radius: var(--radius-full); background: var(--utility-gray-100); }
.pv-bar i { display: block; width: var(--w); height: 100%; border-radius: inherit; background: var(--brand-500); }
.pv-btn { margin-left: auto; padding: 2px 14px; border-radius: 6px; background: var(--brand-600); font-weight: 600; color: var(--text-white); }
.pv-ck { position: relative; flex: none; width: 14px; height: 14px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--utility-gray-300); }
.pv-ck::after { content: ""; position: absolute; left: 50%; top: 50%; width: 3.5px; height: 7px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: translate(-50%, -62%) rotate(45deg); opacity: 0; }
.pv-ck.on { background: var(--brand-600); box-shadow: none; }
.pv-ck.on::after { opacity: 1; }
.pv-fi { flex: none; width: 14px; height: 14px; color: var(--brand-600); }
.pv-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 8px; padding-top: 6px; border-top: 1px solid var(--utility-gray-100); }
.pv-grid span:nth-child(n+2) { text-align: right; }
.pv-hd { border-top: 0; padding-top: 0; font-weight: 600; color: var(--text-tertiary); }
.pv-bars { display: flex; align-items: flex-end; gap: 8px; height: 76px; }
.pv-bars i { flex: 1 1 0; height: var(--h); border-radius: 4px 4px 0 0; background: var(--brand-200); }
.pv-bars i.on { background: var(--brand-600); }
.pv-float { position: absolute; z-index: 2; right: 14px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: var(--radius-lg); background: var(--bg-primary); box-shadow: inset 0 0 0 1px var(--utility-gray-200), 0 6px 14px -6px rgb(16 24 40 / .22); font-size: 10px; line-height: 16px; font-weight: 600; white-space: nowrap; }
.pv-float .ic { width: 12px; height: 12px; color: var(--brand-600); }
@media (prefers-reduced-motion: no-preference) { .pv-float { animation: erp-bob 6s ease-in-out infinite; } }
@media (prefers-reduced-motion: reduce) { .erp-mod { transition: none; } .erp-mod:hover { transform: none; } }

.erp-mod-d { margin: 0; font-size: 16px; line-height: 24px; letter-spacing: -0.011em; color: var(--text-secondary); text-wrap: pretty; }
.erp-mod-pts { display: grid; gap: var(--spacing-md); margin: 0; padding: 0; list-style: none; }
.erp-mod-pts li { display: flex; align-items: flex-start; gap: var(--spacing-md); font-size: 14px; line-height: 20px; letter-spacing: -0.006em; color: var(--text-primary); }
.erp-mod-pts .ic { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--brand-600); }

/* ---------- 7. How to start ---------- */
.erp-start { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--spacing-9xl); align-items: start; }
.erp-start-l { position: sticky; top: calc(var(--erp-hdr) + var(--spacing-3xl)); }
.erp-tl { position: relative; display: grid; gap: var(--spacing-4xl); margin: 0; padding: var(--spacing-md) 0 0; list-style: none; transition: opacity .4s var(--x-ease); }
.erp-tl.is-fade { opacity: 0; }
.erp-tl.is-reset, .erp-tl.is-reset * { transition: none !important; }
.erp-tl li { position: relative; display: flex; gap: var(--spacing-3xl); }
/* dashed connector between one dot and the next: a faint track, and the brand-coloured line that draws over it */
.erp-tl li:not(:last-child)::before, .erp-tl li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 36px; bottom: calc(var(--spacing-4xl) * -1 + 4px); width: 2px; background: repeating-linear-gradient(to bottom, var(--brand-400) 0 6px, transparent 6px 12px); }
.erp-tl li:not(:last-child)::before { opacity: .3; }
.erp-tl li:not(:last-child)::after { clip-path: inset(0 0 100% 0); }
.erp-tl.is-run li:not(:last-child)::after { clip-path: inset(0); transition: clip-path var(--seg, .9s) linear var(--ld, 0s); }
/* dot: glass like the section badge (light gradient, hairline border, blur) over a white underlay so the dashed line never shows through; the number turns brand colour once the line has arrived */
.erp-tl-n { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--alpha-black-10); border-radius: var(--radius-full); font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text-quaternary); background: linear-gradient(180deg, color-mix(in srgb, var(--color-gray-light-950) 6%, transparent), color-mix(in srgb, var(--color-gray-light-950) 1%, transparent)), var(--bg-primary); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: color .4s var(--x-ease) var(--ld, 0s), border-color .4s var(--x-ease) var(--ld, 0s), background-color .4s var(--x-ease) var(--ld, 0s); }
.erp-tl.is-run .erp-tl-n { color: var(--brand-800); border-color: color-mix(in srgb, var(--brand-500) 35%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--brand-500) 12%, transparent), color-mix(in srgb, var(--brand-500) 3%, transparent)), var(--bg-primary); }
.erp-tl li > div { opacity: .4; transition: opacity .5s var(--x-ease) var(--ld, 0s); }
.erp-tl.is-run li > div { opacity: 1; }
.erp-tl h3 { margin: 4px 0 var(--spacing-xs); font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.015em; color: var(--text-primary); }
.erp-tl p { margin: 0; font-size: 16px; line-height: 24px; letter-spacing: -0.011em; color: var(--text-secondary); text-wrap: pretty; }
@media (prefers-reduced-motion: reduce) { .erp-tl li:not(:last-child)::after { clip-path: inset(0); } .erp-tl li > div { opacity: 1; } .erp-tl-n { color: var(--brand-800); } }

/* ---------- Ambient background and glass (same recipe as the Home hero and CTA) ----------
   .erp-bg sits behind a section's content: soft ERP-red glows over white plus the star-dot tile as a mask, tinted ERP red.
   It carries data-brand="erp" itself so it needs no brand on the section. */
#masalah, #banding, #modul, #kontrol, #mulai { position: relative; isolation: isolate; }
.erp-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.erp-bg::before { content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(55% 60% at var(--ax, 88%) var(--ay, 6%), color-mix(in srgb, var(--brand-500) 11%, transparent), transparent 72%),
    radial-gradient(50% 55% at var(--bx, 6%) var(--by, 20%), color-mix(in srgb, var(--brand-300) 9%, transparent), transparent 72%),
    radial-gradient(60% 30% at 50% 92%, color-mix(in srgb, var(--brand-500) 6%, transparent), transparent 100%); }
.erp-bg::after { content: ""; position: absolute; inset: 0; background: var(--brand-600); opacity: .16;
  -webkit-mask: url(assets/cta-noise.png) 0 0 / var(--x-noise-tile) var(--x-noise-tile); mask: url(assets/cta-noise.png) 0 0 / var(--x-noise-tile) var(--x-noise-tile); }
#masalah.sf-gray { background: var(--bg-primary); }   /* the gray band is replaced by the ambient glows */
#masalah.sf-grain::after { display: none; }
.erp-mchip {
  background: color-mix(in srgb, var(--bg-primary) 58%, transparent);
  -webkit-backdrop-filter: blur(10px) saturate(1.25); backdrop-filter: blur(10px) saturate(1.25);
  box-shadow: inset 0 1px 0 0 var(--alpha-white-60), 0 0 0 1px color-mix(in srgb, var(--utility-gray-300) 55%, transparent);
}
.erp-mchip:hover { background: color-mix(in srgb, var(--bg-primary) 88%, transparent); }

/* ---------- Preview animations ----------
   JS (page script) adds .is-in while a preview is on screen and removes it off screen. Without JS, with reduced motion or off screen the previews show their finished state.
   One shared cycle (9s): rows and chips pop in one after another (animation-delay), bars grow, steps light up, then everything resets and plays again. */
@media (prefers-reduced-motion: no-preference) {
  .js .erp-pv.is-in :is(.pv-card > .pv-r, .pv-card > .pv-grid, .pv-card > .pv-steps, .pv-card > .pv-tl, .pv-float, .pv-r > .pv-chip) { animation: pv-show 9s var(--x-ease-out) infinite both; animation-delay: var(--d, 0s); }
  .js .erp-pv.is-in .pv-bar i { animation: pv-grow 9s var(--x-ease-out) infinite both; animation-delay: var(--d, 1s); }
  .js .erp-pv.is-in .pv-bars i { transform-origin: 50% 100%; animation: pv-rise 9s var(--x-ease-out) infinite both; animation-delay: var(--d, 0s); }
  .js .erp-pv.is-in .pv-steps i, .js .erp-pv.is-in .pv-tl i { animation: pv-on 9s ease infinite both; animation-delay: var(--d, 1s); }
  .js .erp-pv.is-in .pv-ck.on, .js .erp-pv.is-in .pv-ck.on::after { animation: pv-ckon 9s ease infinite both; animation-delay: var(--d, 1s); }
  .js .erp-pv.is-in .pv-ck.on::after { animation-name: pv-ckmark; }
  .js .erp-pv.is-in .pv-btn { animation: pv-pulse 2.2s ease-in-out infinite; }

  /* CRM: lead arrives, moves Prospek > Follow-up > Deal, a support ticket shows up */
  #crm .pv-card > .pv-r:nth-child(2) { --d: 1s; }
  #crm .pv-steps { --d: 1.6s; }
  #crm .pv-steps i:nth-child(1) { --d: 2s; } #crm .pv-steps i:nth-child(2) { --d: 3.6s; } #crm .pv-steps i:nth-child(3) { --d: 5.2s; }
  #crm .pv-float { --d: 6s; }
  /* Sales: order lands, paid, next order waits, payment notice */
  #sales .pv-card > .pv-r:nth-child(1) { --d: .4s; } #sales .pv-card > .pv-r:nth-child(2) { --d: 1.4s; }
  #sales .pv-card > .pv-r:nth-child(4) { --d: 3s; } #sales .pv-card > .pv-r:nth-child(5) { --d: 4s; }
  #sales .pv-float { --d: 2.2s; }
  /* HRIS: check-ins appear one by one, payslip sent */
  #hris .pv-card > .pv-r:nth-child(1) { --d: .4s; } #hris .pv-card > .pv-r:nth-child(2) { --d: 1.4s; } #hris .pv-card > .pv-r:nth-child(3) { --d: 2.4s; }
  #hris .pv-float { --d: 4.5s; }
  /* Inventory: stock bars fill, low-stock flag, stock received */
  #inventory .pv-card > .pv-r:nth-child(3) { --d: 2.4s; } #inventory .pv-card > .pv-r:nth-child(5) { --d: 4.2s; }
  #inventory .pv-bar:nth-child(2) i { --d: .8s; } #inventory .pv-bar:nth-child(4) i { --d: 2.8s; }
  #inventory .pv-float { --d: 5.6s; }
  /* POS: lines are rung up, total, pay */
  #pos .pv-card > .pv-r:nth-child(2) { --d: .6s; } #pos .pv-card > .pv-r:nth-child(3) { --d: 1.4s; }
  #pos .pv-card > .pv-r:nth-child(5) { --d: 2.6s; } #pos .pv-card > .pv-r:nth-child(6) { --d: 3.6s; }
  /* Purchasing: request > approval > order > received, approval notice */
  #purchasing .pv-card > .pv-r:nth-child(2) { --d: .6s; } #purchasing .pv-tl { --d: 1s; }
  #purchasing .pv-tl i:nth-child(1) { --d: 1.4s; } #purchasing .pv-tl i:nth-child(2) { --d: 2.8s; } #purchasing .pv-tl i:nth-child(3) { --d: 4.2s; } #purchasing .pv-tl i:nth-child(4) { --d: 5.6s; }
  #purchasing .pv-float { --d: 2.8s; }
  /* Project: progress grows while tasks get checked, the last one is scheduled */
  #project-management .pv-bar i { --d: 1.2s; }
  #project-management .pv-card > .pv-r:nth-child(3) { --d: .6s; } #project-management .pv-card > .pv-r:nth-child(4) { --d: 1.8s; } #project-management .pv-card > .pv-r:nth-child(5) { --d: 3s; }
  #project-management .pv-card > .pv-r:nth-child(3) .pv-ck { --d: 1.4s; } #project-management .pv-card > .pv-r:nth-child(4) .pv-ck { --d: 2.6s; }
  /* Legal: documents come in, status chips appear */
  #legal-documents .pv-card > .pv-r:nth-child(1) { --d: .4s; } #legal-documents .pv-card > .pv-r:nth-child(2) { --d: 1.6s; } #legal-documents .pv-card > .pv-r:nth-child(3) { --d: 2.8s; }
  #legal-documents .pv-r > .pv-chip { animation: pv-pulse 3s ease-in-out infinite; animation-delay: var(--d, 4s); }
  /* Accounting: the journal is written line by line */
  #accounting .pv-card > .pv-r:nth-child(1) { --d: .4s; } #accounting .pv-card > .pv-grid:nth-child(2) { --d: 1.4s; }
  #accounting .pv-card > .pv-grid:nth-child(3) { --d: 2.4s; } #accounting .pv-card > .pv-grid:nth-child(4) { --d: 3.8s; }
  /* Reports: bars rise, the latest one is highlighted, report refreshed */
  #financial-reports .pv-bars i:nth-child(1) { --d: .4s; } #financial-reports .pv-bars i:nth-child(2) { --d: .9s; } #financial-reports .pv-bars i:nth-child(3) { --d: 1.4s; }
  #financial-reports .pv-bars i:nth-child(4) { --d: 1.9s; } #financial-reports .pv-bars i:nth-child(5) { --d: 2.4s; } #financial-reports .pv-bars i:nth-child(6) { --d: 3s; }
  #financial-reports .pv-float { --d: 5s; }
}
@keyframes pv-show { 0%, 4% { opacity: 0; translate: 0 8px; scale: .97; } 12%, 88% { opacity: 1; translate: 0 0; scale: 1; } 95%, 100% { opacity: 0; translate: 0 0; scale: 1; } }
@keyframes pv-grow { 0%, 4% { width: 0; } 24%, 88% { width: var(--w); } 95%, 100% { width: 0; } }
@keyframes pv-rise { 0%, 4% { transform: scaleY(0); } 22%, 88% { transform: scaleY(1); } 95%, 100% { transform: scaleY(0); } }
@keyframes pv-on { 0%, 4% { background: var(--utility-gray-100); color: var(--text-tertiary); } 10%, 88% { background: var(--brand-600); color: var(--text-white); } 95%, 100% { background: var(--utility-gray-100); color: var(--text-tertiary); } }
@keyframes pv-ckmark { 0%, 4% { opacity: 0; } 10%, 88% { opacity: 1; } 95%, 100% { opacity: 0; } }
@keyframes pv-ckon { 0%, 4% { background-color: transparent; background-size: 0; box-shadow: inset 0 0 0 1.5px var(--utility-gray-300); } 10%, 88% { background-color: var(--brand-600); background-size: 10px; box-shadow: none; } 95%, 100% { background-color: transparent; background-size: 0; box-shadow: inset 0 0 0 1.5px var(--utility-gray-300); } }
@keyframes pv-pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand-500) 0%, transparent); } 50% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-500) 35%, transparent); } }

/* Closing CTA in the ERP brand (partials/cta-erp.html): the shared component with ERP tokens. Semantic --border-brand / --bg-brand-* stay lime at :root, so every brand colour here comes from --brand-* */
.mx-cta[data-brand="erp"] { background: radial-gradient(55% 28% at 88% 30%, color-mix(in srgb, var(--brand-500) 17%, transparent), transparent 72%), radial-gradient(50% 30% at 6% 36%, color-mix(in srgb, var(--brand-400) 12%, transparent), transparent 72%), radial-gradient(60% 30% at 50% 72%, color-mix(in srgb, var(--brand-500) 9%, transparent), transparent 100%), var(--bg-primary); }
.mx-cta[data-brand="erp"]::before { background: var(--brand-500); }
.mx-cta[data-brand="erp"] .mx-cta-outline { border-color: var(--brand-500); background: color-mix(in srgb, var(--brand-500) 12%, transparent); }
/* box = the industry band background: ERP-red glow at the bottom left over a brand-900 to brand-800 gradient */
.mx-cta[data-brand="erp"] .mx-cta-box { background: radial-gradient(60% 80% at 4% 108%, color-mix(in srgb, var(--brand-500) 28%, transparent) 0%, color-mix(in srgb, var(--brand-500) 22%, transparent) 15%, color-mix(in srgb, var(--brand-500) 14%, transparent) 32%, color-mix(in srgb, var(--brand-500) 7%, transparent) 50%, color-mix(in srgb, var(--brand-500) 2.5%, transparent) 70%, transparent 100%), linear-gradient(180deg, var(--brand-900), var(--brand-800)); }
.mx-cta[data-brand="erp"] .mx-cta-accent { color: var(--brand-500); }
.mx-cta[data-brand="erp"] .mx-cta-card .btn { border-radius: var(--radius-lg); }

/* ---------- Masalah: sticky line-roll text on the left, one animated mockup card per problem on the right ---------- */
.erp-ms { --t: 0; position: relative; isolation: isolate; padding-block: 0; color: color-mix(in srgb, #fff calc(var(--t) * 100%), var(--text-primary)); background: color-mix(in srgb, #000 calc(var(--t) * 100%), var(--utility-gray-50)); }
.erp-ms::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: calc(1 - var(--t)); background: radial-gradient(40% 40% at 88% 8%, color-mix(in srgb, var(--brand-500) 14%, transparent), transparent 70%), radial-gradient(40% 40% at 6% 70%, color-mix(in srgb, var(--brand-500) 10%, transparent), transparent 70%); }
.erp-ms::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: calc(var(--t) * .4); background: url(assets/cta-noise.png) 0 0 / var(--x-noise-tile) var(--x-noise-tile); }
.erp-ms-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.erp-ms-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--spacing-8xl); }
.erp-ms-l { position: sticky; top: 0; height: 100vh; display: grid; align-content: center; }
.erp-ms-r { display: grid; }
@media (min-width: 901px) { .erp-ms-r { padding-block: 13vh; } }   /* the first and last card line up with the text on the left */
.erp-ms-c { min-height: 74vh; display: grid; place-items: center; }
.erp-ms-roll { display: grid; margin: 0; padding: 0; list-style: none; }
.erp-ms-i { grid-area: 1 / 1; display: grid; align-content: center; justify-items: start; gap: var(--spacing-xl); pointer-events: none; }
.erp-ms-i.is-on { pointer-events: auto; }
.erp-ms-t { margin: 0; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
.erp-ms-t .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.erp-ms-t .w > span { display: inline-block; transform: translateY(110%); transition: transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i) * 45ms); }
.erp-ms-i.is-on .erp-ms-t .w > span { transform: none; }
.erp-ms-i.is-past .erp-ms-t .w > span { transform: translateY(-110%); transition-delay: calc(var(--i) * 25ms); }
.erp-ms-d, .erp-ms-chips, .erp-ms-i .tools-badge { opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .5s cubic-bezier(.2, .8, .2, 1); }
.erp-ms-i.is-on :is(.erp-ms-d, .erp-ms-chips, .tools-badge) { opacity: 1; transform: none; transition-delay: .28s; }
.erp-ms-i.is-past :is(.erp-ms-d, .erp-ms-chips, .tools-badge) { transform: translateY(-10px); }
.erp-ms-d { margin: 0; max-width: 460px; font-size: 18px; line-height: 28px; color: color-mix(in srgb, #fff calc(var(--t) * 80%), var(--text-tertiary)); }
.erp-ms-chips { display: flex; flex-wrap: wrap; gap: var(--spacing-md); }
.erp-ms .tools-badge { color: color-mix(in srgb, #fff calc(var(--t) * 100%), var(--brand-800)); border-color: color-mix(in srgb, var(--alpha-white-20) calc(var(--t) * 100%), var(--alpha-black-10)); }
/* card: solid brand red, star pattern, brand outline ring (no drop shadow), two thin ghost outlines stacked under it and a faint logomark stuck behind */
.erp-ms-w { position: relative; isolation: isolate; width: min(400px, 100%); will-change: opacity, transform, filter; }
.erp-ms-cd { position: relative; isolation: isolate; width: 100%; padding: 16px; border-radius: 20px; font-size: 13px; line-height: 18px; color: #fff; background: radial-gradient(70% 60% at 6% 104%, color-mix(in srgb, var(--brand-400) 30%, transparent) 0%, transparent 100%), linear-gradient(180deg, var(--brand-600), var(--brand-700)); outline: 1px solid var(--brand-500); outline-offset: 6px; box-shadow: 0 0 0 6px color-mix(in srgb, var(--brand-500) 14%, transparent), inset 0 1px 0 0 var(--alpha-white-40); }
.erp-ms-cd::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; background: url(assets/cta-noise.png) 0 0 / var(--x-noise-tile) var(--x-noise-tile); opacity: .4; }
.erp-ms-g { position: absolute; inset: 0; z-index: -1; border-radius: 20px; background: color-mix(in srgb, var(--brand-500) 7%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand-500) 38%, transparent); transform-origin: 50% 0; }
.erp-ms-g.g1 { transform: translateY(22px) scale(.97); opacity: .7; }
.erp-ms-g.g2 { z-index: -2; transform: translateY(38px) scale(.94); opacity: .4; }
.erp-ms-logo { position: absolute; z-index: -3; right: -86px; top: -92px; width: 250px; height: 250px; pointer-events: none; background: var(--brand-500); opacity: .16; -webkit-mask: url(assets/logomark-solid.svg) center / contain no-repeat; mask: url(assets/logomark-solid.svg) center / contain no-repeat; }
.ms-h { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 14px; font-weight: 600; }
.ms-h i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; font-size: 12px; font-style: normal; color: #fff; background: var(--alpha-white-20); box-shadow: inset 0 0 0 1px var(--alpha-white-20); }
.ms-h em { margin-left: auto; padding: 1px 8px; border-radius: 99px; font-size: 11px; font-style: normal; font-weight: 500; color: #fff; background: var(--alpha-white-20); }
.ms-h em.g { background: rgb(23 178 106 / .28); color: #c6f6dc; }
.ms-r { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--alpha-white-20); }
.ms-r:first-of-type { border-top: 0; }
.ms-r b { font-weight: 500; }
.ms-r > span { margin-left: auto; color: var(--alpha-white-70); font-variant-numeric: tabular-nums; }
.ms-r .ms-av { margin-left: 0; } .ms-r .ms-t + .ms-st { margin-left: 0; }
.ms-av { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 10px; font-style: normal; font-weight: 600; color: #fff; background: var(--alpha-white-20); }
.ms-st { display: inline-flex; align-items: center; padding: 1px 9px; border-radius: 99px; font-size: 11px; line-height: 16px; font-weight: 500; color: #fff; background: var(--alpha-white-20); }
.ms-st.ok { background: var(--utility-success-500); } .ms-st.late { background: var(--utility-warning-500); }
.ms-sw { display: inline-grid; } .ms-sw > * { grid-area: 1 / 1; text-decoration: none; font-style: normal; white-space: nowrap; } .ms-sw > s { opacity: 0; }
.ms-bar { height: 8px; overflow: hidden; border-radius: 99px; background: var(--alpha-white-20); } .ms-bar > i { display: block; height: 100%; border-radius: inherit; background: #fff; }
.ms-bars { display: grid; grid-template-columns: repeat(6, 1fr); align-items: end; gap: 8px; height: 90px; margin-top: 8px; } .ms-bars i { transform-origin: 50% 100%; border-radius: 6px 6px 2px 2px; background: rgb(255 255 255 / .3); } .ms-bars i:last-child { background: #fff; }
.ms-steps div { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.ms-steps i { position: relative; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--utility-success-500); }
.ms-steps i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 8px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: translate(-50%, -62%) rotate(45deg); }
.ms-steps .w { color: var(--alpha-white-60); } .ms-steps .w i { background: rgb(255 255 255 / .3); } .ms-steps .w i::after { display: none; } .ms-steps .ms-pend i::after { display: block; opacity: 0; }
/* process animation: the active card plays a 7s loop (rows come in, numbers change, bars move, steps tick); the other cards show their resting state */
@media (prefers-reduced-motion: no-preference) {
  .erp-ms-c.is-act .ms-an { animation: ms-row 7s ease infinite both; animation-delay: var(--d, 0s); }
  .erp-ms-c.is-act .ms-pop { animation: ms-pop 7s ease infinite both; animation-delay: var(--d, 0s); }
  .erp-ms-c.is-act .ms-rise { animation: ms-rise 7s ease infinite both; animation-delay: var(--d, 0s); }
  .erp-ms-c.is-act .ms-grow { animation: ms-grow 7s ease infinite both; animation-delay: var(--d, 0s); }
  .erp-ms-c.is-act .ms-bardown { animation: ms-bardown 7s ease infinite both; }
  .erp-ms-c.is-act .ms-sw > u { animation: ms-swa 7s ease infinite both; } .erp-ms-c.is-act .ms-sw > s { animation: ms-swb 7s ease infinite both; }
  .erp-ms-c.is-act .ms-pend i { animation: ms-okbg 7s ease infinite both; animation-delay: var(--d, 0s); } .erp-ms-c.is-act .ms-pend i::after { animation: ms-okmark 7s ease infinite both; animation-delay: var(--d, 0s); }
}
@keyframes ms-row { 0%, 3% { opacity: 0; transform: translateY(8px); } 10%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(8px); } }
@keyframes ms-pop { 0%, 6% { opacity: 0; transform: scale(.6); } 12%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: scale(.6); } }
@keyframes ms-rise { 0%, 4% { transform: scaleY(0); } 22%, 90% { transform: scaleY(1); } 96%, 100% { transform: scaleY(0); } }
@keyframes ms-grow { 0%, 4% { width: var(--w0, 0%); } 26%, 90% { width: var(--w); } 96%, 100% { width: var(--w0, 0%); } }
@keyframes ms-bardown { 0%, 38% { width: var(--w); } 46%, 92% { width: var(--w2); } 98%, 100% { width: var(--w); } }
@keyframes ms-swa { 0%, 38% { opacity: 1; } 44%, 92% { opacity: 0; } 98%, 100% { opacity: 1; } }
@keyframes ms-swb { 0%, 38% { opacity: 0; } 44%, 92% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes ms-okbg { 0%, 8% { background: rgb(255 255 255 / .3); } 14%, 90% { background: var(--utility-success-500); } 96%, 100% { background: rgb(255 255 255 / .3); } }
@keyframes ms-okmark { 0%, 8% { opacity: 0; } 14%, 90% { opacity: 1; } 96%, 100% { opacity: 0; } }
@media (max-width: 900px) {
  .erp-ms-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .erp-ms-l { top: var(--erp-hdr); height: auto; z-index: 2; padding-block: var(--spacing-3xl); background: linear-gradient(color-mix(in srgb, #000 calc(var(--t) * 100%), var(--utility-gray-50)) 80%, transparent); }
  .erp-ms-t { font-size: 28px; }
  .erp-ms-d { font-size: 16px; line-height: 24px; }
  .erp-ms-c { min-height: 56vh; }
}
@media (prefers-reduced-motion: reduce) { .erp-ms-t .w > span, .erp-ms-d, .erp-ms-chips, .erp-ms-i .tools-badge { transition: none; } }

/* Modul follows the comparison section without overlapping it: its top padding is the plain 80 / 64 / 56 (home.css adds the corner radius for Home, where it does overlap) */
.erp-stack { position: relative; }
/* Perbandingan: plain white with rounded top corners; it overlaps the end of Masalah by the corner radius so the corners show Masalah behind them. Modul (also rounded, opaque) slides up over it while it is pinned. Both keep exactly the section padding (80 / 64 / 56). */
#banding { --bd-r: var(--radius-4xl); position: relative; z-index: 1; margin-top: calc(var(--bd-r) * -1); border-radius: var(--bd-r) var(--bd-r) 0 0; color: var(--text-white);
  background: var(--color-base-black, #000); }   /* trying black instead of the Industri red */
#banding::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit; background: url(assets/cta-noise.png) 0 0 / var(--x-noise-tile) var(--x-noise-tile); opacity: .4; }
#banding .tools-badge { color: var(--text-white); border-color: var(--alpha-white-20); background: var(--alpha-white-10); }
#banding .erp-h2 { color: var(--text-white); }
#banding .erp-sub-p { color: var(--text-placeholder-subtle); }
@media (max-width: 640px) { #banding { --bd-r: var(--radius-2xl); } }
@media (prefers-reduced-motion: no-preference) {
  .js :is(#banding, #industri).is-pin { position: sticky; top: min(calc(var(--erp-hdr) + var(--spacing-md)), calc(100svh - var(--pin-h, 0px))); }   /* pinned just under the header; a section taller than the screen is pinned by its bottom edge */
}
#modul { z-index: 2; margin-top: 0; padding-top: var(--x-sec); }

/* Comparison (Tanpa ERP vs Dengan Optimark ERP): two cards that share the same eight grid rows (subgrid), so every aspect lines up across the sides */
.erp-cmp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto repeat(6, auto); column-gap: var(--spacing-2xl); row-gap: 0; max-width: 1040px; margin-inline: auto; }
.erp-cmp-c { display: grid; grid-row: span 8; grid-template-rows: subgrid; row-gap: 0; padding: var(--spacing-4xl); border-radius: var(--radius-4xl); }
.erp-cmp-c h3 img { width: 24px; height: 24px; flex: none; }
.erp-cmp-r h3 img { filter: brightness(0) invert(1); }   /* the red logomark would vanish on the red card: draw it white */
.erp-cmp-c h3 { display: flex; align-items: center; gap: var(--spacing-md); margin: 0; padding-bottom: var(--spacing-2xl); font-size: 22px; line-height: 30px; font-weight: 600; letter-spacing: -0.02em; }
.erp-cmp-chips { display: flex; flex-wrap: wrap; align-content: flex-start; gap: var(--spacing-md); padding-bottom: var(--spacing-2xl); }
.erp-cmp-chips span { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: var(--radius-full); font-size: 14px; line-height: 20px; font-weight: 500; }
.erp-cmp-c ul { display: contents; margin: 0; padding: 0; list-style: none; }
.erp-cmp-c li { display: flex; align-items: center; gap: 12px; padding: var(--spacing-xl) 0; border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent); font-size: 15px; line-height: 22px; }
.erp-cmp-c li > div { flex: 1; }
.erp-cmp-c li b { display: block; margin-bottom: 2px; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; opacity: .6; }
.erp-cmp-x, .erp-cmp-v { position: relative; flex: none; display: inline-block; width: 18px; height: 18px; border-radius: 50%; }
.erp-cmp-x { background: var(--alpha-white-20); }
.erp-cmp-x::before, .erp-cmp-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 1.6px; border-radius: 2px; background: var(--alpha-white-70); transform: translate(-50%, -50%) rotate(45deg); }
.erp-cmp-x::after { transform: translate(-50%, -50%) rotate(-45deg); }
.erp-cmp-v { background: var(--utility-success-500); }
.erp-cmp-v::after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 8px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: translate(-50%, -62%) rotate(45deg); }
.erp-cmp-l { background: linear-gradient(180deg, rgb(255 255 255 / .07), rgb(255 255 255 / .03)); color: var(--alpha-white-70); -webkit-backdrop-filter: blur(14px) saturate(1.25); backdrop-filter: blur(14px) saturate(1.25); box-shadow: inset 0 1px 0 0 var(--alpha-white-20), inset 0 0 0 1px var(--alpha-white-10); }   /* dim white glass on the black band */
.erp-cmp-l .erp-cmp-chips span { background: linear-gradient(180deg, var(--alpha-white-20), var(--alpha-white-10)); color: var(--alpha-white-70); -webkit-backdrop-filter: blur(8px) saturate(1.25); backdrop-filter: blur(8px) saturate(1.25); box-shadow: inset 0 1px 0 0 var(--alpha-white-40), inset 0 0 0 1px var(--alpha-white-20); transform: rotate(var(--r)); }
.erp-cmp-scat { gap: 10px 14px; }
.erp-cmp-r { position: relative; isolation: isolate; overflow: hidden; color: var(--text-white); background: linear-gradient(180deg, var(--alpha-white-20), var(--alpha-white-10)); -webkit-backdrop-filter: blur(14px) saturate(1.25); backdrop-filter: blur(14px) saturate(1.25); box-shadow: inset 0 1px 0 0 var(--alpha-white-40), inset 0 0 0 1px var(--alpha-white-20), 0 0 0 6px var(--alpha-white-5, rgb(255 255 255 / .05)); outline: 1px solid var(--alpha-white-40); outline-offset: 6px; }   /* white glass, lighter (more opaque) than the Tanpa ERP card, with a white outline ring */
.erp-cmp-r::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url(assets/cta-noise.png) 0 0 / var(--x-noise-tile) var(--x-noise-tile); opacity: .4; }
.erp-cmp-r .erp-cmp-chips span { background: linear-gradient(180deg, var(--alpha-white-30, rgb(255 255 255 / .3)), var(--alpha-white-20)); color: var(--text-white); -webkit-backdrop-filter: blur(8px) saturate(1.25); backdrop-filter: blur(8px) saturate(1.25); box-shadow: inset 0 1px 0 0 var(--alpha-white-40), inset 0 0 0 1px var(--alpha-white-20); }   /* glass chips: translucent, blurred, lit top edge */
.erp-cmp-tabs { display: none; }
.erp-cmp-c[hidden] { display: none; }
@media (max-width: 800px) {
  .erp-cmp-tabs { display: flex; position: relative; width: 100%; margin: 0 0 var(--spacing-3xl); overflow: visible; }
  .erp-cmp-tabs > [role="tab"] { flex: 1 1 0; justify-content: center; padding-inline: var(--spacing-md); font-size: 14px; color: var(--alpha-white-70); }
  .erp-cmp-tabs > [role="tab"][aria-selected="true"] { color: var(--text-primary); }
  #banding .erp-cmp-tabs { background: var(--alpha-white-10); box-shadow: inset 0 0 0 1px var(--alpha-white-20); }
  .erp-cmp { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: var(--spacing-2xl); }
  .erp-cmp-c { grid-row: auto; grid-template-rows: none; padding: var(--spacing-3xl) var(--spacing-2xl); }
  .erp-cmp-c ul { display: grid; }
}

/* Kontrol panel: the three mockup windows lose the white outline ring Home draws around them; the soft drop shadow stays */
#kontrol .mx-erp-fit .mx-card, #kontrol .mx-win-lg { box-shadow: 0 16px 28px -8px rgb(0 0 0 / .3); }

/* Hero logomark (bottom left): the same shape as Home's hero-logomark.svg, tinted with the ERP brand colour at the same 10% opacity (the SVG has the green baked in, so it is drawn as a mask here) */
.hv[data-brand="erp"] .hv-mark { background: var(--brand-600); opacity: .1; -webkit-mask: url(assets/logomark-solid.svg) center / contain no-repeat; mask: url(assets/logomark-solid.svg) center / contain no-repeat; }

/* FAQ title accent in ERP red (the semantic --text-brand-primary stays lime at :root) */
.mx-faqs[data-brand="erp"] .mx-faqs-accent { color: var(--brand-500); }

/* Mockup scaling: the mockup is drawn at 300px; when the preview box (its content width) is narrower, the whole mockup scales down instead of clipping,
   so the cards hold up from 320px phones to wide desktops. The floating chip is dropped when there is no room for it. */
@container (max-width: 299px) { .pv-card { transform: scale(.9); } }
@container (max-width: 269px) { .pv-card { transform: scale(.8); } }
@container (max-width: 239px) { .pv-card { transform: scale(.7); } .pv-float { display: none; } }
@container (max-width: 209px) { .pv-card { transform: scale(.6); } }
@container (max-width: 179px) { .pv-card { transform: scale(.5); } }
/* 1025-1279px: the 320px title column would squeeze the cards, so the category title sits above them like on tablet */
@media (min-width: 1025px) and (max-width: 1279px) { .erp-cat { grid-template-columns: minmax(0, 1fr); gap: var(--spacing-3xl); } .erp-cat-head { position: static; } }

/* ---------- Tablet (<= 1024px) ---------- */
@media (max-width: 1024px) {
  .erp-h2 { font-size: 36px; line-height: 44px; }
  .erp-mods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .erp-cat { grid-template-columns: minmax(0, 1fr); gap: var(--spacing-3xl); }
  .erp-cat-head { position: static; }
  .erp-start { grid-template-columns: minmax(0, 1fr); gap: var(--spacing-5xl); }
  .erp-start-l { position: static; }
}

/* ---------- Mobile (<= 640px) ---------- */
@media (max-width: 640px) {
  .erp-h2 { font-size: 28px; line-height: 36px; }
  .erp-mchip { min-height: 36px; }
  .erp-head { margin-bottom: var(--spacing-4xl); }
  .erp-mods { grid-template-columns: minmax(0, 1fr); }
  .erp-mods > li:last-child:nth-child(odd) { grid-column: auto; }
  .erp-mods > li:last-child:nth-child(odd) .erp-mod-in { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: none; }
  .erp-mods > li:last-child:nth-child(odd) .erp-pv, .erp-mods > li:last-child:nth-child(odd) .erp-mod-top, .erp-mods > li:last-child:nth-child(odd) .erp-mod-d, .erp-mods > li:last-child:nth-child(odd) .erp-mod-pts { grid-area: auto; }
  .erp-mods > li:last-child:nth-child(odd) .erp-pv { height: 200px; min-height: 0; }
  .erp-mod-in { padding: var(--spacing-xl); }
  .erp-cat-head h3 { font-size: 24px; line-height: 32px; }
}

/* The Alur band is the section with the rounded top corners (it slides over Masalah); it does not overlap Masalah, so its padding stays exactly 80 / 64 / 56. */
@media (prefers-reduced-motion: reduce) { .erp-mchip { transition: none; } }
@keyframes erp-bob { from { transform: translate(-2px, -4px); } to { transform: translate(3px, 4px); } }

/* Button option: ERP-red primary (header CTA "Demo Gratis" with the "Optimark ERP" ribbon) */
.btn-primary.btn-erp { background: var(--brand-600); color: var(--text-white); }
.btn-primary.btn-erp > .ic, .btn-primary.btn-erp > svg { color: var(--text-white); }
.btn-primary.btn-erp:hover { background: var(--brand-700); }
.btn.btn-erp > .try-badge { background: var(--brand-900); }
.hv-erp-logo { display: block; height: 40px; width: auto; }

/* Hero lead: the second sentence starts its own line above mobile; on phones it just wraps by width */
.hv[data-brand="erp"] .hv-lead .erp-lead-2 { display: block; }
@media (max-width: 640px) { .hv[data-brand="erp"] .hv-lead .erp-lead-2 { display: inline; } }

/* Modul categories as tabs, phones only (up to 640px); wider screens keep all categories stacked */
.erp-tabs { display: none; }
@media (max-width: 640px) {
  .erp-tabs { display: flex; position: relative; margin: 0 auto var(--spacing-5xl); scroll-margin-top: calc(var(--erp-hdr) + var(--spacing-xl)); }
  /* three tabs fit the phone width without sideways scrolling: no counts, tighter padding */
  .erp-tabs { overflow-x: visible; width: 100%; max-width: 100%; }
  .erp-tabs > [role="tab"] { flex: 1 1 auto; justify-content: center; padding-inline: var(--spacing-md); font-size: 13px; }
  .erp-tabs > [role="tab"] i { display: none; }
  .erp-cat[hidden] { display: none; }
  .erp-cats > .erp-cat { border-top: 0; padding-block: 0; }
  .erp-cat-head { display: none; }   /* the active tab already names the category */
}

