:root {
    --erp-blue: #1457ff;
    --erp-blue-700: #0f3bd8;
    --erp-navy: #071849;
    --erp-ink: #101a3f;
    --erp-muted: #607098;
    --erp-line: #e3e9f8;
    --erp-soft: #f6f9ff;
    --erp-card: #ffffff;
    --erp-green: #22c55e;
    --erp-orange: #f97316;
    --erp-violet: #8b5cf6;
    --erp-shadow: 0 22px 60px rgba(20, 87, 255, 0.12);
}

html {
    scroll-behavior: smooth;
}

.intelligent-landing,
.intelligent-nav,
.erp-footer {
    color: var(--erp-ink);
    font-family: "Outfit", "Segoe UI", sans-serif;
    letter-spacing: 0;
}

[dir="rtl"] .intelligent-landing,
[dir="rtl"] .intelligent-nav,
[dir="rtl"] .erp-footer {
    font-family: "Tajawal", "Segoe UI", sans-serif;
}

.intelligent-landing *,
.intelligent-nav *,
.erp-footer * {
    box-sizing: border-box;
}

.intelligent-landing a,
.intelligent-nav a,
.erp-footer a {
    text-decoration: none;
}

.intelligent-nav-shell {
    height: 86px;
    position: relative;
    z-index: 50;
}

.intelligent-nav {
    width: min(1240px, calc(100% - 48px));
    height: 86px;
    display: flex;
    align-items: center;
    margin: 0 auto;
    padding: 0;
    transition: background 220ms ease, box-shadow 220ms ease, height 220ms ease;
}

.intelligent-nav.hero-nav--is-sticky {
    width: min(1240px, calc(100% - 32px));
    height: 72px;
    padding: 0 18px !important;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(214, 224, 250, 0.8);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 18px 45px rgba(8, 30, 91, 0.12);
    backdrop-filter: blur(18px);
}

.intelligent-nav__bar {
    display: flex;
    gap: 18px;
}

.intelligent-nav .hero-nav__item {
    margin: 0;
    padding: 0;
    width: auto;
    font-size: 0.95rem;
}

.intelligent-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--erp-ink);
    min-width: 190px;
}

.intelligent-brand:hover {
    color: var(--erp-ink);
}

.intelligent-brand__mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(145deg, #2165ff, #0e39ca);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(20, 87, 255, 0.28);
    flex: 0 0 auto;
}

.intelligent-brand__copy {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.intelligent-brand__copy strong {
    color: var(--erp-ink);
    font-size: 1.05rem;
    font-weight: 800;
}

.intelligent-brand__copy small {
    color: var(--erp-muted);
    font-size: 0.72rem;
    font-weight: 600;
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.intelligent-nav .ft-menu {
    color: var(--erp-ink);
}

.intelligent-nav .ft-menu::before {
    background: rgba(7, 24, 73, 0.72);
}

@media (min-width: 992px) {
    .intelligent-nav .ft-menu {
        position: static;
        visibility: visible;
        opacity: 1;
        animation: none;
        inset: auto;
        z-index: auto;
    }

    .intelligent-nav .ft-menu::before {
        content: none;
    }

    .intelligent-nav .ft-menu__slider {
        width: auto;
        height: auto;
        transform: none;
        overflow: visible;
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
    }
}

.intelligent-nav__mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--erp-line);
    font-weight: 800;
}

.intelligent-nav__mobile-head button,
.intelligent-nav__toggle {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--erp-blue);
    background: #eef4ff;
}

.intelligent-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--erp-ink);
    font-size: 0.95rem;
    font-weight: 700;
    opacity: 1;
    padding: 10px 4px;
    position: relative;
    transition: color 180ms ease;
}

.intelligent-nav__link::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 3px;
    height: 2px;
    background: var(--erp-blue);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 180ms ease;
}

.intelligent-nav__link:hover,
.intelligent-nav__link:focus,
.intelligent-nav__link.is-active {
    color: var(--erp-blue);
}

.intelligent-nav__link:hover::after,
.intelligent-nav__link:focus::after,
.intelligent-nav__link.is-active::after {
    transform: scaleX(1);
}

.intelligent-nav__chevron {
    font-size: 0.72rem;
}

.intelligent-nav__dropdown {
    background: #fff;
    border: 1px solid var(--erp-line);
    border-radius: 8px;
    box-shadow: var(--erp-shadow);
    padding: 12px;
}

.intelligent-nav__dropdown-link {
    display: block;
    color: var(--erp-ink);
    margin: 0;
    padding: 10px 12px;
    border-radius: 6px;
    font-weight: 700;
}

.intelligent-nav__dropdown-link:hover {
    color: var(--erp-blue);
    background: #f2f6ff;
}

.erp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.erp-btn:hover,
.erp-btn:focus {
    transform: translateY(-2px);
}

.erp-btn:active {
    transform: translateY(0) scale(0.98);
}

.erp-btn--sm {
    min-height: 42px;
    padding: 0 18px;
    font-size: 0.9rem;
}

.erp-btn--primary {
    color: #fff;
    background: linear-gradient(180deg, #2165ff, #1246e8);
    box-shadow: 0 14px 28px rgba(20, 87, 255, 0.24);
}

.erp-btn--primary:hover,
.erp-btn--primary:focus {
    color: #fff;
    box-shadow: 0 18px 34px rgba(20, 87, 255, 0.3);
}

.erp-btn--outline {
    color: var(--erp-blue);
    background: #fff;
    border-color: #9db7ff;
}

.erp-btn--outline:hover,
.erp-btn--outline:focus {
    color: var(--erp-blue-700);
    background: #f8fbff;
    border-color: var(--erp-blue);
}

.erp-btn--ghost {
    color: var(--erp-blue);
    background: #fff;
    border-color: var(--erp-line);
}

.erp-hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(236, 243, 255, 0.9) 0%, rgba(255, 255, 255, 0.95) 44%, #fff 100%),
        repeating-linear-gradient(0deg, rgba(20, 87, 255, 0.04) 0 1px, transparent 1px 44px),
        repeating-linear-gradient(90deg, rgba(20, 87, 255, 0.04) 0 1px, transparent 1px 44px);
}

.erp-hero__inner,
.erp-benefits,
.erp-modules__inner,
.erp-stats__inner,
.erp-final-cta__inner,
.erp-footer__inner,
.erp-footer__bottom {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

.erp-hero__inner {
    padding: 28px 0 42px;
}

.erp-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(390px, 0.8fr);
    align-items: center;
    gap: 44px;
    min-height: 590px;
}

[dir="ltr"] .erp-hero__visual {
    grid-column: 2;
    grid-row: 1;
}

[dir="ltr"] .erp-hero__copy {
    grid-column: 1;
    grid-row: 1;
    text-align: left;
}

[dir="rtl"] .erp-hero__copy {
    text-align: right;
}

.erp-hero__visual {
    min-width: 0;
}

.erp-hero__image {
    display: block;
    width: min(760px, 100%);
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 32px 44px rgba(20, 87, 255, 0.14));
}

.erp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 14px;
    color: var(--erp-blue);
    background: #eef4ff;
    border: 1px solid #dbe6ff;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.92rem;
    margin-bottom: 20px;
}

.erp-hero__title {
    margin: 0 0 18px;
    color: var(--erp-navy);
    font-size: 4.35rem;
    font-weight: 900;
    line-height: 1.13;
    text-wrap: balance;
}

.erp-hero__title::first-line {
    color: var(--erp-ink);
}

.erp-hero__description {
    color: #445275;
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.85;
    max-width: 560px;
}

[dir="rtl"] .erp-hero__description {
    margin-right: 0;
    margin-left: auto;
}

.erp-hero__description p {
    margin: 0;
}

.erp-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 30px;
}

.erp-trust-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px;
}

.erp-trust-row__item {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.erp-trust-row__icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--erp-blue);
    background: #eef4ff;
    border-radius: 8px;
    flex: 0 0 auto;
}

.erp-trust-row strong,
.erp-trust-row small {
    display: block;
}

.erp-trust-row strong {
    color: var(--erp-ink);
    font-size: 0.88rem;
    font-weight: 900;
}

.erp-trust-row small {
    color: var(--erp-muted);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
}

.erp-benefits {
    position: relative;
    z-index: 2;
    margin-top: -10px;
    margin-bottom: 34px;
}

.erp-benefits__panel {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--erp-line);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(8, 30, 91, 0.08);
    padding: 24px;
}

.erp-section-heading {
    text-align: center;
    margin-bottom: 26px;
}

.erp-section-heading--compact {
    margin-bottom: 20px;
}

.erp-section-heading span {
    display: inline-block;
    color: var(--erp-blue);
    font-size: 0.9rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.erp-section-heading h2 {
    color: var(--erp-navy);
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.25;
    margin: 0;
    text-wrap: balance;
}

.erp-section-heading div,
.erp-section-heading p {
    color: var(--erp-muted);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.75;
    max-width: 720px;
    margin: 10px auto 0;
}

.erp-benefits__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.erp-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 10px 18px;
    border-inline-start: 1px solid var(--erp-line);
}

.erp-benefit:first-child {
    border-inline-start: 0;
}

.erp-benefit__icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--erp-blue);
    background: #edf3ff;
    border-radius: 8px;
    flex: 0 0 auto;
}

.erp-benefit__copy {
    min-width: 0;
}

.erp-benefit strong,
.erp-benefit small {
    display: block;
}

.erp-benefit strong {
    color: var(--erp-ink);
    font-size: 0.96rem;
    font-weight: 900;
    line-height: 1.25;
}

.erp-benefit small {
    color: var(--erp-muted);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.45;
    margin-top: 4px;
}

.erp-modules {
    padding: 22px 0 44px;
    background: #fff;
}

.erp-modules__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.erp-module-card {
    min-height: 138px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--erp-line);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(8, 30, 91, 0.04);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.erp-module-card:hover {
    transform: translateY(-4px);
    border-color: #b7c8ff;
    box-shadow: 0 18px 34px rgba(8, 30, 91, 0.09);
}

.erp-module-card__icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--erp-blue);
    background: #edf3ff;
    border-radius: 8px;
    margin-bottom: 12px;
}

.erp-module-card--2 .erp-module-card__icon {
    color: var(--erp-green);
    background: #eafaf0;
}

.erp-module-card--3 .erp-module-card__icon {
    color: var(--erp-violet);
    background: #f1edff;
}

.erp-module-card--4 .erp-module-card__icon {
    color: var(--erp-orange);
    background: #fff1e9;
}

.erp-module-card--5 .erp-module-card__icon {
    color: #0ea5e9;
    background: #e9f7ff;
}

.erp-module-card h3 {
    color: var(--erp-ink);
    font-size: 1rem;
    font-weight: 900;
    margin: 0 0 8px;
}

.erp-module-card p {
    color: var(--erp-muted);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.55;
    margin: 0 0 12px;
}

.erp-module-card a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--erp-blue);
    font-size: 0.86rem;
    font-weight: 900;
}

.erp-stats {
    background: linear-gradient(90deg, #07123c, #08247a 52%, #07123c);
    color: #fff;
}

.erp-stats__inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: 122px;
}

.erp-stat {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "icon number"
        "icon label";
    align-content: center;
    column-gap: 18px;
    padding: 20px 30px;
    border-inline-start: 1px solid rgba(255, 255, 255, 0.2);
}

.erp-stat:first-child {
    border-inline-start: 0;
}

.erp-stat__icon {
    grid-area: icon;
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    font-size: 1.25rem;
}

.erp-stat__number {
    grid-area: number;
    font-size: 1.85rem;
    font-weight: 900;
    line-height: 1;
}

.erp-stat__label {
    grid-area: label;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.45;
    margin-top: 6px;
}

.erp-final-cta {
    background: linear-gradient(180deg, #fff 0%, #f7faff 100%);
    border-bottom: 1px solid var(--erp-line);
}

.erp-final-cta__inner {
    display: grid;
    grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.25fr) minmax(220px, 0.65fr);
    gap: 30px;
    align-items: center;
    padding: 42px 0;
}

.erp-dashboard-preview {
    min-height: 168px;
    background: #fff;
    border: 1px solid var(--erp-line);
    border-radius: 8px;
    box-shadow: var(--erp-shadow);
    padding: 16px;
}

.erp-dashboard-preview__window {
    display: flex;
    gap: 6px;
    height: 28px;
    align-items: center;
    border-bottom: 1px solid var(--erp-line);
    margin-bottom: 12px;
}

.erp-dashboard-preview__window span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cfd9f2;
}

.erp-dashboard-preview__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.erp-dashboard-preview__grid span {
    height: 36px;
    border-radius: 6px;
    background: #eef4ff;
}

.erp-dashboard-preview__grid span:nth-child(2n) {
    background: #e7fbf0;
}

.erp-dashboard-preview__grid span:nth-child(3n) {
    background: #fff2e8;
}

.erp-dashboard-preview__chart {
    height: 38px;
    margin-top: 12px;
    border-radius: 6px;
    background: linear-gradient(90deg, #eaf1ff, #fff);
    overflow: hidden;
}

.erp-dashboard-preview__chart span {
    display: block;
    width: 72%;
    height: 100%;
    background: linear-gradient(90deg, rgba(20, 87, 255, 0.15), rgba(34, 197, 94, 0.16));
}

.erp-final-cta__copy {
    text-align: center;
}

.erp-final-cta__copy h2 {
    color: var(--erp-navy);
    font-size: 2.3rem;
    font-weight: 900;
    margin: 0 0 12px;
    text-wrap: balance;
}

.erp-final-cta__copy p {
    color: var(--erp-muted);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.75;
    margin: 0 auto;
    max-width: 650px;
}

.erp-final-cta__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 22px;
}

.erp-trial-card {
    display: grid;
    gap: 8px;
    justify-items: start;
    padding: 26px;
    background: #fff;
    border: 1px solid var(--erp-line);
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(8, 30, 91, 0.08);
}

.erp-trial-card__icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--erp-blue);
    background: #eef4ff;
    border-radius: 8px;
    font-size: 1.4rem;
}

.erp-trial-card strong {
    color: var(--erp-ink);
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.35;
}

.erp-trial-card small {
    color: var(--erp-muted);
    font-size: 0.93rem;
    font-weight: 700;
}

.erp-footer {
  background: linear-gradient(180deg, #071235 0%, #03081a 100%);
  color: rgba(255, 255, 255, 0.75);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

/* Glow bar at top */
.erp-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--erp-blue, #1457ff) 0%, #3b82f6 50%, #10b981 100%);
  opacity: 0.8;
}

.erp-footer__inner {
  width: min(var(--erp-max-width, 1180px), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 0.75fr) 1fr;
  gap: 40px;
  padding: 80px 0 56px;
}

.intelligent-brand--footer {
  margin-bottom: 24px;
  transition: transform 0.3s ease;
}

.intelligent-brand--footer:hover {
  transform: translateY(-1px);
}

.intelligent-brand--footer .intelligent-brand__mark {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.intelligent-brand--footer .intelligent-brand__copy strong {
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.intelligent-brand--footer .intelligent-brand__copy small {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
}

.erp-footer__brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.8;
  margin: 0;
  max-width: 300px;
}

.erp-footer h3 {
  color: #fff;
  font-size: 0.94rem;
  font-weight: 800;
  margin: 0 0 24px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  display: inline-block;
}

/* Subtle accent line below heading */
.erp-footer h3::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--erp-blue, #1457ff);
  border-radius: 2px;
  transition: width 0.3s ease;
}

[dir="rtl"] .erp-footer h3::after {
  left: auto;
  right: 0;
}

.erp-footer__column:hover h3::after {
  width: 28px;
}

.erp-footer__column,
.erp-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.erp-footer__column a,
.erp-footer__contact-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  transition: all 0.25s ease;
}

.erp-footer__column a:hover {
  color: #fff;
  transform: translateX(4px);
}

[dir="rtl"] .erp-footer__column a:hover {
  transform: translateX(-4px);
}

.erp-footer__contact-line:hover {
  color: #fff;
}

.erp-footer__contact-line i {
  color: var(--erp-blue, #1457ff);
  font-size: 0.95rem;
  transition: transform 0.25s ease;
}

.erp-footer__contact-line:hover i {
  transform: scale(1.15);
}

.erp-footer__social {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.erp-footer__social a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.erp-footer__social a:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(20, 87, 255, 0.25);
  border-color: transparent;
}

.erp-footer__social a.social-youtube:hover {
  background: #ff0000;
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.35);
}

.erp-footer__social a.social-linkedin:hover {
  background: #0a66c2;
  box-shadow: 0 8px 20px rgba(10, 102, 194, 0.35);
}

.erp-footer__social a.social-twitter:hover {
  background: #1da1f2;
  box-shadow: 0 8px 20px rgba(29, 161, 242, 0.35);
}

.erp-footer__social a.social-facebook:hover {
  background: #1877f2;
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.35);
}

.erp-footer__social a.social-instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 8px 20px rgba(220, 39, 67, 0.35);
}

.erp-footer__bottom {
  width: min(var(--erp-max-width, 1180px), calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.86rem;
  font-weight: 500;
  padding: 24px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.erp-page {
    background:
        radial-gradient(circle at 14% 8%, rgba(20, 87, 255, 0.12), transparent 26rem),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 44%);
}

.erp-page-shell {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.erp-page-hero {
    padding: 46px 0 42px;
}

.erp-page-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.5fr);
    gap: 28px;
    align-items: end;
}

.erp-page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 12px;
    color: var(--erp-blue);
    background: #eef4ff;
    border: 1px solid #dae6ff;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 900;
}

.erp-page-hero h1 {
    max-width: 800px;
    margin: 16px 0 12px;
    color: var(--erp-ink);
    font-size: clamp(2.25rem, 5vw, 4.7rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 0.98;
    text-wrap: balance;
}

.erp-page-hero p {
    max-width: 68ch;
    margin: 0;
    color: var(--erp-muted);
    font-size: 1.03rem;
    font-weight: 600;
    line-height: 1.85;
}

.erp-page-hero__panel {
    padding: 22px;
    color: #fff;
    background: linear-gradient(145deg, var(--erp-navy), #103ba8);
    border-radius: 8px;
    box-shadow: var(--erp-shadow);
}

.erp-page-hero__panel strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 900;
}

.erp-page-hero__panel span {
    display: block;
    margin-top: 7px;
    color: #dbe6ff;
    line-height: 1.7;
}

.erp-contact-layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.44fr) minmax(0, 0.56fr);
    gap: 24px;
    align-items: start;
    padding-bottom: 64px;
}

.erp-contact-info,
.erp-contact-form,
.erp-content-card,
.erp-blog-card,
.erp-empty-state {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--erp-line);
    border-radius: 8px;
    box-shadow: 0 22px 60px rgba(20, 87, 255, 0.1);
}

.erp-contact-info,
.erp-contact-form,
.erp-content-card {
    padding: 28px;
}

.erp-contact-info h2,
.erp-contact-form h2 {
    margin: 0 0 10px;
    color: var(--erp-ink);
    font-size: 1.35rem;
    font-weight: 900;
}

.erp-contact-info p,
.erp-contact-form p {
    margin: 0;
    color: var(--erp-muted);
    line-height: 1.75;
}

.erp-contact-list {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.erp-contact-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: center;
    padding: 14px;
    color: var(--erp-ink);
    background: #f6f9ff;
    border: 1px solid #e3eafb;
    border-radius: 8px;
}

.erp-contact-item i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--erp-blue);
    background: #eaf1ff;
    border-radius: 8px;
}

.erp-contact-item strong {
    display: block;
    color: var(--erp-ink);
    font-size: 0.96rem;
    font-weight: 900;
}

.erp-contact-item a,
.erp-contact-item span {
    color: var(--erp-muted);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.erp-contact-form form {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.erp-contact-form input,
.erp-contact-form textarea {
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    color: var(--erp-ink);
    background: #f8faff;
    border: 1px solid #d9e3f6;
    border-radius: 8px;
    font-weight: 700;
    outline: none;
    transition: border 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.erp-contact-form textarea {
    min-height: 138px;
    padding-top: 14px;
    resize: vertical;
}

.erp-contact-form input:focus,
.erp-contact-form textarea:focus {
    background: #fff;
    border-color: rgba(20, 87, 255, 0.65);
    box-shadow: 0 0 0 4px rgba(20, 87, 255, 0.12);
}

.erp-form-alert {
    padding: 12px 14px;
    color: #0f3b75;
    background: #eef6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    font-weight: 800;
}

.erp-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding-bottom: 64px;
}

.erp-blog-card {
    display: flex;
    min-height: 100%;
    overflow: hidden;
    flex-direction: column;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.erp-blog-card:hover {
    border-color: rgba(20, 87, 255, 0.35);
    box-shadow: 0 26px 70px rgba(20, 87, 255, 0.16);
    transform: translateY(-3px);
}

.erp-blog-card__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #edf3ff;
}

.erp-blog-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
}

.erp-blog-card__meta,
.erp-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--erp-muted);
    font-size: 0.84rem;
    font-weight: 800;
}

.erp-blog-card h2 {
    margin: 12px 0 10px;
    color: var(--erp-ink);
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1.35;
    text-wrap: balance;
}

.erp-blog-card p {
    margin: 0 0 18px;
    color: var(--erp-muted);
    font-size: 0.94rem;
    line-height: 1.75;
}

.erp-blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--erp-blue);
    font-weight: 900;
}

.erp-article-layout {
    padding-bottom: 70px;
}

.erp-article-header {
    max-width: 930px;
    margin: 0 auto 28px;
    text-align: center;
}

.erp-article-header h1 {
    margin: 14px 0 0;
    color: var(--erp-ink);
    font-size: clamp(2rem, 5vw, 4.15rem);
    font-weight: 900;
    line-height: 1.05;
    text-wrap: balance;
}

.erp-article-image {
    width: min(980px, 100%);
    display: block;
    max-height: 520px;
    margin: 0 auto 26px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 24px 68px rgba(20, 87, 255, 0.14);
}

.erp-content-card {
    max-width: 930px;
    margin: 0 auto;
    color: var(--erp-ink);
    font-size: 1rem;
    line-height: 1.9;
}

.erp-content-card h1,
.erp-content-card h2,
.erp-content-card h3,
.erp-content-card h4 {
    color: var(--erp-ink);
    font-weight: 900;
}

.erp-content-card p,
.erp-content-card li {
    color: #344064;
}

.erp-content-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.erp-empty-state {
    grid-column: 1 / -1;
    padding: 46px 24px;
    text-align: center;
}

.erp-empty-state i {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--erp-blue);
    background: #eef4ff;
    border-radius: 8px;
    font-size: 1.5rem;
}

.erp-empty-state h2 {
    margin: 18px 0 8px;
    color: var(--erp-ink);
    font-weight: 900;
}

.erp-empty-state p {
    margin: 0;
    color: var(--erp-muted);
    font-weight: 700;
}

/* ==========================================================================
   FAQ Section - Modern Premium Accordion
   ========================================================================== */
.erp-faq {
    position: relative;
    padding-block: 80px 100px;
    background: linear-gradient(180deg, rgba(246, 249, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
    overflow: hidden;
}

.erp-faq__inner {
    width: min(1240px, calc(100% - 32px));
    margin-inline: auto;
}

.erp-faq__list {
    max-width: 840px;
    margin-inline: auto;
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.erp-faq-item {
    background: var(--erp-card);
    border: 1px solid var(--erp-line);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(20, 87, 255, 0.02);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.erp-faq-item:hover {
    border-color: rgba(20, 87, 255, 0.3);
    box-shadow: 0 12px 30px rgba(20, 87, 255, 0.06);
    transform: translateY(-2px);
}

.erp-faq-item:has(.erp-faq-item__question[aria-expanded="true"]) {
    border-color: var(--erp-blue);
    box-shadow: 0 20px 40px rgba(20, 87, 255, 0.08);
}

.erp-faq-item__question {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.25s ease;
}

.erp-faq-item__question:hover {
    background: rgba(20, 87, 255, 0.02);
}

.erp-faq-item__number {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--erp-soft);
    color: var(--erp-blue);
    border-radius: 12px;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.erp-faq-item__question[aria-expanded="true"] .erp-faq-item__number {
    background: var(--erp-blue);
    color: #ffffff;
    box-shadow: 0 8px 16px rgba(20, 87, 255, 0.2);
}

.erp-faq-item__text {
    flex: 1;
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--erp-navy);
    line-height: 1.4;
    transition: color 0.25s ease;
    text-align: start;
}

.erp-faq-item__question[aria-expanded="true"] .erp-faq-item__text {
    color: var(--erp-blue-700);
}

.erp-faq-item__chevron {
    font-size: 0.95rem;
    color: var(--erp-muted);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
    flex-shrink: 0;
}

.erp-faq-item__question[aria-expanded="true"] .erp-faq-item__chevron {
    transform: rotate(180deg);
    color: var(--erp-blue);
}

.erp-faq-item__answer {
    padding-inline-start: 90px;
    padding-inline-end: 28px;
    padding-block-end: 24px;
    text-align: start;
}

.erp-faq-item__answer p {
    margin: 0;
    color: var(--erp-muted);
    font-size: 1rem;
    line-height: 1.75;
    font-weight: 500;
}

@media (max-width: 1199px) {
    .erp-benefits__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 12px;
    }

    .erp-benefit:nth-child(4) {
        border-inline-start: 0;
    }

    .erp-modules__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .erp-footer__inner {
        grid-template-columns: repeat(3, 1fr);
    }

    .erp-footer__brand,
    .erp-footer__contact {
        grid-column: span 3;
    }
}

@media (max-width: 991px) {
    .intelligent-nav {
        width: min(100% - 28px, 760px);
    }

    .intelligent-nav .ft-menu {
        visibility: hidden;
        opacity: 0;
    }

    .intelligent-nav .ft-menu--js-show {
        visibility: visible;
        opacity: 1;
    }

    .intelligent-nav .ft-menu__slider {
        width: min(86vw, 380px);
        height: 100%;
        background: #fff;
        color: var(--erp-ink);
        border-inline-end: 1px solid var(--erp-line);
        transform: translateX(-100%);
        transition: transform 240ms ease;
        overflow: auto;
    }

    [dir="rtl"] .intelligent-nav .ft-menu__slider {
        transform: translateX(100%);
        margin-inline-start: auto;
        border-inline-end: 0;
        border-inline-start: 1px solid var(--erp-line);
    }

    .intelligent-nav .ft-menu--js-show .ft-menu__slider {
        transform: translateX(0);
    }

    .intelligent-nav .hero-nav__item {
        width: 100%;
        margin: 0;
    }

    .intelligent-nav__link {
        width: 100%;
        justify-content: space-between;
        padding: 12px 4px;
    }

    .intelligent-nav__link::after {
        content: none;
    }

    .intelligent-nav__dropdown {
        box-shadow: none;
        border-radius: 8px;
        margin-top: 8px;
        padding: 8px;
    }

    .intelligent-nav .erp-btn {
        width: 100%;
    }

    .erp-hero__grid {
        grid-template-columns: 1fr;
        gap: 18px;
        min-height: auto;
    }

    .erp-hero__copy,
    [dir="ltr"] .erp-hero__copy,
    [dir="ltr"] .erp-hero__visual {
        grid-column: auto;
        grid-row: auto;
    }

    .erp-hero__copy {
        text-align: center;
    }

    .erp-hero__title {
        font-size: 3.15rem;
    }

    .erp-section-heading h2,
    .erp-final-cta__copy h2 {
        font-size: 1.9rem;
    }

    [dir="rtl"] .erp-hero__copy {
        text-align: center;
    }

    .erp-hero__description {
        margin: 0 auto;
    }

    .erp-hero__actions {
        justify-content: center;
    }

    .erp-trust-row {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-inline: auto;
    }

    .erp-final-cta__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .erp-page-hero__grid,
    .erp-contact-layout {
        grid-template-columns: 1fr;
    }

    .erp-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .erp-trial-card {
        justify-items: center;
    }

    .erp-stats__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .erp-stat:nth-child(3) {
        border-inline-start: 0;
    }
}

@media (max-width: 767px) {
    .erp-hero__inner,
    .erp-page-shell,
    .erp-benefits,
    .erp-modules__inner,
    .erp-stats__inner,
    .erp-final-cta__inner,
    .erp-footer__inner,
    .erp-footer__bottom {
        width: min(100% - 28px, 560px);
    }

    .intelligent-brand {
        min-width: 0;
    }

    .intelligent-brand__copy small {
        display: none;
    }

    .erp-hero__inner {
        padding: 18px 0 34px;
    }

    .erp-hero__title {
        font-size: 2.45rem;
    }

    .erp-section-heading h2,
    .erp-final-cta__copy h2 {
        font-size: 1.65rem;
    }

    .erp-hero__actions .erp-btn {
        width: 100%;
    }

    .erp-benefits__grid,
    .erp-blog-grid,
    .erp-modules__grid {
        grid-template-columns: 1fr;
    }

    .erp-footer__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 20px;
    }

    .erp-benefit,
    .erp-benefit:nth-child(4) {
        border-inline-start: 0;
        border-top: 1px solid var(--erp-line);
        padding: 14px 4px;
    }

    .erp-benefit:first-child {
        border-top: 0;
    }

    .erp-footer__brand {
        grid-column: 1 / -1;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        padding-bottom: 24px;
    }

    .erp-footer__brand p {
        max-width: 100%;
        margin: 0 auto;
    }

    .intelligent-brand--footer {
        justify-content: center;
    }

    .erp-footer__contact {
        grid-column: auto;
    }

    .erp-footer__bottom {
        flex-direction: column;
    }

    /* FAQ Section Mobile */
    .erp-faq {
        padding-block: 60px 80px;
    }

    .erp-faq__list {
        margin-top: 32px;
        gap: 12px;
    }

    .erp-faq-item {
        border-radius: 12px;
    }

    .erp-faq-item__question {
        padding: 18px 20px;
        gap: 14px;
    }

    .erp-faq-item__number {
        width: 34px;
        height: 34px;
        border-radius: 8px;
        font-size: 0.85rem;
    }

    .erp-faq-item__text {
        font-size: 0.98rem;
    }

    .erp-faq-item__answer {
        padding-inline-start: 68px;
        padding-inline-end: 20px;
        padding-block-end: 20px;
    }

    .erp-faq-item__answer p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

@media (max-width: 520px) {
    .erp-stats__inner {
        grid-template-columns: 1fr;
    }

    .erp-stat,
    .erp-stat:nth-child(3) {
        border-inline-start: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.18);
    }

    .erp-stat:first-child {
        border-top: 0;
    }
}
