:root {
  --ma-purple: #6e45d4;
  --ma-purple-dark: #421b98;
  --ma-purple-soft: #f1edfc;
  --ma-purple-soft-2: #eae3fb;
  --ma-navy: #14163a;
  --ma-navy-2: #0d0f2b;
  --ma-ink: #1d1e40;
  --ma-ink-70: rgba(29, 30, 64, 0.7);
  --ma-ink-50: rgba(29, 30, 64, 0.52);
  --ma-border: rgba(29, 30, 64, 0.08);
  --ma-hero-bg: #f8f7fe;
  --ma-radius-lg: 20px;
  --ma-radius: 16px;
  --ma-radius-sm: 10px;
  --ma-shadow-sm: 0 2px 10px rgba(20, 22, 58, 0.06);
  --ma-shadow-md: 0 8px 24px rgba(20, 22, 58, 0.08);
  --ma-shadow-xl: 0 20px 60px rgba(20, 22, 58, 0.18);
}

body {
  margin: 0;
  background-color: #fff;
  font-family: Poppins, sans-serif;
  scroll-behavior: smooth;
  position: relative;
}
html {
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}

.ma-page {
  font-family: "DM Sans", sans-serif;
  color: var(--ma-ink);
  background: #fff;
}

.ma-page h1,
.ma-page h2,
.ma-page h3,
.ma-page h4 {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--ma-ink);
  letter-spacing: -0.02em;
  margin: 0;
}

.ma-page section {
  padding: 88px 0;
}

.ma-wrap {
  /* max-width: 1200px; */
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- light polish on the existing real navbar, no structural change ---------- */
.ma-page .navbar {
  box-shadow: 0 1px 0 var(--ma-border);
}

.ma-page .goBactBtn {
  font-family: "DM Sans", sans-serif;
}

/* ---------- shared bits ---------- */
.ma-eyebrow {
  display: inline-block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ma-purple);
  margin-bottom: 16px;
}

.ma-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 10px;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
  line-height: 1;
}

.ma-btn-primary {
  background: var(--ma-purple);
  color: #fff;
  box-shadow: 0 10px 24px rgba(110, 69, 212, 0.28);
}
.ma-btn-primary:hover {
  background: #5d37c4;
  transform: translateY(-2px);
  color: #fff;
}

.ma-btn-outline {
  background: #fff;
  color: var(--ma-purple);
  border-color: var(--ma-purple);
}
.ma-btn-outline:hover {
  background: var(--ma-purple-soft);
  transform: translateY(-2px);
  color: var(--ma-purple);
}

.ma-btn-white {
  background: #fff;
  color: var(--ma-purple-dark);
}
.ma-btn-white:hover {
  transform: translateY(-2px);
  color: var(--ma-purple-dark);
}

.ma-btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.ma-btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  color: #fff;
}

.ma-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.ma-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.ma-hero {
  /* background: var(--ma-hero-bg); */
  padding: 72px 0 64px;
}

.ma-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 56px;
  align-items: center;
}

.ma-hero h1 {
  font-size: 55px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.ma-hero h1 .purple {
  color: var(--ma-purple);
}

.ma-hero-lede {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--ma-ink);
  margin-bottom: 14px;
  line-height: 1.4;
}

.ma-hero-sub {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ma-ink-50);
  max-width: 460px;
  margin-bottom: 28px;
}

.ma-hero-ctas {
  display: flex;
  gap: 14px;
  margin-bottom: 32px;
}
.ma-hero-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.ma-chip {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(112, 53, 123, 0.14);
  border-radius: 18px;
  padding: 20px 18px;
  box-shadow: 0 18px 45px rgba(49, 25, 70, 0.1);
  backdrop-filter: blur(14px);
  transition: 0.3s ease;
}

.ma-chip::before {
  content: "";
  position: absolute;
  top: -45px;
  right: -45px;
  width: 95px;
  height: 95px;
  border-radius: 50%;
  background: rgba(112, 53, 123, 0.09);
}

.ma-chip::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 3px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(90deg, var(--ma-purple), #b685c8);
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.3s ease;
}

.ma-chip:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(49, 25, 70, 0.16);
}

.ma-chip:hover::after {
  transform: scaleX(1);
}
.ma-chip .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--ma-purple-soft);
  color: var(--ma-purple);

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 14px;

  transition: all 0.3s ease;
}

.ma-chip .icon i {
  font-size: 20px;
}

.ma-chip:hover .icon {
  transform: rotate(-8deg) scale(1.08);
}

.ma-chip .num {
  position: relative;
  z-index: 1;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  color: var(--ma-purple);
  margin-bottom: 8px;
}

.ma-chip .label {
  position: relative;
  z-index: 1;
  font-size: 13px;
  font-weight: 600;
  color: var(--ma-ink-70);
  line-height: 1.45;
  max-width: 150px;
}

@media (max-width: 768px) {
  .ma-hero-chips {
    grid-template-columns: 1fr;
  }
}
/* ---------- dashboard mockup ---------- */
.ma-dash {
  display: grid;
  grid-template-columns: 108px 1fr;
  background: var(--ma-navy-2);
  border-radius: var(--ma-radius-lg);
  box-shadow: var(--ma-shadow-xl);
  overflow: hidden;
  min-height: 460px;
}

.ma-dash-side {
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ma-dash-dots {
  display: flex;
  gap: 5px;
  margin-bottom: 18px;
  padding-left: 4px;
}
.ma-dash-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.ma-dash-nav-item {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.45);
  padding: 8px 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ma-dash-nav-item svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.ma-dash-nav-item.active {
  background: var(--ma-purple);
  color: #fff;
  font-weight: 600;
}

.ma-dash-content {
  background: #f7f6fc;
  padding: 20px 18px;
}

.ma-dash-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}

.ma-dash-header .title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--ma-ink);
}

.ma-dash-header .updated {
  font-size: 10px;
  color: var(--ma-ink-50);
}

.ma-dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ma-dash-card {
  background: #fff;
  border-radius: 12px;
  padding: 13px 14px;
  box-shadow: 0 2px 8px rgba(20, 22, 58, 0.05);
}

.ma-dash-card .label {
  font-size: 10px;
  color: var(--ma-ink-50);
  margin-bottom: 6px;
}

.ma-dash-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ma-dash-card .big {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--ma-ink);
}

.ma-dash-card .sub {
  font-size: 9.5px;
  color: var(--ma-ink-50);
  margin-top: 3px;
}

.ma-ring {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.ma-ring text {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 9px;
  font-weight: 700;
  fill: var(--ma-purple);
}
.ma-spark {
  width: 56px;
  height: 26px;
  flex-shrink: 0;
}

.ma-mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 26px;
  width: 44px;
  flex-shrink: 0;
}
.ma-mini-bars i {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: var(--ma-purple);
  opacity: 0.85;
}

.ma-dash-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ma-dash-list li {
  font-size: 9.5px;
  color: var(--ma-ink-70);
  padding-left: 12px;
  position: relative;
  margin-bottom: 6px;
  line-height: 1.4;
}
.ma-dash-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ma-purple);
}

.ma-linechart {
  width: 100%;
  height: 44px;
}

.ma-linechart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  color: var(--ma-ink-50);
  margin-top: 2px;
}

/* ==========================================================================
   PROBLEM SECTION
   ========================================================================== */
.ma-section-head {
  /* max-width: 640px; */
  margin: 0 auto 52px;
  text-align: center;
}

.ma-section-head h2 {
  font-size: 50px !important;
  font-weight: 800;
  line-height: 1.25;
  margin-top: 4px;
}
.problem-section {
  padding: 10px 20px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  font-family: "Inter", sans-serif;
}

.problem-container {
  /* max-width: 1180px; */
  margin: 0 auto;
}

.problem-header {
  /* max-width: 900px; */
  margin-bottom: 55px;
}

.problem-header h2 {
  margin: 0;
  color: #102033;
  font-size: clamp(32px, 4vw, 52px) !important;
  font-weight: 700;
  line-height: 1.15;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.problem-card {
  position: relative;
  min-height: 380px;
  padding: 42px 34px;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid rgba(112, 53, 123, 0.12);
  box-shadow: 0 18px 45px rgba(16, 32, 51, 0.08);
  overflow: hidden;
  transition: 0.35s ease;
}

.problem-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 34px;
  width: 70px;
  height: 6px;
  border-radius: 0 0 20px 20px;
  background: var(--ma-purple);
}

.problem-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(112, 53, 123, 0.08);
}

.problem-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 70px rgba(16, 32, 51, 0.14);
}

.problem-card.active {
  background: linear-gradient(180deg, #ffffff 0%, #fbf6ff 100%);
}

.problem-count {
  display: block;
  margin-bottom: 80px;
  color: rgba(112, 53, 123, 0.16);
  font-size: 76px !important;
  font-weight: 900;
  line-height: 1;
}

.problem-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 22px;
  color: #102033;
  font-size: 24px !important;
  font-weight: 800;
  line-height: 1.3;
}

.problem-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #5f6f85;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.85;
}

.problem-note {
  margin-top: 36px;
  padding: 28px 32px;
  border-radius: 22px;
  background: linear-gradient(135deg, #101d2b, #17283a);
  color: #ffffff;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.7;
  box-shadow: 0 20px 45px rgba(16, 32, 51, 0.18);
}

@media (max-width: 991px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }

  .problem-card {
    min-height: auto;
  }

  .problem-count {
    margin-bottom: 45px;
  }
}

@media (max-width: 575px) {
  .problem-section {
    padding: 65px 18px;
  }

  .problem-card {
    padding: 36px 26px;
  }

  .problem-count {
    font-size: 60px;
  }

  .problem-note {
    padding: 24px 20px;
    font-size: 14.5px;
  }
}
/* ==========================================================================
   PROCESS SECTION — "What is the MarTech Audit System"
   ========================================================================== */
.ma-process-section {
  padding: 90px 0;
  background:
    radial-gradient(
      circle at top left,
      rgba(112, 53, 123, 0.12),
      transparent 34%
    ),
    linear-gradient(180deg, #f7f3fb 0%, #ffffff 100%);
}

.ma-process-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(112, 53, 123, 0.12);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(49, 25, 70, 0.09);
  padding: 42px;
}

.ma-process-card::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(112, 53, 123, 0.08);
}

.ma-process-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 14px;
  margin-bottom: 44px;
  z-index: 1;
}

.ma-process-step {
  position: relative;
  text-align: center;
  padding: 24px 16px;
  border-radius: 22px;
  transition: 0.3s ease;
}

.ma-process-step:hover {
  background: #ffffff;
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(112, 53, 123, 0.12);
}

.ma-process-icon {
  width: 68px;
  height: 68px;
  border-radius: 22px;
  background: linear-gradient(135deg, #ffffff, #f3e9f7);
  border: 1px solid rgba(112, 53, 123, 0.16);
  box-shadow: 0 16px 35px rgba(112, 53, 123, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--ma-purple);
  transition: 0.3s ease;
}

.ma-process-icon i {
  font-size: 20px;
  line-height: 1;
}

.ma-process-step:hover .ma-process-icon {
  background: var(--ma-purple);
  color: #ffffff;
  transform: rotate(-4deg) scale(1.04);
}

.ma-process-step.final .ma-process-icon {
  background: linear-gradient(135deg, var(--ma-purple), #4c1f5f);
  color: #fff;
}

.ma-process-step .step-label {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: #22112d;
}

.ma-process-step .step-sub {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ma-ink-50);
}

.ma-process-arrow {
  color: var(--ma-purple);
  padding-top: 48px;
  opacity: 0.75;
}

.ma-process-arrow i {
  font-size: 22px;
  line-height: 1;
}

.ma-highlight-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.ma-highlight-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fbf8fd 100%);
  border: 1px solid rgba(112, 53, 123, 0.13);
  border-radius: 22px;
  padding: 28px 24px 26px;
  box-shadow: 0 14px 40px rgba(49, 25, 70, 0.07);
  transition: 0.3s ease;
}

.ma-highlight-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 4px;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(90deg, var(--ma-purple), #b685c8);
}

.ma-highlight-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--ma-purple), #8f53a3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 12px 28px rgba(112, 53, 123, 0.18);
  transition: 0.3s ease;
}

.ma-highlight-icon i {
  font-size: 21px;
  line-height: 1;
}

.ma-highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 55px rgba(49, 25, 70, 0.12);
}

.ma-highlight-card:hover .ma-highlight-icon {
  transform: rotate(-6deg) scale(1.06);
}

.ma-highlight-card h4 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 10px;
  color: #22112d;
}

.ma-highlight-card p {
  font-size: 13.5px;
  color: var(--ma-ink-70);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 992px) {
  .ma-process-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ma-process-arrow {
    padding-top: 0;
    transform: rotate(90deg);
    text-align: center;
  }

  .ma-highlight-row {
    grid-template-columns: 1fr;
  }

  .ma-process-card {
    padding: 28px;
  }
}

@media (max-width: 576px) {
  .ma-process-section {
    padding: 60px 0;
  }

  .ma-process-card {
    padding: 24px;
    border-radius: 22px;
  }

  .ma-process-step {
    padding: 22px 14px;
  }

  .ma-process-icon {
    width: 62px;
    height: 62px;
  }
}
/* ==========================================================================
   PLATFORM SECTION — heatmap + explanation
   ========================================================================== */
.ma-platform-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: center;
}

.ma-heatmap-card {
  background: #fff;
  border-radius: var(--ma-radius-lg);
  box-shadow: var(--ma-shadow-md);
  border: 1px solid var(--ma-border);
  padding: 22px;
}

.ma-heatmap-card .hm-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  margin-bottom: 14px;
}

.ma-heatmap-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.ma-heatmap-table th {
  text-align: left;
  font-weight: 600;
  color: var(--ma-ink-50);
  font-size: 10px;
  padding: 0 6px 8px;
  border-bottom: 1px solid var(--ma-border);
}

.ma-heatmap-table th.center,
.ma-heatmap-table td.center {
  text-align: center;
}

.ma-heatmap-table td {
  padding: 6px 6px;
  border-bottom: 1px solid var(--ma-border);
  color: var(--ma-ink-70);
  white-space: nowrap;
}

.ma-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.ma-dot.r {
  background: #ef6e77;
}
.ma-dot.o {
  background: #f0a94e;
}
.ma-dot.g {
  background: #4fb477;
}

.ma-heatmap-more {
  font-size: 11px;
  color: var(--ma-ink-50);
  padding: 8px 6px 0;
}

.ma-heatmap-legend {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 16px;
  font-size: 11px;
  color: var(--ma-ink-50);
}
.ma-heatmap-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ma-check-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.ma-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ma-ink-70);
  margin-bottom: 14px;
  line-height: 1.5;
}

.ma-check-list .tick {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e4f6ea;
  color: #2fae60;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.ma-check-list .tick svg {
  width: 12px;
  height: 12px;
}

/* ==========================================================================
   DIFFERENTIATORS
   ========================================================================== */
.ma-diff-section {
  padding: 90px 0;
  background:
    radial-gradient(
      circle at top left,
      rgba(112, 53, 123, 0.1),
      transparent 34%
    ),
    linear-gradient(180deg, #ffffff 0%, #fbf8ff 100%);
}

.ma-diff-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ma-diff-card {
  position: relative;
  overflow: hidden;
  min-height: 205px;
  padding: 30px 26px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(112, 53, 123, 0.11);
  box-shadow: 0 22px 60px rgba(32, 20, 48, 0.08);
  transition: all 0.35s ease;
}

.ma-diff-card::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(112, 53, 123, 0.08);
}

.ma-diff-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 80px rgba(112, 53, 123, 0.15);
  border-color: rgba(112, 53, 123, 0.24);
}

.ma-diff-icon {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f4ecff, #ffffff);
  color: var(--ma-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow:
    inset 0 0 0 1px rgba(112, 53, 123, 0.1),
    0 14px 32px rgba(112, 53, 123, 0.12);
}

.ma-diff-icon i {
  font-size: 24px;
}

.ma-diff-row h4 {
  position: relative;
  z-index: 1;
  font-size: 18px;
  font-weight: 800;
  color: #09092f;
  margin: 0 0 10px;
  letter-spacing: -0.3px;
}

.ma-diff-row p {
  position: relative;
  z-index: 1;
  font-size: 14px;
  color: #7b7894;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 991px) {
  .ma-diff-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .ma-diff-section {
    padding: 70px 0;
  }

  .ma-diff-row {
    grid-template-columns: 1fr;
  }
}
/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.ma-final {
  background: linear-gradient(120deg, #6e45d4 0%, #4a22a8 100%);
  border-radius: 28px;
  padding: 64px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ma-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 10% 90%,
      rgba(255, 255, 255, 0.08),
      transparent 40%
    ),
    radial-gradient(
      circle at 92% 15%,
      rgba(255, 255, 255, 0.08),
      transparent 40%
    );
}

.ma-final h2 {
  position: relative;
  color: #fff;
  font-size: 34px;
  font-weight: 800;
  max-width: 620px;
  margin: 0 auto 14px;
  line-height: 1.25;
}

.ma-final .sub {
  position: relative;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  margin-bottom: 32px;
}

.ma-final-ctas {
  position: relative;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.ma-platform-grid,
.ma-hero-grid,
.ma-revenue-grid-wrap,
.ma-dash-content,
.ma-process-row {
  min-width: 0;
}

.ma-platform-grid > *,
.ma-hero-grid > *,
.ma-revenue-grid-wrap > *,
.ma-dash-grid > *,
.ma-process-row > * {
  min-width: 0;
}

.ma-heatmap-table {
  min-width: 480px;
}
/*=========================
  MARTECH DEMO MODAL
==========================*/

.ma-modal .modal-dialog {
  max-width: 600px;
}

.ma-modal-card {
  border: 0;
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.25);
}

/* Header */

.ma-modal-header {
  background: var(--ma-purple);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 18px 22px;
}

.ma-modal-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 7px 14px;
  border-radius: 30px;
  font-size: 12px;
  margin-bottom: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.ma-modal-header h2 {
  margin: 0;
  font-size: 2rem !important;
  font-weight: 600;
  color: #ffff;
  line-height: 1.5;
}

.ma-modal-close {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
}

.ma-modal-close:hover {
  transform: rotate(180deg);
  background: #fff;
  color: var(--ma-purple);
}

/* Body */

.ma-modal-body {
  padding: 30px;
}

.ma-modal-subtitle {
  color: #6b7280;
  font-size: 15px;
  margin-bottom: 20px;
  text-align: center;
}

/* Grid */

.ma-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.ma-field {
  margin-bottom: 18px;
}

.ma-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #2f3640;
}

.ma-field input,
.ma-field textarea {
  width: 100%;
  padding: 14px 18px;

  border: 1px solid #e5e7eb;
  border-radius: 14px;

  font-size: 15px;

  transition: 0.3s;

  background: #fafafa;
}

.ma-field input:focus,
.ma-field textarea:focus {
  outline: none;
  border-color: var(--ma-purple);

  background: #fff;

  box-shadow: 0 0 0 4px rgba(139, 30, 45, 0.12);
}

.ma-field textarea {
  resize: vertical;
  min-height: 140px;
}

/* Button */

.ma-submit-btn {
  width: 100%;
  border: none;

  padding: 16px;

  border-radius: 14px;

  background: var(--ma-purple);

  color: #fff;

  font-size: 16px;
  font-weight: 700;

  transition: 0.35s;
}

.ma-submit-btn:hover {
  background: var(--ma-purple);

  transform: translateY(-2px);

  box-shadow: 0 15px 35px rgba(139, 30, 45, 0.25);
}

/* Mobile */

@media (max-width: 768px) {
  .ma-modal-body {
    padding: 24px;
  }

  .ma-modal-header {
    padding: 24px;
  }

  .ma-modal-header h2 {
    font-size: 28px;
  }

  .ma-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
  .ma-hero-grid {
    grid-template-columns: 1fr;
  }
  .ma-hero h1 {
    font-size: 36px;
  }
  .ma-dash {
    max-width: 560px;
    margin: 0 auto;
  }
  .ma-problem-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .ma-process-row {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }
  .ma-process-arrow {
    display: none;
  }
  .ma-highlight-row {
    grid-template-columns: 1fr;
  }
  .ma-platform-grid {
    grid-template-columns: 1fr;
  }
  .ma-revenue-grid-wrap {
    grid-template-columns: 1fr;
  }
  .ma-formula-row {
    grid-template-columns: 1fr;
    row-gap: 8px;
  }
  .ma-formula-op {
    display: none;
  }
  .ma-diff-row {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 28px;
  }
}

@media (max-width: 576px) {
  .ma-page section {
    padding: 56px 0;
  }
  .ma-hero {
    padding: 48px 0 40px;
  }
  .ma-hero h1 {
    font-size: 30px;
  }
  .ma-hero-chips {
    grid-template-columns: repeat(2, 1fr);
  }
  .ma-hero-ctas {
    flex-wrap: wrap;
  }
  .ma-dash {
    grid-template-columns: 70px 1fr;
  }
  .ma-dash-nav-item span.txt {
    display: none;
  }
  .ma-dash-grid {
    grid-template-columns: 1fr;
  }
  .ma-section-head h2 {
    font-size: 25px;
  }
  .ma-revenue-list {
    grid-template-columns: 1fr;
  }
  .ma-formula-bars {
    gap: 8px;
  }
  .ma-diff-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .ma-heatmap-table {
    font-size: 10px;
  }
  .ma-final {
    padding: 44px 22px;
  }
  .ma-final h2 {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ma-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* =========================
   Responsive Styles
   Added to preserve the desktop layout while improving tablet and mobile views.
========================= */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.ma-page *,
.ma-page *::before,
.ma-page *::after {
  box-sizing: border-box;
}

.ma-page img,
.ma-page video,
.ma-page iframe,
.ma-page svg {
  max-width: 100%;
}

.ma-page img,
.ma-page video {
  height: auto;
}

.ma-page iframe {
  display: block;
  width: 100%;
}

.ma-wrap,
.problem-container {
  width: 100%;
}

.ma-hero-grid > *,
.ma-platform-grid > *,
.problem-grid > *,
.ma-highlight-row > *,
.ma-diff-row > *,
.ma-dash-content,
.ma-dash-card {
  min-width: 0;
}

.ma-table-responsive {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.ma-table-responsive:focus-visible {
  outline: 2px solid var(--ma-purple);
  outline-offset: 4px;
  border-radius: 8px;
}

.ma-heatmap-table {
  min-width: 720px;
}

.ma-heatmap-table th:last-child,
.ma-heatmap-table td:last-child {
  min-width: 150px;
  white-space: nowrap;
}

.ma-page .logo-img {
  max-width: 100%;
  height: auto;
}

/* Large laptops and smaller desktops */
@media (max-width: 1200px) {
  .ma-page section {
    padding-block: 76px;
  }

  .ma-wrap {
    padding-inline: 20px;
  }

  .ma-hero-grid {
    gap: 36px;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }

  .ma-hero h1 {
    font-size: 48px;
  }

  .ma-section-head h2,
  .ma-platform-grid > .ma-reveal > h2 {
    font-size: 42px !important;
  }

  .problem-card {
    padding: 36px 28px;
  }

  .problem-count {
    margin-bottom: 56px;
  }

  .ma-process-card {
    padding: 34px;
  }

  .ma-platform-grid {
    gap: 36px;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }
}

/* Tablets and compact laptops */
@media (max-width: 992px) {
  .ma-page section {
    padding-block: 68px;
  }

  .ma-hero-grid,
  .ma-platform-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ma-hero-grid {
    gap: 44px;
  }

  .ma-hero-sub {
    max-width: 680px;
  }

  .ma-hero-chips {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ma-dash {
    width: 100%;
    max-width: 720px;
  }

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

  .problem-card:last-child {
    grid-column: 1 / -1;
  }

  .problem-card {
    min-height: 0;
  }

  .problem-count {
    margin-bottom: 34px;
  }

  .ma-process-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  .ma-process-arrow {
    display: none;
  }

  .ma-highlight-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .ma-platform-grid {
    gap: 42px;
  }

  .ma-platform-grid > .ma-reveal > h2 {
    max-width: 760px;
  }

  .ma-diff-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ma-final {
    padding: 56px 36px;
  }

  .ma-page .navbar-collapse {
    max-width: 100%;
  }

  .ma-page .navbar-nav {
    width: 100%;
    padding-top: 14px;
  }
}

/* Portrait tablets and large phones */
@media (max-width: 768px) {
  .ma-page section {
    padding-block: 58px;
  }

  .ma-wrap {
    padding-inline: 16px;
  }

  .ma-hero {
    padding-block: 48px;
  }

  .ma-hero h1 {
    font-size: clamp(36px, 9vw, 44px);
  }

  .ma-hero-lede {
    font-size: 17px;
  }

  .ma-hero-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ma-chip:last-child {
    grid-column: 1 / -1;
  }

  .ma-dash {
    grid-template-columns: 78px minmax(0, 1fr);
    min-height: auto;
  }

  .ma-dash-side {
    padding-inline: 8px;
  }

  .ma-dash-nav-item {
    justify-content: center;
    padding-inline: 6px;
  }

  .ma-dash-nav-item .txt {
    display: none;
  }

  .ma-dash-content {
    padding: 16px 12px;
  }

  .ma-dash-header {
    gap: 8px;
    align-items: flex-start;
    flex-direction: column;
  }

  .ma-dash-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ma-section-head {
    margin-bottom: 36px;
  }

  .ma-section-head h2,
  .ma-platform-grid > .ma-reveal > h2 {
    font-size: clamp(28px, 6vw, 36px) !important;
    line-height: 1.22 !important;
  }

  .problem-section {
    padding-inline: 0;
  }

  .problem-header {
    margin-bottom: 36px;
  }

  .problem-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .problem-card:last-child {
    grid-column: auto;
  }

  .problem-card {
    padding: 32px 24px;
    border-radius: 22px;
  }

  .problem-count {
    font-size: 58px !important;
    margin-bottom: 28px;
  }

  .problem-card h3 {
    font-size: 21px !important;
  }

  .problem-note {
    padding: 24px 20px;
  }

  .ma-process-card {
    padding: 24px 18px;
  }

  .ma-process-row,
  .ma-highlight-row,
  .ma-diff-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .ma-process-step {
    padding: 18px 12px;
  }

  .ma-heatmap-card {
    padding: 18px 14px;
  }

  .ma-heatmap-legend {
    gap: 10px 16px;
  }

  .ma-check-list li {
    font-size: 13.5px;
  }

  .ma-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ma-modal-card {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
  }

  .ma-modal-header,
  .ma-modal-body {
    padding: 22px 18px;
  }

  .ma-final-ctas {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Mobile devices */
@media (max-width: 576px) {
  .ma-page section {
    padding-block: 48px;
  }

  .ma-wrap {
    padding-inline: 14px;
  }

  .ma-eyebrow {
    font-size: 11px;
    margin-bottom: 12px;
  }

  .ma-hero {
    padding-block: 38px;
  }

  .ma-hero h1 {
    font-size: clamp(32px, 10vw, 38px);
    margin-bottom: 16px;
  }

  .ma-hero-lede {
    font-size: 16px;
  }

  .ma-hero-sub {
    font-size: 14px;
  }

  .ma-hero-chips {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .ma-chip:last-child {
    grid-column: auto;
  }

  .ma-chip {
    padding: 17px 16px;
  }

  .ma-hero-ctas,
  .ma-final-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .ma-btn,
  .ma-final-ctas .ma-btn {
    width: 100%;
    justify-content: center;
  }

  .ma-dash {
    grid-template-columns: 54px minmax(0, 1fr);
    border-radius: 14px;
  }

  .ma-dash-side {
    padding: 12px 5px;
  }

  .ma-dash-dots {
    justify-content: center;
    padding-left: 0;
  }

  .ma-dash-nav-item {
    padding: 8px 4px;
  }

  .ma-dash-nav-item svg {
    width: 15px;
    height: 15px;
  }

  .ma-dash-content {
    padding: 12px 8px;
  }

  .ma-dash-card {
    padding: 11px 10px;
  }

  .ma-dash-card-row {
    gap: 8px;
  }

  .ma-dash-card .big {
    font-size: 15px;
  }

  .ma-dash-header .updated {
    display: none;
  }

  .ma-section-head h2,
  .ma-platform-grid > .ma-reveal > h2,
  .problem-header h2 {
    font-size: clamp(25px, 8vw, 32px) !important;
  }

  .problem-card {
    padding: 28px 20px;
  }

  .problem-count {
    font-size: 50px !important;
  }

  .problem-note {
    font-size: 14px;
  }

  .ma-process-card {
    padding: 20px 14px;
    border-radius: 20px;
  }

  .ma-highlight-card,
  .ma-diff-card {
    padding: 24px 20px;
  }

  .ma-heatmap-card {
    margin-inline: 0;
    padding: 16px 12px;
    border-radius: 16px;
  }

  .ma-heatmap-card .hm-title {
    font-size: 14px;
  }

  .ma-heatmap-table {
    min-width: 680px;
    font-size: 10px;
  }

  .ma-heatmap-table th,
  .ma-heatmap-table td {
    padding-inline: 5px;
  }

  .ma-heatmap-legend {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .ma-final {
    padding: 38px 18px;
    border-radius: 20px;
  }

  .ma-modal-header h2 {
    font-size: 24px;
  }

  .ma-modal-close {
    top: 12px;
    right: 12px;
  }

  .ma-page .navbar > .container-fluid {
    padding-inline: 12px;
  }

  .ma-page .contact-sales-form {
    max-width: calc(100vw - 24px);
  }
}

/* Very small mobile devices */
@media (max-width: 375px) {
  .ma-wrap {
    padding-inline: 12px;
  }

  .ma-hero h1 {
    font-size: 30px;
  }

  .ma-dash {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .ma-dash-content {
    padding-inline: 6px;
  }

  .ma-ring {
    width: 34px;
    height: 34px;
  }

  .ma-spark,
  .ma-mini-bars {
    width: 42px;
  }

  .ma-final {
    padding-inline: 14px;
  }
}
