/**
 * PayfastERP marketing — Carbon Bay sales surface
 */
.erp-mkt {
  --mkt-bg: #0d1117;
  --mkt-surface: #161c26;
  --mkt-ink: #eef2f6;
  --mkt-muted: #9aa7b5;
  --mkt-line: #2a3442;
  --mkt-volt: #b6ff3b;
  --mkt-volt-ink: #0b1220;
  --mkt-sky: #5ec8ff;
  margin: 0;
  min-height: 100vh;
  background: var(--mkt-bg);
  color: var(--mkt-ink);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  overflow-x: hidden;
}

.erp-mkt a { color: var(--mkt-volt); text-decoration: none; }
.erp-mkt a:hover { text-decoration: underline; }

.erp-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: .85rem clamp(1rem, 3vw, 2rem);
  background: rgb(13 17 23 / 88%);
  border-bottom: 1px solid rgb(182 255 59 / 12%);
  backdrop-filter: blur(14px);
}

.erp-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: inherit;
  text-decoration: none;
}
.erp-nav-brand:hover { text-decoration: none; }
.erp-nav-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--mkt-line);
}
.erp-nav-brand-title {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1;
}
.erp-nav-brand-title span { color: var(--mkt-volt); }

.erp-nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  margin-left: auto;
}
.erp-nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 .85rem;
  border-radius: 8px;
  border: 1px solid transparent;
  color: var(--mkt-ink);
  font-weight: 600;
  text-decoration: none;
  opacity: .9;
}
.erp-nav-links a:hover { background: rgb(255 255 255 / 6%); text-decoration: none; opacity: 1; }
.erp-nav-links a.is-active {
  background: var(--mkt-volt);
  color: var(--mkt-volt-ink);
  opacity: 1;
}
.erp-nav-links a.erp-nav-quiet { opacity: .7; font-weight: 500; }

.erp-hero {
  position: relative;
  min-height: min(92vh, 760px);
  display: flex;
  align-items: center;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 3vw, 2rem) 3rem;
  overflow: hidden;
}
.erp-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 12% 10%, rgb(182 255 59 / 18%), transparent 55%),
    radial-gradient(ellipse 55% 45% at 88% 20%, rgb(94 200 255 / 14%), transparent 50%),
    radial-gradient(ellipse 80% 40% at 50% 100%, rgb(61 79 99 / 35%), transparent 60%),
    linear-gradient(180deg, #12161c 0%, #0d1117 55%, #0a0e14 100%);
}
.erp-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(238 242 246 / 3%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(238 242 246 / 3%) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 20%, transparent 85%);
  opacity: .55;
  animation: erp-grid-drift 28s linear infinite;
}
@keyframes erp-grid-drift {
  from { transform: translateY(0); }
  to { transform: translateY(48px); }
}

.erp-hero-inner {
  position: relative;
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .erp-hero-inner { grid-template-columns: 1.15fr .85fr; gap: 3rem; }
}

.erp-brand-mark {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(2.8rem, 7vw, 4.4rem);
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: .92;
  margin: 0 0 .75rem;
  animation: erp-rise .7s ease-out both;
}
.erp-brand-mark span { color: var(--mkt-volt); }

.erp-hero h1 {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.08;
  margin: 0 0 .85rem;
  max-width: 18ch;
  animation: erp-rise .8s .08s ease-out both;
}
.erp-lead {
  margin: 0 0 1.5rem;
  max-width: 40ch;
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--mkt-muted);
  animation: erp-rise .85s .14s ease-out both;
}
.erp-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  animation: erp-rise .9s .2s ease-out both;
}
@keyframes erp-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.erp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.2rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none !important;
  transition: transform .15s ease, filter .15s ease, background .15s ease;
}
.erp-btn:hover { transform: translateY(-1px); }
.erp-btn-primary {
  background: var(--mkt-volt);
  color: var(--mkt-volt-ink) !important;
  box-shadow: 0 0 0 1px rgb(182 255 59 / 25%), 0 12px 32px rgb(182 255 59 / 18%);
}
.erp-btn-primary:hover { filter: brightness(1.03); }
.erp-btn-ghost {
  background: rgb(255 255 255 / 4%);
  color: var(--mkt-ink) !important;
  border-color: var(--mkt-line);
}

.erp-hero-panel {
  border-radius: 18px;
  padding: 1.5rem 1.4rem 1.35rem;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: .4rem;
  background:
    linear-gradient(160deg, rgb(182 255 59 / 12%), transparent 40%),
    linear-gradient(145deg, #1c232d, #121820);
  border: 1px solid rgb(182 255 59 / 22%);
  box-shadow: 0 24px 60px rgb(0 0 0 / 35%);
  animation: erp-panel-in 1s .18s ease-out both;
}
@keyframes erp-panel-in {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.erp-hero-panel-kicker {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mkt-volt);
}
.erp-hero-panel-title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.erp-hero-panel-meta { color: var(--mkt-muted); font-size: .95rem; }
.erp-hero-panel-price {
  margin-top: .65rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--mkt-volt);
  line-height: 1;
}
.erp-hero-panel-price small {
  font-size: 1rem;
  color: var(--mkt-muted);
  font-weight: 600;
  margin-left: .15rem;
}

.erp-sec {
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1rem, 3vw, 2rem);
  border-top: 1px solid var(--mkt-line);
}
.erp-sec-alt {
  background: linear-gradient(180deg, #12161c 0%, #0d1117 100%);
}
.erp-wrap { width: min(1100px, 100%); margin: 0 auto; }
.erp-eyebrow {
  margin: 0 0 .4rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mkt-volt);
}
.erp-sec h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin: 0 0 .65rem;
  line-height: 1.05;
  max-width: 20ch;
}
.erp-sec-lead {
  margin: 0 0 1.75rem;
  max-width: 52ch;
  color: var(--mkt-muted);
  font-size: 1.08rem;
  line-height: 1.55;
}

.erp-pillars {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .erp-pillars { grid-template-columns: repeat(3, 1fr); }
}
.erp-pillar {
  padding: 1.25rem 1.2rem;
  border-radius: 14px;
  border: 1px solid var(--mkt-line);
  background: linear-gradient(180deg, rgb(28 35 45 / 90%), rgb(18 22 28 / 90%));
  transition: border-color .2s ease, transform .2s ease;
}
.erp-pillar:hover {
  border-color: rgb(182 255 59 / 35%);
  transform: translateY(-2px);
}
.erp-pillar h3 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.45rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin: 0 0 .45rem;
}
.erp-pillar p {
  margin: 0;
  color: var(--mkt-muted);
  line-height: 1.5;
  font-size: 1rem;
}

.erp-price-block {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 800px) {
  .erp-price-block { grid-template-columns: 1fr 1.2fr; gap: 2.5rem; }
}
.erp-price-stat {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(3rem, 7vw, 4.5rem);
  font-weight: 800;
  color: var(--mkt-volt);
  line-height: .95;
  margin: .25rem 0 .75rem;
}
.erp-price-stat small {
  font-size: 1.25rem;
  color: var(--mkt-muted);
  font-weight: 600;
}
.erp-checklist {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: .55rem;
}
.erp-checklist li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--mkt-ink);
  font-weight: 600;
}
.erp-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45rem;
  width: .55rem;
  height: .55rem;
  border-radius: 2px;
  background: var(--mkt-volt);
  box-shadow: 0 0 10px rgb(182 255 59 / 45%);
}

.erp-modules {
  display: grid;
  gap: .75rem;
}
@media (min-width: 700px) {
  .erp-modules { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .erp-modules { grid-template-columns: repeat(3, 1fr); }
}
.erp-module {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1rem 1.05rem;
  border-radius: 12px;
  border: 1px solid var(--mkt-line);
  background: rgb(22 28 38 / 85%);
  min-height: 7.5rem;
  transition: border-color .18s ease, background .18s ease;
}
.erp-module:hover {
  border-color: rgb(94 200 255 / 35%);
  background: rgb(28 35 45 / 95%);
}
.erp-module-top {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  align-items: flex-start;
}
.erp-module h3 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.erp-module-price {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: .85rem;
  color: var(--mkt-volt);
  white-space: nowrap;
}
.erp-module p {
  margin: 0;
  color: var(--mkt-muted);
  font-size: .92rem;
  line-height: 1.4;
  flex: 1;
}
.erp-module-tag {
  align-self: flex-start;
  margin-top: .25rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mkt-sky);
  opacity: .9;
}

.erp-close {
  text-align: center;
  padding: clamp(3.5rem, 7vw, 5rem) clamp(1rem, 3vw, 2rem);
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgb(182 255 59 / 16%), transparent 55%),
    #0a0e14;
  border-top: 1px solid var(--mkt-line);
}
.erp-close h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  text-transform: uppercase;
  letter-spacing: .03em;
  margin: 0 0 .65rem;
  max-width: none;
}
.erp-close p {
  margin: 0 auto 1.4rem;
  max-width: 42ch;
  color: var(--mkt-muted);
  font-size: 1.08rem;
}
.erp-close .erp-cta { justify-content: center; }

.erp-footer {
  padding: 1.5rem clamp(1rem, 3vw, 2rem) 2rem;
  text-align: center;
  color: var(--mkt-muted);
  font-size: .9rem;
  border-top: 1px solid var(--mkt-line);
  background: #0a0e14;
}
.erp-footer p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  .erp-hero-bg::after,
  .erp-brand-mark,
  .erp-hero h1,
  .erp-lead,
  .erp-cta,
  .erp-hero-panel { animation: none !important; }
}
