/* =====================================================
   ERP SYSTEMS SERVICE PAGE — Al Hussan Tech
   ===================================================== */

/* ── Hero ─────────────────────────────────────────── */
.erp-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.erp-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.erp-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: wdHeroZoom 30s ease-out forwards;
  will-change: transform;
}
@keyframes wdHeroZoom {
  0%   { transform: scale(1.15) translateY(-1%); }
  100% { transform: scale(1)    translateY(0);   }
}
.erp-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(29,10,50,.22)  0%,
    rgba(45,17,73,.42) 25%,
    rgba(45,17,73,.68) 55%,
    rgba(29,10,50,.9)  85%,
    rgba(20,5,40,.97) 100%
  );
  z-index: 1;
}
.erp-hero__overlay::after {
  content: "";
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 320px;
  background: radial-gradient(ellipse, rgba(168,85,247,.12) 0%, transparent 70%);
  pointer-events: none;
}
.erp-hero__content {
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-h, 72px) + 4.5rem) 0 5rem;
  max-width: 760px;
  margin: 0 auto;
}
.erp-hero__breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 1.8rem;
}
.erp-hero__breadcrumb a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .3s;
}
.erp-hero__breadcrumb a:hover { color: #fff; }
.erp-hero__breadcrumb svg { width: 13px; height: 13px; opacity: .5; }
.erp-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  color: #d8b4fe;
  background: rgba(168,85,247,.1);
  border: 1px solid rgba(168,85,247,.22);
  padding: .42rem 1.2rem;
  border-radius: 100px;
  margin-bottom: 1.2rem;
  backdrop-filter: blur(6px);
}
.erp-hero__badge svg { width: 15px; height: 15px; opacity: .85; }
.erp-hero__title {
  font-family: var(--ff-ar-bold);
  font-size: clamp(2rem, 5vw, 3.6rem);
  color: #fff;
  line-height: 1.25;
  margin-bottom: .9rem;
  text-shadow: 0 2px 30px rgba(0,0,0,.2);
}
.erp-hero__title span {
  background: linear-gradient(90deg, var(--clr-accent, #a855f7), #f0abfc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.erp-hero__accent {
  width: 60px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--clr-accent, #a855f7), var(--clr-primary-light, #7c3aed));
  margin: 0 auto 1.2rem;
}
.erp-hero__desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.72);
  line-height: 1.9;
  max-width: 620px;
  margin: 0 auto 2rem;
}
.erp-hero__perks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem 1.5rem;
  margin-bottom: 2.5rem;
}
.erp-hero__perk,
.erp-hero__perks li {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  color: rgba(255,255,255,.75);
  list-style: none;
}
.erp-hero__perk svg,
.erp-hero__perks li svg { width: 15px; height: 15px; color: #86efac; flex-shrink: 0; }
.erp-hero__perks { padding: 0; }
.erp-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .9rem;
  margin-bottom: 3.5rem;
}
.erp-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-family: var(--ff-ar-medium);
  font-size: .95rem;
  text-decoration: none;
  transition: transform .3s, box-shadow .3s, opacity .3s;
}
.erp-hero__cta svg { width: 18px; height: 18px; flex-shrink: 0; }
.erp-hero__cta:hover { transform: translateY(-3px); }
.erp-hero__cta--primary {
  background: linear-gradient(135deg, var(--clr-primary, #542187), var(--clr-accent, #a855f7));
  color: #fff;
  box-shadow: 0 8px 28px rgba(168,85,247,.35);
}
.erp-hero__cta--primary:hover { box-shadow: 0 12px 36px rgba(168,85,247,.45); }
.erp-hero__cta--ghost {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  backdrop-filter: blur(6px);
}
.erp-hero__cta--ghost:hover { background: rgba(255,255,255,.14); }
.erp-hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1.6rem 2rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  max-width: 680px;
  margin: 0 auto;
}
.erp-hero__stat { text-align: center; }
.erp-hero__stat-num {
  display: block;
  font-family: var(--ff-ar-bold);
  font-size: 1.8rem;
  color: #fff;
  line-height: 1;
  margin-bottom: .2rem;
}
.erp-hero__stat-label {
  font-size: .75rem;
  color: rgba(255,255,255,.6);
}
.erp-hero__stat-sep {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.15);
}

/* ── Section shared ───────────────────────────────── */
.erp-section { padding: 6rem 0; }
.erp-section--alt { background: #faf8fd; }
.erp-section--dark {
  background: linear-gradient(135deg, #1d0a32 0%, #2d1149 100%);
  color: #fff;
}
.erp-section__head {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3.5rem;
}
.erp-section__badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  color: var(--clr-primary, #542187);
  background: rgba(84,33,135,.07);
  border: 1px solid rgba(84,33,135,.15);
  padding: .35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
  font-family: var(--ff-ar-medium);
}
.erp-section__badge svg { width: 14px; height: 14px; }
.erp-section--dark .erp-section__badge {
  color: #d8b4fe;
  background: rgba(168,85,247,.12);
  border-color: rgba(168,85,247,.25);
}
.erp-section__title {
  font-family: var(--ff-ar-bold);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #1a0a2e;
  margin-bottom: .8rem;
  line-height: 1.3;
}
.erp-section--dark .erp-section__title { color: #fff; }
.erp-section__title span {
  color: var(--clr-primary, #542187);
}
.erp-section--dark .erp-section__title span { color: #d8b4fe; }
.erp-section__accent {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-accent, #a855f7), var(--clr-primary-light, #7c3aed));
  border-radius: 2px;
  margin: 0 auto .9rem;
}
.erp-section__sub {
  font-size: .97rem;
  color: #64748b;
  line-height: 1.85;
}
.erp-section--dark .erp-section__sub { color: rgba(255,255,255,.65); }

/* ── Why Us Cards ─────────────────────────────────── */
.erp-why__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.erp-why__card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(84,33,135,.06);
  box-shadow: 0 4px 24px rgba(84,33,135,.05);
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  transition: transform .35s, box-shadow .35s;
}
.erp-why__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(84,33,135,.1);
  border-color: rgba(168,85,247,.15);
}
.erp-why__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(84,33,135,.1), rgba(168,85,247,.12));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--clr-primary, #542187);
}
.erp-why__icon svg { width: 24px; height: 24px; }
.erp-why__body h3 {
  font-family: var(--ff-ar-bold);
  font-size: 1.05rem;
  color: #1a0a2e;
  margin-bottom: .45rem;
}
.erp-why__body p {
  font-size: .88rem;
  color: #64748b;
  line-height: 1.75;
}

/* ── Types Grid ───────────────────────────────────── */
.erp-types__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.erp-type-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(84,33,135,.08);
  box-shadow: 0 4px 24px rgba(84,33,135,.05);
  transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s, border-color .4s;
  display: flex;
  flex-direction: column;
  position: relative;
}
.erp-type-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--clr-primary, #542187), var(--clr-accent, #a855f7), #7c3aed);
  opacity: 0;
  transition: opacity .35s;
}
.erp-type-card:hover::before { opacity: 1; }
.erp-type-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(84,33,135,.14);
  border-color: rgba(168,85,247,.18);
}
/* Hide the old thumb area visually — turn it into an icon showcase */
.erp-type-card__thumb {
  position: relative;
  height: 0;
  padding: 0;
  overflow: hidden;
  background: none;
  display: none;
}
.erp-type-card__thumb-icon { display: none; }
.erp-type-card__badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-size: .65rem;
  font-family: var(--ff-ar-medium);
  color: var(--clr-primary, #542187);
  background: linear-gradient(135deg, rgba(168,85,247,.08), rgba(84,33,135,.06));
  border: 1px solid rgba(168,85,247,.18);
  padding: .28rem .8rem;
  border-radius: 100px;
  z-index: 2;
  letter-spacing: .02em;
}
html[dir="ltr"] .erp-type-card__badge { right: auto; left: 1.2rem; }
.erp-type-card__body {
  padding: 2rem 1.8rem 1.2rem;
  flex: 1;
}
.erp-type-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(145deg, #f3e8ff, #ede9fe);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-primary, #542187);
  margin-bottom: 1.2rem;
  transition: background .35s, transform .35s, box-shadow .35s;
  position: relative;
}
.erp-type-card__icon::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 18px;
  border: 2px dashed rgba(168,85,247,.15);
  opacity: 0;
  transition: opacity .35s;
}
.erp-type-card:hover .erp-type-card__icon {
  background: linear-gradient(135deg, var(--clr-primary, #542187), var(--clr-accent, #a855f7));
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(84,33,135,.25);
}
.erp-type-card:hover .erp-type-card__icon::after { opacity: 1; }
.erp-type-card__icon svg { width: 26px; height: 26px; }
.erp-type-card__title {
  font-family: var(--ff-ar-bold);
  font-size: 1.1rem;
  color: #1a0a2e;
  margin-bottom: .55rem;
}
.erp-type-card__desc {
  font-size: .87rem;
  color: #64748b;
  line-height: 1.8;
}
.erp-type-card__footer {
  padding: 1rem 1.8rem 1.8rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .84rem;
  color: var(--clr-primary, #542187);
  font-family: var(--ff-ar-medium);
  text-decoration: none;
  transition: gap .3s, color .3s;
}
.erp-type-card__footer svg { width: 15px; height: 15px; transition: transform .3s; }
.erp-type-card:hover .erp-type-card__footer { gap: .7rem; color: var(--clr-accent, #a855f7); }
.erp-type-card:hover .erp-type-card__footer svg { transform: translateX(-3px); }
html[dir="ltr"] .erp-type-card:hover .erp-type-card__footer svg { transform: translateX(3px); }

/* ── Process ──────────────────────────────────────── */
.erp-process__track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.erp-process__track::before {
  content: "";
  position: absolute;
  top: 36px;
  right: 10%;
  left: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--clr-primary, #542187), var(--clr-accent, #a855f7));
  z-index: 0;
  opacity: .3;
}
.erp-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 .5rem;
}
.erp-step__num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-primary, #542187), var(--clr-accent, #a855f7));
  color: #fff;
  font-family: var(--ff-ar-bold);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  box-shadow: 0 6px 24px rgba(84,33,135,.3);
  position: relative;
}
.erp-step__num::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px dashed rgba(168,85,247,.3);
  animation: wdSpin 12s linear infinite;
}
@keyframes wdSpin { to { transform: rotate(360deg); } }
.erp-step__icon {
  position: absolute;
  bottom: -6px;
  left: -6px;
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  color: var(--clr-primary, #542187);
}
.erp-step__icon svg { width: 12px; height: 12px; }
.erp-step__title {
  font-family: var(--ff-ar-bold);
  font-size: .95rem;
  color: #1a0a2e;
  margin-bottom: .4rem;
}
.erp-section--dark .erp-step__title { color: #fff; }
.erp-step__desc {
  font-size: .8rem;
  color: #64748b;
  line-height: 1.7;
}
.erp-section--dark .erp-step__desc { color: rgba(255,255,255,.6); }

/* ── Stats Counter ────────────────────────────────── */
.erp-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.erp-stats__item {
  text-align: center;
  padding: 2.5rem 1rem;
  border-radius: 20px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  transition: background .35s;
}
.erp-stats__item:hover { background: rgba(255,255,255,.1); }
.erp-stats__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(168,85,247,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: #d8b4fe;
}
.erp-stats__icon svg { width: 24px; height: 24px; }
.erp-stats__num {
  font-family: var(--ff-ar-bold);
  font-size: 2.8rem;
  background: linear-gradient(135deg, #fff 30%, #d8b4fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: .3rem;
}
.erp-stats__label {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
}

/* ── Packages ─────────────────────────────────────── */
.erp-packages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.erp-pkg {
  background: #fff;
  border-radius: 24px;
  border: 1.5px solid rgba(84,33,135,.08);
  box-shadow: 0 4px 24px rgba(84,33,135,.05);
  overflow: hidden;
  transition: transform .35s, box-shadow .35s;
  position: relative;
}
.erp-pkg:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(84,33,135,.12);
}
.erp-pkg--featured {
  border-color: var(--clr-primary, #542187);
  transform: scale(1.04);
}
.erp-pkg--featured:hover { transform: scale(1.04) translateY(-6px); }
.erp-pkg__ribbon {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  font-size: .72rem;
  font-family: var(--ff-ar-bold);
  color: #fff;
  background: linear-gradient(135deg, var(--clr-primary, #542187), var(--clr-accent, #a855f7));
  padding: .3rem .9rem;
  border-radius: 100px;
}
html[dir="ltr"] .erp-pkg__ribbon { left: auto; right: 1.2rem; }
.erp-pkg__head {
  padding: 2rem 2rem 1.5rem;
  border-bottom: 1px solid rgba(84,33,135,.07);
  text-align: center;
}
.erp-pkg--featured .erp-pkg__head {
  background: linear-gradient(135deg, rgba(84,33,135,.05), rgba(168,85,247,.06));
}
.erp-pkg__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(84,33,135,.1), rgba(168,85,247,.12));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--clr-primary, #542187);
}
.erp-pkg--featured .erp-pkg__icon {
  background: linear-gradient(135deg, var(--clr-primary, #542187), var(--clr-accent, #a855f7));
  color: #fff;
}
.erp-pkg__icon svg { width: 26px; height: 26px; }
.erp-pkg__name {
  font-family: var(--ff-ar-bold);
  font-size: 1.15rem;
  color: #1a0a2e;
  margin-bottom: .3rem;
}
.erp-pkg__tagline {
  font-size: .8rem;
  color: #94a3b8;
  margin-bottom: 1.2rem;
}
.erp-pkg__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .3rem;
}
.erp-pkg__amount {
  font-family: var(--ff-ar-bold);
  font-size: 2.4rem;
  color: var(--clr-primary, #542187);
  line-height: 1;
}
.erp-pkg__currency {
  font-size: .9rem;
  color: #64748b;
}
.erp-pkg__period {
  font-size: .78rem;
  color: #94a3b8;
  display: block;
  margin-top: .3rem;
}
.erp-pkg__body { padding: 1.8rem 2rem; }
.erp-pkg__features { list-style: none; margin: 0 0 1.8rem; padding: 0; }
.erp-pkg__features li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .88rem;
  color: #475569;
  padding: .55rem 0;
  border-bottom: 1px solid rgba(84,33,135,.05);
}
.erp-pkg__features li:last-child { border-bottom: none; }
.erp-pkg__features li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; }
.erp-pkg__features li.has { color: #1e293b; }
.erp-pkg__features li.has svg { color: #22c55e; }
.erp-pkg__features li.no { opacity: .45; }
.erp-pkg__features li.no svg { color: #94a3b8; }
.erp-pkg__btn {
  display: block;
  text-align: center;
  padding: .9rem;
  border-radius: 12px;
  font-family: var(--ff-ar-medium);
  font-size: .95rem;
  text-decoration: none;
  transition: all .3s;
}
.erp-pkg__btn--outline {
  border: 1.5px solid rgba(84,33,135,.25);
  color: var(--clr-primary, #542187);
}
.erp-pkg__btn--outline:hover {
  background: rgba(84,33,135,.06);
  border-color: var(--clr-primary, #542187);
}
.erp-pkg__btn--fill {
  background: linear-gradient(135deg, var(--clr-primary, #542187), var(--clr-accent, #a855f7));
  color: #fff;
  box-shadow: 0 6px 22px rgba(84,33,135,.3);
}
.erp-pkg__btn--fill:hover {
  box-shadow: 0 10px 30px rgba(84,33,135,.4);
  transform: translateY(-2px);
}

/* ── Portfolio Showcase ───────────────────────────── */
.erp-portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.erp-portfolio__item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #f0ecf5;
}
.erp-portfolio__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.22,1,.36,1);
}
.erp-portfolio__item:hover img { transform: scale(1.06); }
.erp-portfolio__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(29,10,50,.85) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .35s;
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
}
.erp-portfolio__item:hover .erp-portfolio__overlay { opacity: 1; }
.erp-portfolio__label {
  font-family: var(--ff-ar-medium);
  font-size: .88rem;
  color: #fff;
}
.erp-portfolio__cat {
  display: inline-block;
  font-size: .72rem;
  color: #d8b4fe;
  background: rgba(168,85,247,.25);
  padding: .18rem .65rem;
  border-radius: 100px;
  margin-bottom: .3rem;
}
.erp-portfolio__cta-wrap {
  text-align: center;
  margin-top: 2.5rem;
}
.erp-portfolio__more {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 2rem;
  border-radius: 50px;
  border: 1.5px solid rgba(84,33,135,.25);
  color: var(--clr-primary, #542187);
  font-family: var(--ff-ar-medium);
  font-size: .9rem;
  text-decoration: none;
  transition: all .3s;
}
.erp-portfolio__more:hover {
  background: rgba(84,33,135,.06);
  border-color: var(--clr-primary, #542187);
  transform: translateY(-2px);
}
.erp-portfolio__more svg { width: 16px; height: 16px; transition: transform .3s; }
.erp-portfolio__more:hover svg { transform: translateX(-3px); }
html[dir="ltr"] .erp-portfolio__more:hover svg { transform: translateX(3px); }

/* ── Technologies ─────────────────────────────────── */
.erp-tech__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.erp-tech-badge {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .7rem 1.4rem;
  background: #fff;
  border: 1px solid rgba(84,33,135,.09);
  border-radius: 50px;
  font-family: var(--ff-ar-medium);
  font-size: .85rem;
  color: #1a0a2e;
  box-shadow: 0 2px 12px rgba(84,33,135,.05);
  transition: transform .3s, box-shadow .3s;
}
.erp-tech-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(84,33,135,.1);
}
.erp-tech-badge__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dot-color, var(--clr-primary, #542187));
  flex-shrink: 0;
}

/* ── Testimonials ─────────────────────────────────── */
.erp-testi__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.erp-testi-card {
  background: #fff;
  border-radius: 20px;
  padding: 1.8rem;
  border: 1px solid rgba(84,33,135,.07);
  box-shadow: 0 4px 20px rgba(84,33,135,.05);
  transition: transform .35s, box-shadow .35s;
  display: flex;
  flex-direction: column;
}
.erp-testi-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(84,33,135,.1);
}
.erp-testi-card__stars {
  display: flex;
  gap: .2rem;
  margin-bottom: 1rem;
  color: #f59e0b;
}
.erp-testi-card__stars svg { width: 16px; height: 16px; }
.erp-testi-card__text {
  font-size: .9rem;
  color: #475569;
  line-height: 1.85;
  margin-bottom: 1.5rem;
  flex: 1;
}
.erp-testi-card__text::before { content: '"'; }
.erp-testi-card__text::after  { content: '"'; }
.erp-testi-card__author {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(84,33,135,.06);
}
.erp-testi-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(84,33,135,.15), rgba(168,85,247,.2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-primary, #542187);
  flex-shrink: 0;
  font-family: var(--ff-ar-bold);
  font-size: 1rem;
}
.erp-testi-card__name {
  font-family: var(--ff-ar-bold);
  font-size: .9rem;
  color: #1a0a2e;
}
.erp-testi-card__role {
  font-size: .78rem;
  color: #94a3b8;
}

/* ── FAQ ──────────────────────────────────────────── */
.erp-faq__list { max-width: 780px; margin: 0 auto; }
.erp-faq__item {
  border: 1px solid rgba(84,33,135,.1);
  border-radius: 14px;
  margin-bottom: .85rem;
  overflow: hidden;
  transition: box-shadow .3s;
}
.erp-faq__item.is-open {
  box-shadow: 0 6px 28px rgba(84,33,135,.09);
  border-color: rgba(168,85,247,.25);
}
.erp-faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: #fff;
  border: none;
  cursor: pointer;
  text-align: right;
  font-family: var(--ff-ar-medium);
  font-size: .95rem;
  color: #1a0a2e;
  transition: background .3s;
}
html[dir="ltr"] .erp-faq__q { text-align: left; }
.erp-faq__item.is-open .erp-faq__q { background: rgba(84,33,135,.03); }
.erp-faq__q:hover { background: rgba(84,33,135,.03); }
.erp-faq__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(84,33,135,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--clr-primary, #542187);
  transition: background .3s, transform .4s;
}
.erp-faq__icon svg { width: 14px; height: 14px; }
.erp-faq__item.is-open .erp-faq__icon {
  background: var(--clr-primary, #542187);
  color: #fff;
  transform: rotate(180deg);
}
.erp-faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s cubic-bezier(.22,1,.36,1), padding .3s;
  background: #fff;
}
.erp-faq__item.is-open .erp-faq__a { max-height: 400px; }
.erp-faq__a-inner {
  padding: 0 1.5rem 1.3rem;
  font-size: .88rem;
  color: #64748b;
  line-height: 1.85;
}

/* ── Bottom CTA ───────────────────────────────────── */
.erp-cta {
  background: linear-gradient(135deg, #1d0a32 0%, #3b1260 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.erp-cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168,85,247,.12) 0%, transparent 70%);
  pointer-events: none;
}
.erp-cta__inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.erp-cta__badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  color: #d8b4fe;
  background: rgba(168,85,247,.12);
  border: 1px solid rgba(168,85,247,.25);
  padding: .35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.2rem;
}
.erp-cta__badge svg { width: 14px; height: 14px; }
.erp-cta__title {
  font-family: var(--ff-ar-bold);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: #fff;
  margin-bottom: .8rem;
  line-height: 1.35;
}
.erp-cta__desc {
  font-size: .97rem;
  color: rgba(255,255,255,.65);
  line-height: 1.85;
  margin-bottom: 2.2rem;
}
.erp-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .9rem;
}
.erp-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 2rem;
  border-radius: 50px;
  font-family: var(--ff-ar-medium);
  font-size: .95rem;
  text-decoration: none;
  transition: all .3s;
}
.erp-cta__btn--primary {
  background: linear-gradient(135deg, var(--clr-accent, #a855f7), #7c3aed);
  color: #fff;
  box-shadow: 0 8px 28px rgba(168,85,247,.35);
}
.erp-cta__btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(168,85,247,.45);
}
.erp-cta__btn--ghost {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
}
.erp-cta__btn--ghost:hover { background: rgba(255,255,255,.14); transform: translateY(-3px); }
.erp-cta__btn svg { width: 18px; height: 18px; }

/* ── Section header alias (HTML uses __header, CSS had __head) ── */
.erp-section__header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3.5rem;
}

/* ── Badge (standalone class used in HTML) ───────── */
.erp-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  color: var(--clr-primary, #542187);
  background: rgba(84,33,135,.07);
  border: 1px solid rgba(84,33,135,.15);
  padding: .35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
  font-family: var(--ff-ar-medium);
}
.erp-badge svg { width: 14px; height: 14px; }
.erp-badge--light {
  color: #d8b4fe;
  background: rgba(168,85,247,.12);
  border-color: rgba(168,85,247,.25);
}

/* ── Subtitle alias (HTML uses __subtitle) ───────── */
.erp-section__subtitle {
  font-size: .97rem;
  color: #64748b;
  line-height: 1.85;
}
.erp-section--dark .erp-section__subtitle,
.erp-section__subtitle--light { color: rgba(255,255,255,.65); }
.erp-section__title--light { color: #fff; }

/* ── CTA btns alias (HTML uses __btns, CSS had __actions) ── */
.erp-cta__btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .9rem;
}
.erp-cta__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ── Features Grid ───────────────────────────────── */
.erp-features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.erp-feature__card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem 1.6rem;
  border: 1px solid rgba(84,33,135,.07);
  box-shadow: 0 4px 24px rgba(84,33,135,.05);
  text-align: center;
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s, border-color .35s;
}
.erp-feature__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(84,33,135,.12);
  border-color: rgba(168,85,247,.18);
}
svg.erp-feature__icon,
.erp-feature__icon {
  width: 52px;
  height: 52px;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(84,33,135,.1), rgba(168,85,247,.12));
  display: block;
  margin: 0 auto 1.2rem;
  color: var(--clr-primary, #542187);
  transition: background .35s, color .35s, transform .35s;
  box-sizing: border-box;
}
.erp-feature__card:hover .erp-feature__icon {
  background: linear-gradient(135deg, var(--clr-primary, #542187), var(--clr-accent, #a855f7));
  color: #fff;
  transform: scale(1.1);
}
.erp-feature__title {
  font-family: var(--ff-ar-bold);
  font-size: 1rem;
  color: #1a0a2e;
  margin-bottom: .45rem;
}
.erp-feature__desc {
  font-size: .85rem;
  color: #64748b;
  line-height: 1.75;
}

/* ── Supported Systems Grid ──────────────────────── */
.erp-systems__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.erp-system__badge {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .7rem 1.4rem;
  background: #fff;
  border: 1px solid rgba(84,33,135,.09);
  border-radius: 50px;
  font-family: var(--ff-ar-medium);
  font-size: .85rem;
  color: #1a0a2e;
  box-shadow: 0 2px 12px rgba(84,33,135,.05);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.erp-system__badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(84,33,135,.1);
  border-color: var(--sys-color, rgba(168,85,247,.3));
}
.erp-system__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sys-color, var(--clr-primary, #542187));
  flex-shrink: 0;
}
.erp-system__name {
  white-space: nowrap;
}

/* ── Testimonial card aliases (HTML uses __ not -) ── */
.erp-testi__card {
  background: #fff;
  border-radius: 20px;
  padding: 1.8rem;
  border: 1px solid rgba(84,33,135,.07);
  box-shadow: 0 4px 20px rgba(84,33,135,.05);
  transition: transform .35s, box-shadow .35s;
  display: flex;
  flex-direction: column;
}
.erp-testi__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(84,33,135,.1);
}
.erp-testi__stars {
  display: flex;
  gap: .2rem;
  margin-bottom: 1rem;
  color: #f59e0b;
}
.erp-testi__stars svg { width: 16px; height: 16px; }
.erp-testi__text {
  font-size: .9rem;
  color: #475569;
  line-height: 1.85;
  margin-bottom: 1.5rem;
  flex: 1;
}
.erp-testi__author {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(84,33,135,.06);
}
.erp-testi__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(84,33,135,.15), rgba(168,85,247,.2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-primary, #542187);
  flex-shrink: 0;
  font-family: var(--ff-ar-bold);
  font-size: 1rem;
}
.erp-testi__info { min-width: 0; }
.erp-testi__name {
  font-family: var(--ff-ar-bold);
  font-size: .9rem;
  color: #1a0a2e;
}
.erp-testi__role {
  font-size: .78rem;
  color: #94a3b8;
}

/* ── Package feature aliases (HTML uses --included/--excluded) ── */
.erp-pkg__feature--included { color: #1e293b; }
.erp-pkg__feature--included svg { color: #22c55e; }
.erp-pkg__feature--excluded { opacity: .45; }
.erp-pkg__feature--excluded svg { color: #94a3b8; }

/* ── Why Us card aliases (HTML uses __content/__title/__desc) ── */
.erp-why__content h3,
.erp-why__title {
  font-family: var(--ff-ar-bold);
  font-size: 1.05rem;
  color: #1a0a2e;
  margin-bottom: .45rem;
}
.erp-why__content p,
.erp-why__desc {
  font-size: .88rem;
  color: #64748b;
  line-height: 1.75;
}

/* ── What is ERP section ─────────────────────────── */
.erp-what__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.erp-what__content {
  font-size: .95rem;
  color: #475569;
  line-height: 1.9;
}
.erp-what__content p {
  margin-bottom: 1.2rem;
}
.erp-what__content p:last-child { margin-bottom: 0; }
.erp-what__visual {
  position: relative;
}
.erp-what__points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.erp-what__point {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: 1rem 1.2rem;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(84,33,135,.08);
  box-shadow: 0 3px 16px rgba(84,33,135,.05);
  font-family: var(--ff-ar-medium);
  font-size: .85rem;
  color: #1a0a2e;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.erp-what__point:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(84,33,135,.1);
  border-color: rgba(168,85,247,.2);
}
.erp-what__point svg {
  width: 22px;
  height: 22px;
  color: var(--clr-primary, #542187);
  flex-shrink: 0;
}

/* ── Type card aliases (HTML uses erp-type__* not erp-type-card__*) ── */
.erp-type__card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(84,33,135,.08);
  box-shadow: 0 4px 24px rgba(84,33,135,.05);
  transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s, border-color .4s;
  display: flex;
  flex-direction: column;
  position: relative;
}
.erp-type__card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--clr-primary, #542187), var(--clr-accent, #a855f7), #7c3aed);
  opacity: 0;
  transition: opacity .35s;
}
.erp-type__card:hover::before { opacity: 1; }
.erp-type__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(84,33,135,.14);
  border-color: rgba(168,85,247,.18);
}
.erp-type__thumb { display: none; }
.erp-type__badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-size: .65rem;
  font-family: var(--ff-ar-medium);
  color: var(--clr-primary, #542187);
  background: linear-gradient(135deg, rgba(168,85,247,.08), rgba(84,33,135,.06));
  border: 1px solid rgba(168,85,247,.18);
  padding: .28rem .8rem;
  border-radius: 100px;
  z-index: 2;
}
html[dir="ltr"] .erp-type__badge { right: auto; left: 1.2rem; }
.erp-type__body {
  padding: 2rem 1.8rem 1.2rem;
  flex: 1;
}
svg.erp-type__icon,
.erp-type__icon {
  width: 60px;
  height: 60px;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(145deg, #f3e8ff, #ede9fe);
  display: block;
  color: var(--clr-primary, #542187);
  margin-bottom: 1.2rem;
  transition: background .35s, transform .35s, box-shadow .35s;
  box-sizing: border-box;
}
.erp-type__card:hover .erp-type__icon {
  background: linear-gradient(135deg, var(--clr-primary, #542187), var(--clr-accent, #a855f7));
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(84,33,135,.25);
}
.erp-type__title {
  font-family: var(--ff-ar-bold);
  font-size: 1.1rem;
  color: #1a0a2e;
  margin-bottom: .55rem;
}
.erp-type__desc {
  font-size: .87rem;
  color: #64748b;
  line-height: 1.8;
}
.erp-type__footer {
  padding: 1rem 1.8rem 1.8rem;
}
.erp-type__link {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .84rem;
  color: var(--clr-primary, #542187);
  font-family: var(--ff-ar-medium);
  text-decoration: none;
  transition: gap .3s, color .3s;
}
.erp-type__link svg { width: 15px; height: 15px; transition: transform .3s; }
.erp-type__card:hover .erp-type__link { gap: .7rem; color: var(--clr-accent, #a855f7); }
.erp-type__card:hover .erp-type__link svg { transform: translateX(-3px); }
html[dir="ltr"] .erp-type__card:hover .erp-type__link svg { transform: translateX(3px); }

/* ── Process aliases (HTML uses erp-process__* not erp-step__*) ── */
.erp-process__step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 .5rem;
}
.erp-process__circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-primary, #542187), var(--clr-accent, #a855f7));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  box-shadow: 0 6px 24px rgba(84,33,135,.3);
  position: relative;
}
.erp-process__circle::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px dashed rgba(168,85,247,.3);
  animation: wdSpin 12s linear infinite;
}
.erp-process__num {
  font-family: var(--ff-ar-bold);
  font-size: 1.3rem;
}
.erp-process__icon-badge {
  position: absolute;
  bottom: -6px;
  left: -6px;
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  color: var(--clr-primary, #542187);
}
.erp-process__icon-badge svg { width: 12px; height: 12px; }
.erp-process__title {
  font-family: var(--ff-ar-bold);
  font-size: .95rem;
  color: #1a0a2e;
  margin-bottom: .4rem;
}
.erp-process__desc {
  font-size: .8rem;
  color: #64748b;
  line-height: 1.7;
}
.erp-process__connector {
  display: none;
}

/* ── Stat aliases (HTML uses erp-stat not erp-stats__item) ── */
.erp-stat {
  text-align: center;
  padding: 2.5rem 1rem;
  border-radius: 20px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  transition: background .35s;
}
.erp-stat:hover { background: rgba(255,255,255,.1); }
svg.erp-stat__icon,
.erp-stat__icon {
  width: 52px;
  height: 52px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(168,85,247,.15);
  display: block;
  margin: 0 auto 1rem;
  color: #d8b4fe;
  box-sizing: border-box;
}
.erp-stat__num {
  font-family: var(--ff-ar-bold);
  font-size: 2.8rem;
  background: linear-gradient(135deg, #fff 30%, #d8b4fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: .3rem;
}
.erp-stat__label {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
}

/* ── FAQ answer paragraph (HTML uses <p> directly, not __inner) ── */
.erp-faq__a p {
  padding: 0 1.5rem 1.3rem;
  font-size: .88rem;
  color: #64748b;
  line-height: 1.85;
  margin: 0;
}

/* ── Smooth scroll ───────────────────────────────── */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .erp-animate { transition: none !important; animation: none !important; }
  .erp-hero__bg img { animation: none !important; }
  .erp-step__num::after { animation: none !important; }
}

/* ── Focus accessibility ─────────────────────────── */
.erp-hero__cta:focus-visible,
.erp-pkg__btn:focus-visible,
.erp-cta__btn:focus-visible,
.erp-portfolio__more:focus-visible,
.erp-faq__q:focus-visible,
.erp-type-card:focus-visible {
  outline: 2px solid var(--clr-accent, #a855f7);
  outline-offset: 3px;
}

/* ── Technologies Grid (3D Cards) ─────────────────── */
.erp-techgrid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  perspective: 1200px;
}
.erp-techcard {
  perspective: 800px;
  cursor: default;
}
.erp-techcard__face {
  background: #fff;
  border-radius: 20px;
  padding: 1.8rem 1rem;
  text-align: center;
  border: 1.5px solid rgba(84,33,135,.06);
  box-shadow: 0 4px 20px rgba(84,33,135,.06);
  transition: transform .5s cubic-bezier(.23,1,.32,1), box-shadow .5s cubic-bezier(.23,1,.32,1);
  transform-style: preserve-3d;
  will-change: transform;
  position: relative;
  overflow: hidden;
}
.erp-techcard__face::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, transparent 40%, rgba(var(--tc-rgb, 84,33,135), .06));
  opacity: 0;
  transition: opacity .4s;
}
.erp-techcard:hover .erp-techcard__face::before { opacity: 1; }
.erp-techcard:hover .erp-techcard__face {
  transform: rotateY(-8deg) rotateX(5deg) translateZ(20px);
  box-shadow:
    0 20px 40px rgba(84,33,135,.12),
    0 0 0 1px rgba(84,33,135,.08);
}
.erp-techcard__logo {
  width: 48px;
  height: 48px;
  color: var(--tc, #542187);
  display: block;
  margin: 0 auto 1rem;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.1));
  transition: transform .5s cubic-bezier(.23,1,.32,1), filter .4s;
}
.erp-techcard:hover .erp-techcard__logo {
  transform: translateZ(30px) scale(1.12);
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.18));
}
.erp-techcard__name {
  font-family: var(--ff-ar-bold, 'Cairo', sans-serif);
  font-size: .85rem;
  color: #1a0a2e;
  text-transform: uppercase;
  letter-spacing: .5px;
  display: block;
  transition: color .3s;
}
.erp-techcard:hover .erp-techcard__name { color: var(--tc, #542187); }

/* floating shimmer on tech cards */
@keyframes erp-shimmer {
  0%   { transform: translateX(-100%) rotate(25deg); }
  100% { transform: translateX(200%) rotate(25deg); }
}
.erp-techcard__face::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 60%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transform: translateX(-100%) rotate(25deg);
  pointer-events: none;
}
.erp-techcard:hover .erp-techcard__face::after {
  animation: erp-shimmer .8s ease forwards;
}

/* ── E-Commerce Orbit Layout ─────────────────────── */
.erp-ecom__orbit {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.erp-ecom__ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(84,33,135,.1);
  animation: erp-orbit-pulse 6s ease-in-out infinite;
}
.erp-ecom__ring--1 { width: 55%; height: 55%; animation-delay: 0s; }
.erp-ecom__ring--2 { width: 75%; height: 75%; animation-delay: 2s; }
.erp-ecom__ring--3 { width: 95%; height: 95%; animation-delay: 4s; }

@keyframes erp-orbit-pulse {
  0%, 100% { opacity: .3; transform: scale(1); }
  50%      { opacity: .7; transform: scale(1.02); }
}
.erp-ecom__center {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-primary, #542187), var(--clr-accent, #a855f7));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(84,33,135,.25), 0 0 80px rgba(84,33,135,.1);
  z-index: 2;
  animation: erp-center-glow 3s ease-in-out infinite;
}
.erp-ecom__center svg { width: 36px; height: 36px; color: #fff; }
@keyframes erp-center-glow {
  0%, 100% { box-shadow: 0 0 40px rgba(84,33,135,.25), 0 0 80px rgba(84,33,135,.1); }
  50%      { box-shadow: 0 0 60px rgba(84,33,135,.35), 0 0 120px rgba(84,33,135,.15); }
}

.erp-ecom__item {
  position: absolute;
  z-index: 3;
  animation: erp-float-item 5s ease-in-out infinite;
  animation-delay: var(--fd, 0s);
}
@keyframes erp-float-item {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.erp-ecom__card {
  width: 100px;
  height: 80px;
  background: #fff;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  box-shadow: 0 8px 32px rgba(84,33,135,.08);
  border: 1.5px solid rgba(84,33,135,.06);
  transition: transform .45s cubic-bezier(.23,1,.32,1), box-shadow .45s;
  cursor: default;
  perspective: 600px;
  transform-style: preserve-3d;
}
.erp-ecom__card:hover {
  transform: rotateY(-10deg) rotateX(8deg) translateZ(15px) scale(1.08);
  box-shadow:
    0 20px 50px rgba(84,33,135,.15),
    0 0 0 2px var(--ecom-color, #542187);
}
.erp-ecom__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ecom-color, #542187), color-mix(in srgb, var(--ecom-color, #542187) 70%, #fff));
  color: #fff;
  font-family: var(--ff-ar-bold, 'Cairo', sans-serif);
  font-size: .7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: -.5px;
  transition: transform .4s cubic-bezier(.23,1,.32,1);
}
.erp-ecom__card:hover .erp-ecom__icon {
  transform: translateZ(20px) rotateY(180deg);
}
.erp-ecom__name {
  font-family: var(--ff-ar-bold, 'Cairo', sans-serif);
  font-size: .62rem;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: .3px;
  text-align: center;
  white-space: nowrap;
}


/* ── Scroll animations ────────────────────────────── */
.erp-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1);
}
.erp-animate.is-visible { opacity: 1; transform: translateY(0); }
.erp-animate[data-delay="1"] { transition-delay: .1s; }
.erp-animate[data-delay="2"] { transition-delay: .2s; }
.erp-animate[data-delay="3"] { transition-delay: .3s; }
.erp-animate[data-delay="4"] { transition-delay: .4s; }
.erp-animate[data-delay="5"] { transition-delay: .5s; }
.erp-animate[data-delay="6"] { transition-delay: .6s; }
.erp-animate[data-delay="7"] { transition-delay: .7s; }
.erp-animate[data-delay="8"] { transition-delay: .8s; }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1024px) {
  .erp-types__grid { grid-template-columns: repeat(2, 1fr); }
  .erp-features__grid { grid-template-columns: repeat(2, 1fr); }
  .erp-process__track { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .erp-process__track::before { display: none; }
  .erp-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .erp-packages__grid { grid-template-columns: repeat(2, 1fr); }
  .erp-pkg--featured { transform: scale(1); grid-column: span 2; max-width: 440px; justify-self: center; }
  .erp-pkg--featured:hover { transform: translateY(-6px); }
  .erp-testi__grid { grid-template-columns: repeat(2, 1fr); }
  .erp-techgrid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .erp-section { padding: 4rem 0; }
  .erp-hero__content { padding: calc(var(--nav-h, 72px) + 2.5rem) 0 3rem; }
  .erp-hero__desc { font-size: clamp(0.88rem, 2.5vw, 1.05rem); }
  .erp-hero__perks { gap: 0.4rem 1rem; margin-bottom: 2rem; }
  .erp-hero__ctas { gap: 0.7rem; margin-bottom: 2.5rem; }
  .erp-hero__cta { padding: 0.75rem 1.6rem; font-size: 0.88rem; }
  .erp-hero__stat-sep { display: none; }
  .erp-hero__stats { gap: 0.8rem; padding: 1.2rem 1.2rem; }
  .erp-hero__stat-num { font-size: 1.5rem; }
  .erp-why__grid { grid-template-columns: 1fr; }
  .erp-types__grid { grid-template-columns: 1fr; }
  .erp-features__grid { grid-template-columns: 1fr; }
  .erp-what__grid { grid-template-columns: 1fr; }
  .erp-what__points { grid-template-columns: 1fr 1fr; }
  .erp-process__track { grid-template-columns: repeat(2, 1fr); }
  .erp-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .erp-portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .erp-testi__grid { grid-template-columns: 1fr; }
  .erp-packages__grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .erp-pkg--featured { grid-column: span 1; }
  .erp-systems__grid { gap: .7rem; }
  .erp-cta__btns { flex-direction: column; align-items: center; }
  .erp-techgrid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .erp-techcard__face { padding: 1.2rem .8rem; }
  .erp-techcard__logo { width: 38px; height: 38px; }
  .erp-ecom__orbit { max-width: 600px; }
  .erp-ecom__card { width: 85px; height: 70px; }
  .erp-ecom__icon { width: 30px; height: 30px; font-size: .6rem; }
  .erp-ecom__name { font-size: .55rem; }
  .erp-cta__title { font-size: clamp(1.4rem, 3vw, 2rem); }
  .erp-cta__desc { font-size: 0.88rem; }
  .erp-cta__btn { padding: 0.75rem 1.4rem; font-size: 0.88rem; }
  .erp-hero__overlay::after { width: 400px; height: 250px; }
}
@media (max-width: 480px) {
  .erp-hero { min-height: auto; }
  .erp-hero__content { padding: calc(var(--nav-h, 72px) + 1.5rem) 0 2rem; }
  .erp-hero__breadcrumb { font-size: 0.72rem; margin-bottom: 1.2rem; }
  .erp-hero__badge { font-size: 0.72rem; padding: 0.35rem 0.9rem; margin-bottom: 0.8rem; }
  .erp-hero__title { font-size: clamp(1.5rem, 6vw, 2rem); }
  .erp-hero__desc { font-size: 0.85rem; line-height: 1.75; }
  .erp-hero__perks { gap: 0.3rem 0.8rem; font-size: 0.78rem; }
  .erp-hero__ctas { flex-direction: column; align-items: center; }
  .erp-hero__cta { width: 100%; max-width: 280px; justify-content: center; }
  .erp-hero__stats { padding: 0.8rem; gap: 0.6rem; border-radius: 12px; }
  .erp-hero__stat-num { font-size: 1.2rem; }
  .erp-hero__stat-label { font-size: 0.68rem; }
  .erp-process__track { grid-template-columns: 1fr; }
  .erp-stats__grid { grid-template-columns: 1fr; }
  .erp-portfolio__grid { grid-template-columns: 1fr; }
  .erp-features__grid { grid-template-columns: 1fr; }
  .erp-what__points { grid-template-columns: 1fr; }
  .erp-system__badge { font-size: .78rem; padding: .55rem 1rem; }
  .erp-techgrid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .erp-techcard__face { padding: 1rem .7rem; border-radius: 14px; }
  .erp-techcard__logo { width: 32px; height: 32px; margin-bottom: .6rem; }
  .erp-techcard__name { font-size: .75rem; }
  .erp-ecom__orbit {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    aspect-ratio: auto;
    max-width: 100%;
  }
  .erp-ecom__ring { display: none; }
  .erp-ecom__center { display: none; }
  .erp-ecom__item { position: static; }
  .erp-ecom__card { width: 100%; height: auto; padding: 1rem .5rem; }
  .erp-cta__btns { width: 100%; }
  .erp-cta__btn { width: 100%; max-width: 280px; justify-content: center; }
  .erp-hero__overlay::after { width: 280px; height: 180px; }
}

