/* ERP page only. Scoped to .erp-x so the shared solution-page stylesheet stays untouched. */
.erp-x { --erp-navy: #10344b; --erp-deep: #082133; --erp-orange: #ef9144; --erp-ice: #eef4f8; --erp-line: #d6e2ea; --erp-ink: #10344b; --erp-muted: #536574; }

/* Hero */
.erp-x .ep-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 74% 55%, rgba(47,134,176,.38), transparent 58%),
        linear-gradient(rgba(150,205,230,.06) 1px, transparent 1px) 0 0 / 48px 48px,
        linear-gradient(90deg, rgba(150,205,230,.06) 1px, transparent 1px) 0 0 / 48px 48px,
        linear-gradient(160deg, #0a2740, #0d3652 55%, #0a2a40);
}
.erp-x .ep-hero-grid { padding-bottom: 64px; gap: 40px; grid-template-columns: 1fr 1.05fr; }
.erp-x .ep-hero h1 { font-size: clamp(36px, 4.2vw, 60px); line-height: 1.06; letter-spacing: -.04em; max-width: 14ch; }
.erp-x .ep-hero p { font-size: 19px; max-width: 44ch; }
.erp-x .ep-hero .dx-eyebrow { color: #ffa45b; }
.erp-x .ep-map { height: clamp(300px, 30vw, 400px); margin-top: 28px; }
.erp-x .erp-links path { opacity: .55; }
.erp-x .erp-packets path { stroke-dasharray: 5 95; stroke-dashoffset: 5; animation: erp-packet 3.2s linear infinite; }
.erp-x .erp-packets path:nth-child(2) { animation-delay: -.5s; }
.erp-x .erp-packets path:nth-child(3) { animation-delay: -1.1s; }
.erp-x .erp-packets path:nth-child(4) { animation-delay: -1.7s; }
.erp-x .erp-packets path:nth-child(5) { animation-delay: -2.2s; }
.erp-x .erp-packets path:nth-child(6) { animation-delay: -2.7s; }
@keyframes erp-packet { to { stroke-dashoffset: -100; } }
.erp-x .erp-hex-glow { filter: drop-shadow(0 0 14px rgba(239,145,68,.55)); animation: erp-glow 3.2s ease-in-out infinite; }
@keyframes erp-glow { 50% { filter: drop-shadow(0 0 24px rgba(239,145,68,.9)); } }
.erp-x .ep-hub { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: .04em; color: #fff; }
.erp-x .ep-node { background: none; padding: 0; color: #fff; font-size: 13px; }
.erp-x .ep-node > span {
    width: 64px; height: 64px;
    border: 1px solid rgba(190,225,243,.55);
    background: rgba(10,39,64,.85);
    box-shadow: 0 0 0 6px rgba(150,205,230,.08), 0 10px 24px rgba(0,0,0,.25);
    margin-bottom: 8px;
}
.erp-x .ep-node b { font-weight: 700; letter-spacing: .01em; }
.erp-x .ep-node .ds-icon { color: #bfe6f7; }

/* Overview */
.erp-x .ep-overview {
    grid-template-columns: 1fr;
    gap: 28px;
    margin: 40px 0 8px;
    padding: 40px 44px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f3f8fb, #e6f0f6);
}
.erp-x .ep-overview h2 { font-size: clamp(28px, 3vw, 40px); margin-top: 10px; }
.erp-x .ep-overview ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 0; border: 0; }
.erp-x .ep-overview li {
    margin: 0;
    padding: 16px 18px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(16,52,75,.06), 0 8px 20px rgba(16,52,75,.06);
    font-size: 15px;
    font-weight: 600;
}
.erp-x .ep-overview li span { background: var(--erp-navy); }

/* Capabilities */
.erp-x .ep-capabilities { background: #fff; padding: 56px 0 24px; }
.erp-x .ep-capabilities h2 { font-size: clamp(28px, 3vw, 40px); max-width: 22ch; }
.erp-x .ep-modules { gap: 20px; background: none; border: 0; margin-top: 32px; }
.erp-x .ep-modules article {
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--erp-line);
    border-radius: 18px;
    background: #fff;
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.erp-x .ep-modules article::before {
    content: "";
    position: absolute;
    inset: -1px -1px auto;
    height: 4px;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(90deg, var(--erp-orange), #ffc78f);
    opacity: 0;
    transition: opacity 200ms ease;
}
.erp-x .ep-modules article:hover { transform: translateY(-4px); border-color: #b9ccd9; box-shadow: 0 18px 36px rgba(16,52,75,.12); }
.erp-x .ep-modules article:hover::before { opacity: 1; }
.erp-x .ep-modules .ds-icon {
    box-sizing: content-box;
    width: 30px; height: 30px;
    margin: 0;
    padding: 13px;
    border-radius: 14px;
    background: var(--erp-navy);
    color: #ffb066;
}
.erp-x .ep-modules h3 { font-size: 20px; margin: 20px 0 14px; }
.erp-x .erp-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.erp-x .erp-chips li { padding: 5px 11px; border-radius: 999px; background: var(--erp-ice); color: #2d5068; font-size: 13px; font-weight: 600; line-height: 1.35; }
.erp-x .ep-modules .erp-note { margin: 14px 0 0; font-size: 13px; color: var(--erp-muted); line-height: 1.5; }

/* Integration */
.erp-x .ep-integration { padding-block: 56px; gap: 48px; align-items: start; }
.erp-x .ep-integration h2 { font-size: clamp(26px, 2.8vw, 36px); max-width: 20ch; }
.erp-x .ep-flow { gap: 44px; }
.erp-x .ep-flow-item {
    min-height: 170px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(160deg, #10344b, #0b2a40);
    color: #fff;
    box-shadow: 0 14px 30px rgba(16,52,75,.2);
}
.erp-x .ep-flow-item .ds-icon { width: 40px; height: 40px; color: #ffb066; }
.erp-x .ep-flow-item strong { font-size: 15px; }
.erp-x .ep-flow-arrow { left: calc(100% + 6px); top: 50%; transform: translateY(-50%); width: 32px; text-align: center; color: var(--erp-orange); font-size: 26px; animation: erp-nudge 1.8s ease-in-out infinite; }
@keyframes erp-nudge { 50% { translate: 5px 0; } }
.erp-x .ep-integration-reference { border: 0; padding: 0; }
.erp-x .ep-integration-reference p { font-size: 15px; line-height: 1.7; }
.erp-x .ep-integration img { max-width: 100%; padding: 14px; border: 1px solid var(--erp-line); border-radius: 16px; background: #fff; box-shadow: 0 14px 30px rgba(16,52,75,.1); }

/* Delivery */
.erp-x .ep-delivery { padding: 64px 0 56px; background: radial-gradient(ellipse at 20% 0, rgba(47,134,176,.25), transparent 55%), linear-gradient(160deg, #0a2740, #0c3250); }
.erp-x .ep-delivery h2 { font-size: clamp(28px, 3vw, 40px); }
.erp-x .ep-delivery ol { gap: 24px; margin: 36px 0 30px; }
.erp-x .ep-delivery li {
    position: relative;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    border: 1px solid rgba(190,225,243,.2);
    border-radius: 16px;
    background: rgba(255,255,255,.05);
}
.erp-x .ep-delivery li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 39px;
    left: calc(24px + 30px + 10px);
    right: -24px;
    border-top: 2px dashed rgba(255,164,91,.55);
}
.erp-x .ep-step { position: relative; z-index: 1; width: 32px; height: 32px; }
.erp-x .ep-delivery h3 { font-size: 18px; margin: 0 0 8px; }
.erp-x .ep-delivery li p { font-size: 14px; line-height: 1.6; }

/* Related */
.erp-x .ep-related { padding-block: 36px; }
.erp-x .ep-related a { padding: 0 20px; border: 1px solid var(--erp-line); border-radius: 999px; transition: background-color 160ms, color 160ms; }
.erp-x .ep-related a:hover { background: var(--erp-navy); border-color: var(--erp-navy); color: #fff; }

@media (max-width: 950px) {
    .erp-x .ep-hero-grid { grid-template-columns: 1fr; }
    .erp-x .ep-map { max-width: 520px; margin-inline: auto; }
    .erp-x .ep-delivery li:not(:last-child)::after { display: none; }
    .erp-x .ep-overview ul { grid-template-columns: 1fr; }
    .erp-x .ep-flow { gap: 30px; }
}
@media (max-width: 700px) {
    .erp-x .ep-hero-grid { display: block; padding-bottom: 36px; }
    .erp-x .ep-hero h1 { font-size: 36px; }
    .erp-x .ep-map { height: 270px; }
    .erp-x .ep-node > span { width: 50px; height: 50px; }
    .erp-x .ep-node { font-size: 11px; }
    .erp-x .ep-overview { padding: 28px 22px; }
    .erp-x .ep-capabilities { padding-top: 36px; }
    .erp-x .ep-integration { padding-block: 36px; }
    .erp-x .ep-flow { grid-template-columns: 1fr; gap: 38px; }
    .erp-x .ep-flow-item { min-height: 120px; }
    .erp-x .ep-flow-arrow { left: 50%; top: calc(100% + 6px); transform: translateX(-50%) rotate(90deg); animation: none; }
    .erp-x .ep-delivery { padding-block: 40px; }
}
@media (prefers-reduced-motion: reduce) {
    .erp-x .erp-packets path, .erp-x .erp-hex-glow, .erp-x .ep-flow-arrow { animation: none; }
    .erp-x .ep-modules article { transition: none; }
}

/* Hero: ERP workspace console */
.erp-x .ep-hero-grid { align-items: center; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); padding-bottom: 72px; }
.erp-x .erp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.erp-x .erp-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 10px; font-size: 15px; font-weight: 700; text-decoration: none; transition: background-color 160ms, transform 160ms; }
.erp-x .erp-btn-primary { background: var(--erp-orange); color: #10222f; }
.erp-x .erp-btn-primary:hover { background: #ffa65f; color: #10222f; transform: translateY(-1px); }
.erp-x .erp-btn-ghost { border: 1px solid rgba(190,225,243,.5); color: #fff; }
.erp-x .erp-btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.erp-console {
    position: relative;
    margin-top: 36px;
    border: 1px solid rgba(190,225,243,.28);
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(14,52,80,.92), rgba(7,30,48,.96));
    box-shadow: 0 40px 80px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.03) inset, 0 0 90px rgba(47,134,176,.25);
    transform: perspective(1600px) rotateY(-7deg) rotateX(2deg);
    transform-origin: left center;
}
.erp-c-bar { display: flex; align-items: center; gap: 7px; padding: 13px 18px; border-bottom: 1px solid rgba(190,225,243,.16); color: #a9c8da; font-size: 12.5px; font-weight: 600; }
.erp-c-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(190,225,243,.28); }
.erp-c-bar i:first-child { background: #ef9144; }
.erp-c-bar span { margin-left: 10px; }
.erp-c-body { padding: 18px 18px 34px; }
.erp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.erp-card {
    display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
    min-height: 118px; padding: 14px;
    border: 1px solid rgba(190,225,243,.16);
    border-radius: 12px;
    background: rgba(255,255,255,.045);
    animation: erp-card-hi 8.4s ease-in-out infinite;
    animation-delay: var(--d);
}
.erp-card b { color: #e5f2f9; font-size: 12.5px; font-weight: 700; }
@keyframes erp-card-hi {
    0%, 18%, 100% { border-color: rgba(190,225,243,.16); background-color: rgba(255,255,255,.045); box-shadow: none; }
    4%, 14% { border-color: rgba(255,176,102,.85); background-color: rgba(239,145,68,.12); box-shadow: 0 0 24px rgba(239,145,68,.25); }
}
.erp-bars { display: flex; align-items: flex-end; gap: 5px; height: 48px; }
.erp-bars i { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: linear-gradient(#7fd0ea, #2f86b0); transform-origin: bottom; animation: erp-grow 900ms cubic-bezier(.2,.7,.2,1) both; }
.erp-bars i:nth-child(2) { animation-delay: 80ms; } .erp-bars i:nth-child(3) { animation-delay: 160ms; } .erp-bars i:nth-child(4) { animation-delay: 240ms; } .erp-bars i:nth-child(5) { animation-delay: 320ms; } .erp-bars i:nth-child(6) { animation-delay: 400ms; } .erp-bars i:nth-child(7) { animation-delay: 480ms; }
@keyframes erp-grow { from { transform: scaleY(0); } }
.erp-line { width: 100%; height: 48px; overflow: visible; }
.erp-area { fill: rgba(127,208,234,.16); }
.erp-stroke { stroke: #7fd0ea; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; animation: erp-draw 1.6s ease-out both; }
@keyframes erp-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.erp-steps { display: flex; gap: 6px; height: 48px; align-items: flex-end; }
.erp-steps i { flex: 1; border-radius: 4px; background: rgba(127,208,234,.35); }
.erp-steps i:nth-child(1) { height: 40%; } .erp-steps i:nth-child(2) { height: 68%; background: rgba(127,208,234,.6); } .erp-steps i:nth-child(3) { height: 100%; background: #7fd0ea; }
.erp-people { display: flex; height: 26px; }
.erp-people i { width: 26px; height: 26px; margin-right: -7px; border: 2px solid #0b2c45; border-radius: 50%; background: #5db4d3; }
.erp-people i:nth-child(2) { background: #ef9144; } .erp-people i:nth-child(3) { background: #9ad7ea; } .erp-people i:nth-child(4) { background: #2f86b0; }
.erp-skel { display: block; height: 7px; width: 70%; border-radius: 4px; background: rgba(190,225,243,.22); }
.erp-prog { display: grid; gap: 8px; }
.erp-prog i { display: block; height: 7px; border-radius: 4px; background: rgba(190,225,243,.18); position: relative; overflow: hidden; }
.erp-prog i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 4px; background: linear-gradient(90deg, #2f86b0, #7fd0ea); transform-origin: left; animation: erp-fill 1.2s cubic-bezier(.2,.7,.2,1) both; }
@keyframes erp-fill { from { transform: scaleX(0); } }
.erp-donut { width: 48px; height: 48px; border-radius: 50%; background: conic-gradient(#ef9144 0 38%, #7fd0ea 38% 72%, #2f86b0 72% 100%); -webkit-mask: radial-gradient(circle, transparent 14px, #000 15px); mask: radial-gradient(circle, transparent 14px, #000 15px); }
.erp-pipeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 16px; padding: 14px 0 0; border-top: 1px dashed rgba(190,225,243,.25); }
.erp-pipeline span { position: relative; color: #bcd8e7; font-size: 12px; font-weight: 600; text-align: center; padding-top: 16px; }
.erp-pipeline span::before { content: ""; position: absolute; left: 50%; top: 0; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: #ef9144; box-shadow: 0 0 0 4px rgba(239,145,68,.2); }
.erp-pulse { position: absolute; top: 10.5px; left: 12.5%; width: 16px; height: 16px; margin: 0 0 0 -8px; border-radius: 50%; background: radial-gradient(circle, #fff 0 22%, #ffd2a1 40%, rgba(255,176,102,0) 72%); filter: drop-shadow(0 0 6px rgba(255,176,102,.9)); animation: erp-travel 7.2s infinite; }
/* Glides between stages and rests on each one for about three-quarters of a second. */
@keyframes erp-travel {
    0% { left: 12.5%; opacity: 0; animation-timing-function: ease-out; }
    3% { opacity: 1; }
    10% { left: 12.5%; animation-timing-function: ease-in-out; }
    30% { left: 37.5%; }
    40% { left: 37.5%; animation-timing-function: ease-in-out; }
    60% { left: 62.5%; }
    70% { left: 62.5%; animation-timing-function: ease-in-out; }
    90% { left: 87.5%; }
    96% { left: 87.5%; opacity: 1; }
    100% { left: 87.5%; opacity: 0; }
}
.erp-pipeline span::before { animation: erp-stage 7.2s ease-in-out infinite; }
.erp-pipeline span:nth-of-type(2)::before { animation-delay: 2.16s; }
.erp-pipeline span:nth-of-type(3)::before { animation-delay: 4.32s; }
.erp-pipeline span:nth-of-type(4)::before { animation-delay: 6.48s; }
@keyframes erp-stage {
    0%, 12%, 100% { transform: scale(1); box-shadow: 0 0 0 4px rgba(239,145,68,.2); background: #ef9144; }
    3%, 9% { transform: scale(1.35); box-shadow: 0 0 0 8px rgba(255,176,102,.3), 0 0 16px rgba(255,176,102,.9); background: #ffd2a1; }
}
.erp-badge { position: absolute; left: 24px; bottom: -20px; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 12px; background: #fff; color: #10344b; font-size: 13px; font-weight: 700; box-shadow: 0 16px 36px rgba(0,0,0,.3); }
.erp-badge i { width: 10px; height: 10px; border-radius: 50%; background: #25a35a; box-shadow: 0 0 0 0 rgba(37,163,90,.5); animation: erp-ping 2s ease-out infinite; }
@keyframes erp-ping { to { box-shadow: 0 0 0 10px rgba(37,163,90,0); } }
@media (max-width: 950px) {
    .erp-console { transform: none; margin-top: 30px; }
    .erp-badge { left: 14px; bottom: -18px; }
    .erp-x .ep-hero-grid { padding-bottom: 56px; }
}
@media (max-width: 700px) {
    .erp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .erp-card { min-height: 104px; }
    .erp-pipeline span { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
    .erp-card, .erp-bars i, .erp-stroke, .erp-prog i::after, .erp-pulse, .erp-pipeline span::before, .erp-badge i { animation: none; }
}
