/* ==========================================================================
   Movepro Design System – Custom Styles
   Built on Bootstrap 5.3 with Figma design tokens
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Font-metric-matched fallback – eliminates layout shift during swap
   -------------------------------------------------------------------------- */

@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial');
  size-adjust: 107.64%;
  ascent-override: 90.49%;
  descent-override: 22.48%;
  line-gap-override: 0%;
}

/* --------------------------------------------------------------------------
   1. Design Tokens (CSS Custom Properties)
   -------------------------------------------------------------------------- */

:root {
  /* --- Neutral --- */
  --mp-neutral-0: #ffffff;
  --mp-neutral-25: #fdfdfd;
  --mp-neutral-50: #fafafa;
  --mp-neutral-100: #f4f4f5;
  --mp-neutral-200: #e4e4e7;
  --mp-neutral-300: #d4d4d8;
  --mp-neutral-400: #a1a1aa;
  --mp-neutral-500: #71717a;
  --mp-neutral-600: #52525b;
  --mp-neutral-700: #3f3f46;
  --mp-neutral-800: #27272a;
  --mp-neutral-900: #18181b;
  --mp-neutral-1000: #000000;

  /* --- Brand (Blue) --- */
  --mp-brand-50: #f4f6ff;
  --mp-brand-100: #e9ecfe;
  --mp-brand-200: #a5b1f9;
  --mp-brand-300: #6277f5;
  --mp-brand-400: #3550f2;
  --mp-brand-500: #1f3df0;
  --mp-brand-600: #1931c0;
  --mp-brand-700: #132590;
  --mp-brand-800: #0c1860;
  --mp-brand-900: #060c30;

  /* --- Green (Success) --- */
  --mp-green-50: #f2faeb;
  --mp-green-100: #e4f5d7;
  --mp-green-200: #c9e8aa;
  --mp-green-300: #abd778;
  --mp-green-400: #8dc050;
  --mp-green-500: #7caf3f;
  --mp-green-600: #66952d;
  --mp-green-700: #577c2e;
  --mp-green-800: #496929;
  --mp-green-900: #354629;

  /* --- Red (Errors) --- */
  --mp-red-100: #fff5f5;
  --mp-red-200: #ffdede;
  --mp-red-300: #ffa0a0;
  --mp-red-400: #ff5c5c;
  --mp-red-500: #f02d2d;
  --mp-red-600: #c02424;
  --mp-red-700: #901b1b;
  --mp-red-800: #601212;
  --mp-red-900: #300909;

  /* --- Yellow (Warnings) --- */
  --mp-yellow-100: #fffae8;
  --mp-yellow-200: #fff3c5;
  --mp-yellow-300: #f8d34e;
  --mp-yellow-400: #f8ca21;
  --mp-yellow-500: #e0b71f;
  --mp-yellow-600: #c8a31d;
  --mp-yellow-700: #b0901b;
  --mp-yellow-800: #977c19;
  --mp-yellow-900: #7f6917;

  /* --- Purple --- */
  --mp-purple-100: #f9f5ff;
  --mp-purple-200: #f2e9ff;
  --mp-purple-300: #e1cdff;
  --mp-purple-400: #c9acf9;
  --mp-purple-500: #ae93eb;
  --mp-purple-600: #8d70dd;
  --mp-purple-700: #583dba;
  --mp-purple-800: #381588;
  --mp-purple-900: #20105b;

  /* --- Semantic Colour Aliases --- */
  --mp-bg-primary: var(--mp-neutral-0);
  --mp-bg-secondary: var(--mp-neutral-100);
  --mp-bg-brand: var(--mp-brand-50);

  --mp-text-primary: var(--mp-neutral-1000);
  --mp-text-secondary: var(--mp-neutral-700);
  --mp-text-tertiary: var(--mp-neutral-500);
  --mp-text-invert: var(--mp-neutral-0);
  --mp-text-invert-secondary: var(--mp-neutral-100);
  --mp-text-invert-tertiary: var(--mp-neutral-200);
  --mp-text-brand: var(--mp-brand-500);

  --mp-border-primary: var(--mp-neutral-200);
  --mp-border-secondary: var(--mp-neutral-100);
  --mp-border-brand: var(--mp-brand-500);

  --mp-link-default: var(--mp-neutral-900);
  --mp-link-brand: var(--mp-brand-500);
  --mp-link-invert: var(--mp-neutral-0);

  /* --- Radius --- */
  --mp-radius-pill: 999px;
  --mp-radius-tag: 6px;
  --mp-radius-card: 20px;
  --mp-radius-card-lg: 24px;

  /* --- Font --- */
  --mp-font-family: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}


/* --------------------------------------------------------------------------
   2. Bootstrap Variable Overrides
   -------------------------------------------------------------------------- */

body {
  font-family: var(--mp-font-family);
  color: var(--mp-text-primary);
  background-color: var(--mp-bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  --bs-gutter-x: 80px;
}

@media (max-width: 767.98px) {
  .container {
    --bs-gutter-x: 40px;
  }
}


/* --------------------------------------------------------------------------
   3. Responsive Typography
   -------------------------------------------------------------------------- */

/* Mobile-first (< 768px) */
h1, .h1 {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -2.4px;
}
h2, .h2 {
  font-size: 36px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -1.08px;
}
h3, .h3 {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.32px;
}
h4, .h4 {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0;
}
h5, .h5 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0;
}
h6, .h6 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0;
}

.p-lg {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
}
p, .p-md {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
}
.p-sm {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
}

/* Tablet (≥ 768px) */
@media (min-width: 768px) {
  h1, .h1 { font-size: 56px; letter-spacing: -2.8px; }
  h2, .h2 { font-size: 42px; letter-spacing: -1.26px; }
  h3, .h3 { font-size: 36px; letter-spacing: -0.36px; }
  h4, .h4 { font-size: 28px; }
  h5, .h5 { font-size: 24px; }
  h6, .h6 { font-size: 18px; }

  .p-lg { font-size: 18px; }
  p, .p-md { font-size: 16px; }
  .p-sm { font-size: 14px; }
}

/* Desktop (≥ 1024px) */
@media (min-width: 1024px) {
  h1, .h1 { font-size: 64px; letter-spacing: -3.2px; }
  h2, .h2 { font-size: 56px; letter-spacing: -1.68px; }
  h3, .h3 { font-size: 42px; letter-spacing: -0.42px; }
  h4, .h4 { font-size: 32px; }
  h5, .h5 { font-size: 28px; }
  h6, .h6 { font-size: 18px; }
}

/* Labels */
.label-lg {
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}
.label-sm {
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}


/* --------------------------------------------------------------------------
   4. Tags
   -------------------------------------------------------------------------- */

.mp-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 32px;
  padding: 2px 10px;
  border-radius: var(--mp-radius-tag);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}

.mp-tag-brand {
  background-color: var(--mp-bg-brand);
  color: var(--mp-text-brand);
}

.mp-tag-neutral {
  background-color: var(--mp-bg-secondary);
  color: var(--mp-text-primary);
}

.mp-tag-outline {
  border: 1px solid var(--mp-border-primary);
  color: var(--mp-text-primary);
}


/* --------------------------------------------------------------------------
   5. Buttons (Primary Button Bouncy)
   -------------------------------------------------------------------------- */

.btn-mp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--mp-radius-pill);
  border: none;
  font-family: var(--mp-font-family);
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  min-width: 40px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

/* Strip Bootstrap .btn default hover / active / focus chrome */
.btn.btn-mp,
.btn.btn-mp:hover,
.btn.btn-mp:focus,
.btn.btn-mp:focus-visible,
.btn.btn-mp:active,
.btn.btn-mp:first-child:active,
.btn.btn-mp.active,
.btn-check:checked + .btn.btn-mp,
.btn-check:active + .btn.btn-mp {
  box-shadow: none;
  border-color: transparent;
  outline: 0;
}

.btn-mp:active {
  transform: scale(0.97);
  transition: transform 0.1s ease, background-color 0.15s ease, color 0.15s ease;
}

/* Large – 8px expansion per side reserved in margin */
.btn-mp-lg {
  --btn-px: 24;
  --btn-px-hover: 32;
  --btn-mx: 8;
  padding: 22px 24px;
  margin-left: 8px;
  margin-right: 8px;
  font-size: 16px;
  letter-spacing: -0.48px;
}

/* Medium – 8px expansion per side */
.btn-mp-md {
  --btn-px: 24;
  --btn-px-hover: 32;
  --btn-mx: 8;
  padding: 18px 24px;
  margin-left: 8px;
  margin-right: 8px;
  font-size: 16px;
  letter-spacing: -0.48px;
}

/* Small – 6px expansion per side */
.btn-mp-sm {
  --btn-px: 20;
  --btn-px-hover: 26;
  --btn-mx: 6;
  padding: 12px 20px;
  margin-left: 6px;
  margin-right: 6px;
  height: 40px;
  font-size: 14px;
  letter-spacing: -0.42px;
}

/* Brand colour */
.btn-mp.btn-mp-brand {
  background-color: var(--mp-brand-500);
  color: var(--mp-text-invert);
}
.btn-mp.btn-mp-brand:hover {
  background-color: var(--mp-brand-600);
  color: var(--mp-text-invert);
}
.btn-mp.btn-mp-brand:active {
  background-color: var(--mp-brand-700);
  color: var(--mp-text-invert);
}

/* White colour */
.btn-mp.btn-mp-white {
  background-color: var(--mp-neutral-0);
  color: var(--mp-text-primary);
}
.btn-mp.btn-mp-white:hover {
  background-color: var(--mp-neutral-25);
  color: var(--mp-text-primary);
}
.btn-mp.btn-mp-white:active {
  background-color: var(--mp-neutral-100);
  color: var(--mp-text-primary);
}


/* --------------------------------------------------------------------------
   6. Text Links
   -------------------------------------------------------------------------- */

.mp-text-link {
  font-family: var(--mp-font-family);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.1;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.mp-text-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mp-text-link-default {
  color: var(--mp-link-default);
}
.mp-text-link-default:hover {
  color: var(--mp-link-default);
}

.mp-text-link-white {
  color: var(--mp-link-invert);
}
.mp-text-link-white:hover {
  color: var(--mp-link-invert);
  opacity: 0.85;
}

.mp-text-link-brand {
  color: var(--mp-link-brand);
}
.mp-text-link-brand:hover {
  color: var(--mp-brand-600);
}


/* --------------------------------------------------------------------------
   7. Nav Link
   -------------------------------------------------------------------------- */

.mp-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #0c0c0d;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.mp-nav-link:hover {
  background-color: var(--mp-neutral-100);
  color: #0c0c0d;
}

.mp-nav-link.active {
  background-color: transparent;
  color: #0c0c0d;
  font-weight: 500;
}

.mp-nav-link.active:hover {
  background-color: var(--mp-neutral-100);
}

/* Features dropdown */
.mp-nav-dropdown {
  position: relative;
}

.mp-nav-dropdown .mp-nav-link.dropdown-toggle::after {
  display: inline-block;
  margin-left: 4px;
  vertical-align: middle;
  content: "";
  border-top: 4px solid;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  transition: transform 0.2s ease;
}

.mp-nav-dropdown.show .mp-nav-link.dropdown-toggle::after {
  transform: rotate(180deg);
}

.mp-dropdown-menu {
  border: none;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.04), 0 4px 64px rgba(0, 0, 0, 0.12);
  min-width: 300px;
  margin-top: 8px !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  transition: none;
  display: block;
  pointer-events: none;
}

.mp-dropdown-ready .mp-dropdown-menu {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.mp-dropdown-menu.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.mp-dropdown-menu li {
  list-style: none;
}

.mp-dropdown-menu .dropdown-item {
  display: flex;
  gap: 4px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  color: #000;
  white-space: normal;
  transition: background-color 0.15s ease;
}

.mp-dropdown-menu .dropdown-item:hover,
.mp-dropdown-menu .dropdown-item:focus {
  background-color: var(--mp-neutral-100);
  color: #000;
}

.mp-dropdown-menu .dropdown-item.active,
.mp-dropdown-menu .dropdown-item:active {
  background-color: var(--mp-neutral-100);
  color: #000;
}

.dropdown-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border: 1px solid var(--mp-neutral-100);
  border-radius: 4px;
}

.dropdown-item:hover .dropdown-item-icon,
.dropdown-item:focus .dropdown-item-icon,
.dropdown-item.active .dropdown-item-icon {
  background-color: var(--mp-neutral-0);
  border-color: var(--mp-neutral-100);
}

.dropdown-item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
  padding: 2px 0 0 4px;
  line-height: 1.3;
}

.dropdown-item-heading {
  font-weight: 500;
  font-size: 14px;
  color: #000;
}

.dropdown-item-desc {
  font-weight: 400;
  font-size: 14px;
  color: #000;
  opacity: 0.8;
}

@media (max-width: 991.98px) {
  .mp-dropdown-menu {
    border: none;
    border-radius: 0;
    padding: 8px 0;
    box-shadow: none;
    min-width: 0;
    margin-top: 0 !important;
    left: 0 !important;
    transform: none;
    opacity: 1;
    transition: none;
    pointer-events: auto;
  }

  .mp-dropdown-menu.show {
    transform: none;
  }
}


/* --------------------------------------------------------------------------
   8. Primary Tab
   -------------------------------------------------------------------------- */

.mp-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 14px;
  background-color: transparent;
  border: 1px solid var(--mp-border-primary);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  color: var(--mp-text-primary);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.mp-tab:hover {
  background-color: var(--mp-neutral-50);
  border-color: var(--mp-neutral-300);
  color: var(--mp-text-primary);
}

.mp-tab.active {
  background-color: var(--mp-bg-primary);
  border-color: var(--mp-border-brand);
  box-shadow: 0 0 0 1px var(--mp-border-brand);
  color: var(--mp-text-primary);
}

.mp-tab-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}


/* --------------------------------------------------------------------------
   9. Navigation
   -------------------------------------------------------------------------- */

.mp-navbar {
  background-color: var(--mp-bg-primary);
  height: 72px;
  min-width: 0;
}

.mp-navbar .navbar-brand {
  padding: 0;
}

.mp-navbar .navbar-brand img {
  height: 26px;
  width: auto;
}

@media (min-width: 1024px) {
  .mp-navbar .navbar-brand img {
    height: 26px;
  }
}

.mp-navbar .navbar-toggler {
  border: none;
  padding: 8px;
}

.mp-navbar .navbar-toggler:focus {
  box-shadow: none;
}

.mp-navbar.scrolled {
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}


/* --------------------------------------------------------------------------
   9a. Fullscreen Mobile Menu
   -------------------------------------------------------------------------- */

.mp-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1019;
  background-color: var(--mp-bg-primary);
  display: flex;
  flex-direction: column;
  padding: 88px 24px 32px;
  padding-bottom: max(32px, env(safe-area-inset-bottom, 0px));
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0s linear 0.2s;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.mp-mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.15s ease, visibility 0s linear 0s;
}

@media (min-width: 992px) {
  .mp-mobile-menu {
    display: none !important;
  }
}

body.mp-menu-open {
  overflow: hidden;
}

.mp-mobile-menu-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 8px;
}

.mp-mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mp-mobile-menu-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 12px;
}

.mp-mobile-menu-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mp-text-tertiary);
  padding: 14px 0 8px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.mp-mobile-menu-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--mp-text-primary);
  text-decoration: none;
  padding: 10px 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.15s ease, transform 0.15s ease, color 0.15s ease;
}

.mp-mobile-menu-feature:hover,
.mp-mobile-menu-feature:focus {
  color: var(--mp-brand-500);
}

.mp-mobile-menu-feature img {
  flex-shrink: 0;
}

.mp-mobile-menu-link {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--mp-text-primary);
  text-decoration: none;
  padding: 14px 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.15s ease, transform 0.15s ease, color 0.15s ease;
}

.mp-mobile-menu-link:hover,
.mp-mobile-menu-link:focus {
  color: var(--mp-brand-500);
}

.mp-mobile-menu.is-open .mp-mobile-menu-label,
.mp-mobile-menu.is-open .mp-mobile-menu-feature,
.mp-mobile-menu.is-open .mp-mobile-menu-link {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1), color 0.15s ease;
}

.mp-mobile-menu.is-open .mp-mobile-menu-label { transition-delay: 0.05s; }
.mp-mobile-menu.is-open .mp-mobile-menu-group > :nth-child(2) { transition-delay: 0.09s; }
.mp-mobile-menu.is-open .mp-mobile-menu-group > :nth-child(3) { transition-delay: 0.13s; }
.mp-mobile-menu.is-open .mp-mobile-menu-group > :nth-child(4) { transition-delay: 0.17s; }
.mp-mobile-menu.is-open .mp-mobile-menu-group > :nth-child(5) { transition-delay: 0.21s; }
.mp-mobile-menu.is-open .mp-mobile-menu-nav > :nth-child(2) { transition-delay: 0.25s; }
.mp-mobile-menu.is-open .mp-mobile-menu-nav > :nth-child(3) { transition-delay: 0.29s; }

.mp-mobile-menu-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.mp-mobile-menu.is-open .mp-mobile-menu-footer {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s ease 0.34s, transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1) 0.34s;
}

.mp-mobile-menu-cta {
  width: 100%;
  text-align: center;
  justify-content: center;
  font-size: 18px !important;
  padding: 18px 32px !important;
}

.mp-mobile-menu-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.mp-mobile-menu-phone-number {
  font-size: 22px;
  font-weight: 600;
  color: var(--mp-text-primary);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.mp-mobile-menu-phone-number:hover {
  color: var(--mp-brand-500);
}

.mp-mobile-menu-phone-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--mp-text-tertiary);
}

/* Toggler icon swap */
.mp-menu-icon-open,
.mp-menu-icon-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mp-menu-icon-close {
  display: none;
}

.mp-menu-toggle[aria-expanded="true"] .mp-menu-icon-open {
  display: none;
}

.mp-menu-toggle[aria-expanded="true"] .mp-menu-icon-close {
  display: inline-flex;
}


/* --------------------------------------------------------------------------
   10. FAQ Card
   -------------------------------------------------------------------------- */

.mp-faq-card {
  background-color: var(--mp-bg-primary);
  border-radius: var(--mp-radius-card);
  overflow: hidden;
  transition: background-color 0.15s ease;
}

.mp-faq-card:hover:not(.mp-faq-cta) {
  background-color: var(--mp-neutral-50);
}

.mp-faq-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 28px;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.mp-faq-header h6 {
  flex: 1;
  margin: 0;
}

.mp-faq-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.mp-faq-card[open] .mp-faq-chevron,
.mp-faq-card.is-open .mp-faq-chevron {
  transform: rotate(180deg);
}

.mp-faq-body {
  padding: 0 28px 24px;
  display: none;
}

.mp-faq-card.is-open .mp-faq-body {
  display: block;
}

.mp-faq-body p {
  margin: 0;
  color: var(--mp-text-primary);
}

.mp-faq-cta {
  background-color: var(--mp-bg-brand);
  border: 1px solid var(--mp-border-brand);
}

.mp-faq-cta .mp-faq-header {
  cursor: default;
}


/* --------------------------------------------------------------------------
   11. FAQ Section
   -------------------------------------------------------------------------- */

.mp-section-faqs {
  background-color: var(--mp-bg-secondary);
  padding: 80px 0;
}

.mp-faqs-title .label-sm {
  color: var(--mp-text-secondary);
}

.mp-faqs-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}


/* --------------------------------------------------------------------------
   12. CTA Section
   -------------------------------------------------------------------------- */

.mp-section-cta {
  background: linear-gradient(to bottom, var(--mp-neutral-100), var(--mp-neutral-0));
  padding: 32px 0;
}

.mp-cta-blocks {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mp-cta-top {
  background-color: var(--mp-brand-500);
  border-radius: var(--mp-radius-card-lg);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.mp-cta-top-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  border-radius: inherit;
}

.mp-cta-ring {
  display: none;
}

@media (min-width: 1024px) {
  .mp-cta-ring {
    display: block;
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10000px;
    top: 50%;
    right: 280px;
    transform: translate(50%, -50%);
  }

  .mp-cta-ring:nth-child(1) {
    width: 178px;
    height: 108px;
  }

  .mp-cta-ring:nth-child(2) {
    width: 320px;
    height: 180px;
    opacity: 0.5;
  }

  .mp-cta-ring:nth-child(3) {
    width: 486px;
    height: 276px;
    opacity: 0.25;
  }
}

.mp-cta-top-text {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.mp-cta-top-text h5 {
  color: var(--mp-text-invert);
  margin-bottom: 4px;
}

.mp-cta-top-text .p-lg {
  color: var(--mp-text-invert-tertiary);
  margin: 0;
}

.mp-cta-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.mp-specialist-avatars {
  display: flex;
}

.mp-specialist-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid white;
  object-fit: cover;
  background-color: var(--mp-brand-500);
  position: relative;
}

.mp-specialist-avatar:nth-child(3) { z-index: 1; }
.mp-specialist-avatar:nth-child(2) { z-index: 2; }
.mp-specialist-avatar:nth-child(1) { z-index: 3; }

.mp-specialist-avatar:not(:first-child) {
  margin-left: -20px;
}

.mp-specialist-avatar-faded {
  opacity: 0.6;
}

.mp-user-circles {
  display: flex;
}

.mp-user-circles .user-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid white;
  overflow: hidden;
  background-color: var(--mp-brand-500);
}

.mp-user-circles .user-circle:not(:first-child) {
  margin-left: -20px;
}

.mp-user-circles .user-circle.muted {
  opacity: 0.6;
}

.mp-user-circles .user-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mp-cta-bottom {
  background-color: var(--mp-bg-primary);
  border-radius: var(--mp-radius-card-lg);
  padding: 48px 40px;
  border: none;
  position: relative;
}

.mp-cta-bottom::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid var(--mp-neutral-200);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, black 0%, black 40%, transparent 70%);
  mask-image: linear-gradient(to top, black 0%, black 40%, transparent 70%);
}

.mp-timeline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  position: relative;
}

.mp-timeline-line {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(to right, #dfe4ff, var(--mp-brand-500));
}

.mp-timeline-point {
  width: 14px;
  height: 14px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.mp-onboarding-steps {
  display: flex;
  gap: 20px;
}

.mp-onboarding-step {
  flex: 1;
}

.mp-onboarding-step .tags-group {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
}

.mp-onboarding-step .step-text {
  color: var(--mp-text-primary);
}

.mp-onboarding-step .step-duration {
  color: var(--mp-text-tertiary);
}

/* Onboarding entrance animation – initial hidden state */
.mp-cta-bottom.mp-onboard-pending .mp-timeline-line {
  clip-path: inset(0 100% 0 0);
}

.mp-cta-bottom.mp-onboard-pending .mp-timeline-point {
  opacity: 0;
  transform: translateY(-50%) scale(0);
}

.mp-cta-bottom.mp-onboard-pending .mp-onboarding-step > * {
  opacity: 0;
  transform: translateY(10px);
}

@media (max-width: 767.98px) {
  .mp-cta-top {
    flex-direction: column;
    padding: 32px 20px;
  }
  .mp-cta-top-actions {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  .mp-cta-top-actions .btn-mp {
    width: 100%;
  }

  /* Vertical timeline layout */
  .mp-cta-bottom {
    padding: 32px 20px;
    display: flex;
    gap: 24px;
  }
  .mp-timeline {
    flex-direction: column;
    width: 4px;
    flex-shrink: 0;
    margin-bottom: 0;
    align-self: stretch;
  }
  .mp-timeline-line {
    width: 4px;
    height: auto;
    background: linear-gradient(to bottom, #dfe4ff, var(--mp-brand-500));
  }
  .mp-timeline-point {
    left: 50% !important;
    top: 0;
    transform: translateX(-50%);
  }
  .mp-onboarding-steps {
    flex-direction: column;
    flex: 1;
    gap: 24px;
    min-width: 0;
  }
  .mp-onboarding-step .tags-group {
    margin-bottom: 16px;
  }

  /* Pending state overrides for vertical timeline */
  .mp-cta-bottom.mp-onboard-pending .mp-timeline-line {
    clip-path: inset(0 0 100% 0);
  }
  .mp-cta-bottom.mp-onboard-pending .mp-timeline-point {
    transform: translateX(-50%) scale(0);
  }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
  .mp-cta-top {
    flex-direction: column;
    padding: 40px 32px;
  }
}


/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */

.mp-footer {
  position: relative;
  background-color: var(--mp-bg-primary);
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 0;
  min-height: 800px;
  display: flex;
  flex-direction: column;
}

.mp-footer-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.mp-footer-bg-gradient {
  position: absolute;
  top: 91px;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, #a6c5de, white);
}

.mp-footer-bg-image {
  position: absolute;
  bottom: -200px;
  left: 0;
  right: 0;
  width: 100%;
  height: 1050px;
  background-image: url('../images/footer-bg.jpg');
  background-size: cover;
  background-position: center top;
  will-change: transform;
}

.mp-footer-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.mp-footer-overlay-top {
  flex: 1;
}

.mp-footer-overlay-bottom {
  height: 350px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
}

.mp-footer-content {
  position: relative;
  z-index: 2;
  flex: 1;
}

.mp-footer-brand img {
  height: 42px;
  width: auto;
}

.mp-footer-col-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: var(--mp-text-secondary);
  margin-bottom: 12px;
}

.mp-footer-col a {
  display: block;
  margin-top: 12px;
}

.mp-footer-col a:first-of-type {
  margin-top: 0;
}

.mp-footer-bottom {
  position: relative;
  z-index: 3;
  padding: 20px 0 62px;
  margin-top: auto;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
}

.mp-footer-bottom .footer-legal {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--mp-text-invert);
  margin-bottom: 4px;
}

.mp-footer-bottom .footer-recaptcha {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--mp-text-invert-secondary);
  opacity: 0.7;
  margin: 0;
}

.mp-footer-bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.mp-footer-bottom-links a {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--mp-text-invert);
  text-decoration: none;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
}

.mp-footer-bottom-links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 767.98px) {
  .mp-footer {
    padding-top: 60px;
    min-height: 600px;
    gap: 250px;
  }
  .mp-footer-bottom-links {
    gap: 12px;
  }
}


/* --------------------------------------------------------------------------
   14. Utility Helpers
   -------------------------------------------------------------------------- */

.text-brand { color: var(--mp-text-brand) !important; }
.text-secondary-mp { color: var(--mp-text-secondary) !important; }
.text-tertiary { color: var(--mp-text-tertiary) !important; }
.text-invert { color: var(--mp-text-invert) !important; }

.bg-brand { background-color: var(--mp-brand-500) !important; }
.bg-brand-soft { background-color: var(--mp-bg-brand) !important; }
.bg-neutral-secondary { background-color: var(--mp-bg-secondary) !important; }

.border-brand { border-color: var(--mp-border-brand) !important; }

.rounded-mp { border-radius: var(--mp-radius-card) !important; }
.rounded-mp-lg { border-radius: var(--mp-radius-card-lg) !important; }
.rounded-pill-mp { border-radius: var(--mp-radius-pill) !important; }


/* --------------------------------------------------------------------------
   15. Component Reference Page Helpers
   -------------------------------------------------------------------------- */

.ref-section {
  padding: 48px 0;
  border-bottom: 1px solid var(--mp-border-primary);
}

.ref-section:last-child {
  border-bottom: none;
}

.ref-section-title {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mp-text-tertiary);
  margin-bottom: 32px;
}

.swatch-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.swatch {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  position: relative;
}

.swatch.bordered {
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.swatch-label {
  font-size: 11px;
  color: var(--mp-text-tertiary);
  margin-top: 4px;
  text-align: center;
}

.btn-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}


/* ==========================================================================
   16. HOMEPAGE – Hero
   ========================================================================== */

.mp-hero {
  position: relative;
  background: white;
  overflow: visible;
  padding: 80px 0 40px;
  z-index: 1;
}

.mp-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 100px;
  background-image: url('../images/header-bg.jpg');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  pointer-events: none;
}

.mp-hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 250px;
  background: linear-gradient(to bottom, white, transparent);
  pointer-events: none;
}

.mp-hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 48px;
  position: relative;
  z-index: 1;
}

.mp-hero-content h1 {
  margin-bottom: 24px;
}

.mp-hero-content .p-lg {
  margin-bottom: 32px;
}

.mp-hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.mp-hero-btn-outline {
  border: 1px solid var(--mp-neutral-200);
}

.mp-hero-mockups {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1;
}

.mp-hero-desktop-mockup {
  background: white;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  overflow: hidden;
  max-width: 889px;
  max-height: 521px;
  margin: 0 auto;
}

.mp-hero-desktop-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.mp-hero-mobile-mockup {
  position: absolute;
  right: 0;
  bottom: -24px;
  width: 231px;
  border-radius: 12px;
  box-shadow: 0 0 32px rgba(0,0,0,0.12);
  overflow: hidden;
  z-index: 2;
}

.mp-hero-mobile-mockup img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  object-fit: cover;
  object-position: top center;
}

@media (min-width: 992px) {
  .mp-hero-mockups {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    justify-content: center;
  }

  .mp-hero-desktop-mockup {
    flex-shrink: 0;
    margin: 0;
    transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .mp-hero-mobile-mockup {
    position: relative;
    right: auto;
    bottom: auto;
    flex-shrink: 0;
    height: 521px;
    transform-origin: left center;
    transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .mp-hero-mockups.is-collapsed .mp-hero-desktop-mockup {
    transform: translateX(15px);
  }

  .mp-hero-mockups.is-collapsed .mp-hero-mobile-mockup {
    transform: translateX(-50px) scale(0.885);
  }
}

@media (max-width: 991.98px) {
  .mp-hero { padding: 60px 0 32px; }
  .mp-hero-bg { top: 0; bottom: 80px; }
  .mp-hero-bg::before { height: 200px; }
  .mp-hero-desktop-mockup { max-height: 400px; }
  .mp-hero-mobile-mockup { width: 180px; right: 0; bottom: -16px; }
}

@media (max-width: 767.98px) {
  .mp-hero { padding: 40px 0 24px; }
  .mp-hero-bg { top: 0; bottom: 60px; }
  .mp-hero-bg::before { height: 160px; }
  .mp-hero-desktop-mockup { max-height: 300px; }
  .mp-hero-mobile-mockup { width: 140px; right: -8px; bottom: -12px; }
  .mp-hero-content { margin-bottom: 32px; }
}

@media (max-width: 575.98px) {
  .mp-hero-mobile-mockup { width: 110px; right: -4px; bottom: -8px; }
}


/* ==========================================================================
   17. HOMEPAGE – Story / Chaos
   ========================================================================== */

.mp-story {
  background: white;
  padding: 200px 0;
  position: relative;
  overflow: visible;
}

.mp-story-block {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.mp-story-chaos {
  position: relative;
  z-index: 2;
  margin-bottom: 400px;
}

.mp-story-chaos .h3 {
  margin-bottom: 16px;
}

.mp-chaos-word {
  position: relative;
  display: inline-block;
}

.mp-chaos-underline {
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: auto;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(#000, #000), linear-gradient(#000, #000);
  mask-image: linear-gradient(#000, #000), linear-gradient(#000, #000);
  -webkit-mask-position: left top, right bottom;
  mask-position: left top, right bottom;
  -webkit-mask-size: 0% 45%, 0% 55%;
  mask-size: 0% 45%, 0% 55%;
  -webkit-mask-repeat: no-repeat, no-repeat;
  mask-repeat: no-repeat, no-repeat;
}

.mp-chaos-underline.is-drawn {
  animation: draw-underline 0.3s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}


@keyframes draw-underline {
  0% {
    -webkit-mask-size: 0% 45%, 0% 55%;
    mask-size: 0% 45%, 0% 55%;
  }
  60% {
    -webkit-mask-size: 110% 45%, 0% 55%;
    mask-size: 110% 45%, 0% 55%;
  }
  100% {
    -webkit-mask-size: 110% 45%, 110% 55%;
    mask-size: 110% 45%, 110% 55%;
  }
}

.mp-story-solution {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  position: relative;
  overflow: visible;
}

.mp-solution-circles-img {
  position: absolute;
  left: 50%;
  top: -100%;
  transform: translateX(-50%);
  width: 700px;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

.mp-circle {
  opacity: 0;
  transform-origin: 356.424px 356.424px;
  transform: scale(0);
  transition: none;
}

.mp-circle.mp-circle-animate {
  animation: mp-circle-expand 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.mp-circle-inner.mp-circle-animate {
  animation-delay: 0s;
}

.mp-circle-outer.mp-circle-animate {
  animation-delay: 0.15s;
}

@keyframes mp-circle-expand {
  0%   { opacity: 0; transform: scale(0); }
  40%  { opacity: 0.3; }
  100% { opacity: 0.3; transform: scale(1); }
}

.mp-story-icon {
  width: 100px;
  height: 100px;
  background: var(--mp-brand-500);
  border-radius: 12.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
  overflow: hidden;
}

.mp-story-solution .h3 {
  position: relative;
  z-index: 1;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.mp-story-icon img {
  filter: brightness(0) invert(1);
}

/* --- Floating chaos elements --- */
.mp-story > .container {
  position: relative;
  overflow: visible;
}

.mp-chaos-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: min(100vh, 1000px);
  z-index: 2;
  pointer-events: none;
}

.mp-chaos-el {
  position: absolute;
  font-family: -apple-system, "SF Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  will-change: transform, opacity;
  opacity: 0;
  transform: scale(0);
}

/* 1 – Timesheet file chip (top-left) */
.mp-chaos-timesheet {
  left: 5.4%;
  top: 9.3%;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--mp-neutral-100);
  border-radius: 58px;
  padding: 12px 18px 12px 12px;
  box-shadow: 0 0 16px rgba(0,0,0,0.04);
  transform: rotate(-12deg);
}

.mp-chaos-timesheet-icon {
  width: 21px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.mp-chaos-timesheet span {
  font-size: 14px;
  font-weight: 500;
  color: #000;
  white-space: nowrap;
}

/* 2 – Calendar icon (left of heading) */
.mp-chaos-calendar {
  left: 17.6%;
  top: 18.2%;
  width: 56px;
  height: 56px;
  background: var(--mp-neutral-100);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.mp-chaos-calendar img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 9px;
}

/* 3 – Clock icon (top centre) */
.mp-chaos-clock-icon {
  left: 41.8%;
  top: 6.5%;
  width: 56px;
  height: 56px;
  background: var(--mp-neutral-100);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.mp-chaos-clock-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

/* 4 – Email notification (top right) */
.mp-chaos-email {
  left: 58.8%;
  top: 2.7%;
  background: var(--mp-neutral-100);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 0 16px rgba(0,0,0,0.04);
  width: 310px;
  transform: rotate(-2deg);
}

.mp-chaos-email-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.mp-chaos-email-gmail {
  width: 16px;
  height: 16px;
  border-radius: 100px;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.mp-chaos-email-gmail img {
  width: 10px;
  height: 10px;
  object-fit: contain;
}

.mp-chaos-email-name {
  font-size: 15px;
  font-weight: 500;
  color: #000;
  flex: 0 0 auto;
}

.mp-chaos-email-meta {
  font-size: 12px;
  font-weight: 500;
  color: var(--mp-neutral-500);
  text-align: right;
  flex: 1;
}

.mp-chaos-email-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  line-height: 1;
}

.mp-chaos-email-body strong {
  font-weight: 500;
  color: #000;
}

.mp-chaos-email-body span {
  color: var(--mp-neutral-500);
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 5 – Excel app icon (far top-right) */
.mp-chaos-excel {
  left: 89.5%;
  top: 5.7%;
  width: 56px;
  height: 56px;
  background: var(--mp-neutral-100);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.mp-chaos-excel img {
  width: 40px;
  height: 38px;
  object-fit: contain;
}

/* 6 – Timer (centre below text) */
.mp-chaos-timer {
  left: 42.5%;
  top: 52%;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--mp-neutral-50);
  border-radius: 100px;
  padding: 12px 12px 12px 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08), 0 4px 32px rgba(0,0,0,0.08);
}

.mp-chaos-timer-digits {
  font-size: 32px;
  font-weight: 500;
  color: var(--mp-neutral-700);
  letter-spacing: -0.5px;
  line-height: 1;
}

.mp-chaos-timer-sep {
  font-weight: 400;
  color: var(--mp-neutral-700);
}

.mp-chaos-timer-btn {
  width: 37px;
  height: 37px;
  background: var(--mp-neutral-100);
  border: 1px solid rgba(228,228,231,0.2);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mp-chaos-timer-btn img {
  width: 12px;
  height: 12px;
  object-fit: contain;
}

/* 7 – Blue SMS bubble (left below text) */
.mp-chaos-sms {
  left: 7.2%;
  top: 48%;
  max-width: 280px;
  background: var(--mp-brand-500);
  border-radius: 16px 16px 16px 4px;
  padding: 12px 16px;
  transform: rotate(-4deg);
}

.mp-chaos-sms p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: white;
  margin: 0;
}

/* 8 – Josh Baker message (right below text) */
.mp-chaos-message {
  left: 67.7%;
  top: 58%;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--mp-neutral-100);
  backdrop-filter: blur(2px);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 0 16px rgba(0,0,0,0.04);
  width: 290px;
  transform: rotate(2deg);
}

.mp-chaos-msg-avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--mp-brand-50);
}

.mp-chaos-msg-body {
  flex: 1;
  min-width: 0;
}

.mp-chaos-msg-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.mp-chaos-msg-name {
  font-size: 14px;
  font-weight: 500;
  color: #000;
}

.mp-chaos-msg-time {
  font-size: 12px;
  font-weight: 500;
  color: var(--mp-neutral-500);
}

.mp-chaos-msg-text {
  font-size: 14px;
  font-weight: 400;
  color: var(--mp-neutral-700);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}

/* 9 – Sticky note (right side near heading) */
.mp-chaos-sticky {
  left: 78%;
  top: 22%;
  width: 160px;
  height: 160px;
  transform: rotate(8deg);
}

.mp-chaos-sticky img {
  width: 100%;
  height: 100%;
}

/* --- Fade-in-up for solution heading --- */
.mp-story-solution .h3.mp-hidden {
  opacity: 0;
  transform: translateY(24px);
}

.mp-story-solution .h3.mp-fadeInUp {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  .mp-story { padding: 120px 0; overflow-x: clip; }
  .mp-story-chaos { margin-bottom: 260px; }
  .mp-chaos-elements { height: min(100vh, 700px); }
  .mp-chaos-el { filter: opacity(0.55); }

  .mp-chaos-timesheet { left: 1%; top: 6%; padding: 8px 12px 8px 8px; }
  .mp-chaos-timesheet-icon { width: 16px; height: 16px; }
  .mp-chaos-timesheet span { font-size: 11px; }

  .mp-chaos-calendar { left: 6%; top: 12%; width: 44px; height: 44px; }
  .mp-chaos-calendar img { width: 30px; height: 30px; }

  .mp-chaos-clock-icon { left: 48%; top: 3%; width: 44px; height: 44px; }
  .mp-chaos-clock-icon img { width: 32px; height: 32px; }

  .mp-chaos-email { left: 54%; top: 8%; width: 210px; padding: 8px; }
  .mp-chaos-email-name { font-size: 12px; }
  .mp-chaos-email-meta { font-size: 9px; }
  .mp-chaos-email-body { font-size: 11px; }

  .mp-chaos-excel { left: 84%; top: 5%; width: 44px; height: 44px; }
  .mp-chaos-excel img { width: 30px; height: 28px; }

  .mp-chaos-timer { left: 30%; top: 52%; padding: 8px 8px 8px 12px; }
  .mp-chaos-timer-digits { font-size: 22px; }
  .mp-chaos-timer-btn { width: 28px; height: 28px; }

  .mp-chaos-sms { left: 2%; top: 48%; max-width: 190px; padding: 8px 12px; }
  .mp-chaos-sms p { font-size: 11px; }

  .mp-chaos-message { left: 58%; top: 56%; width: 210px; padding: 8px; }
  .mp-chaos-msg-avatar { width: 36px; height: 36px; }
  .mp-chaos-msg-name { font-size: 12px; }
  .mp-chaos-msg-time { font-size: 9px; }
  .mp-chaos-msg-text { font-size: 11px; }

  .mp-chaos-sticky { left: 80%; top: 14%; width: 100px; height: 100px; }
}

@media (max-width: 767.98px) {
  .mp-story { padding: 80px 0; }
  .mp-story-chaos { margin-bottom: 220px; }
  .mp-chaos-elements { height: min(100vh, 600px); }
  .mp-chaos-el { filter: opacity(0.45); }

  .mp-chaos-timesheet { left: 0%; top: 3%; padding: 6px 10px 6px 6px; }
  .mp-chaos-timesheet-icon { width: 14px; height: 14px; }
  .mp-chaos-timesheet span { font-size: 10px; }

  .mp-chaos-calendar { left: 3%; top: 8%; width: 36px; height: 36px; border-radius: 8px; }
  .mp-chaos-calendar img { width: 24px; height: 24px; border-radius: 6px; }

  .mp-chaos-clock-icon { left: 62%; top: 1%; width: 36px; height: 36px; border-radius: 8px; }
  .mp-chaos-clock-icon img { width: 26px; height: 26px; }

  .mp-chaos-email { left: 46%; top: 5%; width: 175px; padding: 6px; border-radius: 10px; }
  .mp-chaos-email-row { gap: 4px; margin-bottom: 4px; }
  .mp-chaos-email-name { font-size: 10px; }
  .mp-chaos-email-meta { font-size: 8px; }
  .mp-chaos-email-body { font-size: 9px; gap: 2px; }

  .mp-chaos-excel { left: 86%; top: 3%; width: 36px; height: 36px; border-radius: 8px; }
  .mp-chaos-excel img { width: 24px; height: 22px; }

  .mp-chaos-timer { left: 26%; top: 62%; padding: 6px 6px 6px 10px; gap: 5px; }
  .mp-chaos-timer-digits { font-size: 16px; }
  .mp-chaos-timer-btn { width: 22px; height: 22px; }
  .mp-chaos-timer-btn img { width: 8px; height: 8px; }

  .mp-chaos-sms { left: 0%; top: 58%; max-width: 155px; padding: 6px 10px; border-radius: 10px 10px 10px 3px; }
  .mp-chaos-sms p { font-size: 10px; }

  .mp-chaos-message { left: 54%; top: 64%; width: 165px; padding: 6px; gap: 5px; border-radius: 10px; }
  .mp-chaos-msg-avatar { width: 28px; height: 28px; }
  .mp-chaos-msg-name { font-size: 10px; }
  .mp-chaos-msg-time { font-size: 8px; }
  .mp-chaos-msg-text { font-size: 10px; }

  .mp-chaos-sticky { left: 78%; top: 10%; width: 72px; height: 72px; }
}

@media (max-width: 575.98px) {
  .mp-story-chaos { margin-bottom: 180px; }
  .mp-chaos-elements { height: min(100vh, 520px); }
  .mp-chaos-el { filter: opacity(0.4); }

  .mp-chaos-timesheet { left: -1%; top: 2%; padding: 5px 8px 5px 5px; }
  .mp-chaos-timesheet-icon { width: 12px; height: 12px; }
  .mp-chaos-timesheet span { font-size: 9px; }

  .mp-chaos-calendar { left: 1%; top: 7%; width: 30px; height: 30px; }
  .mp-chaos-calendar img { width: 20px; height: 20px; }

  .mp-chaos-clock-icon { left: 68%; top: 0%; width: 30px; height: 30px; }
  .mp-chaos-clock-icon img { width: 22px; height: 22px; }

  .mp-chaos-email { left: 42%; top: 3%; width: 155px; padding: 5px; }
  .mp-chaos-email-name { font-size: 9px; }
  .mp-chaos-email-meta { font-size: 7px; }
  .mp-chaos-email-body { font-size: 8px; }

  .mp-chaos-excel { left: 84%; top: 2%; width: 30px; height: 30px; }
  .mp-chaos-excel img { width: 20px; height: 18px; }

  .mp-chaos-timer { left: 24%; top: 72%; padding: 4px 4px 4px 8px; gap: 3px; }
  .mp-chaos-timer-digits { font-size: 13px; letter-spacing: 0; }
  .mp-chaos-timer-btn { width: 18px; height: 18px; }
  .mp-chaos-timer-btn img { width: 6px; height: 6px; }

  .mp-chaos-sms { left: -1%; top: 68%; max-width: 130px; padding: 5px 8px; }
  .mp-chaos-sms p { font-size: 9px; line-height: 1.25; }

  .mp-chaos-message { left: 52%; top: 74%; width: 145px; padding: 5px; gap: 4px; }
  .mp-chaos-msg-avatar { width: 22px; height: 22px; }
  .mp-chaos-msg-name { font-size: 9px; }
  .mp-chaos-msg-time { font-size: 7px; }
  .mp-chaos-msg-text { font-size: 9px; }

  .mp-chaos-sticky { left: 76%; top: 8%; width: 52px; height: 52px; }

  .mp-story-icon { width: 80px; height: 80px; border-radius: 10px; }
  .mp-story-icon img { width: 40px; height: 40px; }
  .mp-solution-circles-img { width: 500px; }
}


/* ==========================================================================
   18. HOMEPAGE – Product Explorer
   ========================================================================== */

.mp-product {
  background: white;
  padding: 0 0 120px;
  overflow: hidden;
}

.mp-product-divider {
  margin-bottom: 120px;
}

.mp-product-divider hr {
  border-color: var(--mp-neutral-200);
  opacity: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.mp-product-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px;
}

.mp-product-header .h3, .mp-product-header h3 { margin-bottom: 8px; }

.mp-product-tabs {
  display: flex;
  max-width: 1200px;
  margin: 0 auto 32px;
  gap: 24px;
}

.mp-product-tab {
  flex: 1;
  padding: 12px 20px;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--mp-text-tertiary);
  border: none;
  background: none;
  border-bottom: 2px solid var(--mp-neutral-200);
  cursor: pointer;
  transition: all 0.15s ease;
}

.mp-product-tab:hover {
  color: var(--mp-text-secondary);
}

.mp-product-tab.active {
  color: var(--mp-text-primary);
  border-bottom-color: var(--mp-brand-500);
}

.mp-product-panels {
  max-width: 1200px;
  margin: 0 auto;
}

.mp-product-panel {
  display: none;
}

.mp-product-panel.active {
  display: block;
}

.mp-product-panel .row {
  min-height: 650px;
  overflow: hidden;
  border-radius: var(--mp-radius-card-lg);
}

.mp-product-panel-content {
  background: linear-gradient(31deg, #fdfdfd 7%, #f4f4f5 100%);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  border-radius: var(--mp-radius-card-lg);
}

.mp-product-panel-header {
  margin-bottom: 32px;
}

.mp-product-panel-header h4 { margin-bottom: 12px; }
.mp-product-panel-header .p-lg { margin-bottom: 16px; }

/* Accordion subtabs – strip Bootstrap's default chrome */
.mp-product-subtabs.accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: none;
  background: none;
  --bs-accordion-border-width: 0;
  --bs-accordion-border-color: transparent;
  --bs-accordion-bg: transparent;
  --bs-accordion-btn-bg: transparent;
  --bs-accordion-active-bg: transparent;
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-btn-padding-x: 0;
  --bs-accordion-btn-padding-y: 0;
  --bs-accordion-body-padding-x: 0;
  --bs-accordion-body-padding-y: 0;
}

.mp-product-subtab.accordion-item {
  border: none;
  background: none;
}

.mp-product-subtab .accordion-button {
  font-family: var(--mp-font-family);
  font-size: 18px;
  font-weight: 500;
  color: var(--mp-text-primary);
  opacity: 0.5;
  padding: 12px 0;
  background: none;
  border: none;
  box-shadow: none;
  transition: opacity 0.15s ease;
}

.mp-product-subtab .accordion-button::after {
  display: none;
}

.mp-product-subtab .accordion-button:hover {
  opacity: 0.7;
}

.mp-product-subtab .accordion-button:not(.collapsed) {
  opacity: 1;
  color: var(--mp-text-primary);
  background: none;
  box-shadow: none;
}

.mp-product-subtab .accordion-body {
  padding: 0 0 4px;
}

.mp-product-subtab-desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--mp-text-secondary);
  margin-bottom: 12px;
}

.mp-product-progress {
  background: var(--mp-neutral-200);
  border-radius: 999px;
  height: 2px;
  overflow: hidden;
}

.mp-product-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--mp-brand-500);
  border-radius: 4px;
}

.mp-product-progress-bar.animating {
  transition: width 5s linear;
}

.mp-product-panel-image {
  position: relative;
  height: 100%;
  background: #0d0b0c;
  border-radius: var(--mp-radius-card-lg);
  overflow: hidden;
}

.mp-product-panel-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

@keyframes mp-mockup-fade-out {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(8px); }
}

@keyframes mp-mockup-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mp-product-panel-mockups {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.mp-product-panel-mockups.mp-image-fade-out {
  animation: mp-mockup-fade-out 0.25s ease forwards;
}

.mp-product-panel-mockups.mp-image-fade-in {
  animation: mp-mockup-fade-in 0.25s ease forwards;
}

.mp-product-panel-mockups.mp-mockup-bottom-right {
  align-items: flex-end;
  justify-content: flex-end;
}

.mp-product-panel-mockups.mp-mockup-bottom-center {
  align-items: flex-end;
  justify-content: center;
}

.mp-product-panel-mockups img {
  max-height: calc(100% - 50px);
  width: auto;
  height: auto;
  display: block;
  flex-shrink: 0;
}

.mp-product-panel-image--legacy img:not(.mp-product-panel-bg) {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s ease;
}

.mp-product-panel-image--legacy img.mp-image-fade-out {
  opacity: 0;
}

@media (max-width: 991.98px) {
  .mp-product-panel .row { min-height: auto; }
  .mp-product-panel-content {
    border-radius: var(--mp-radius-card-lg);
    padding: 32px 24px;
  }
  .mp-product-panel-image {
    border-radius: var(--mp-radius-card-lg);
    aspect-ratio: 16 / 14;
    height: auto;
    margin-top: 24px;
  }
  .mp-product-panel-mockups { padding: 24px; }
  .mp-product-panel-mockups img { max-height: calc(100% - 36px); }
  .mp-product-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .mp-product-tab { white-space: nowrap; font-size: 16px; }
}

@media (max-width: 767.98px) {
  .mp-product { padding-bottom: 60px; }
  .mp-product-divider { margin-bottom: 60px; }
  .mp-product-header { margin-bottom: 32px; }
  .mp-product-panel-image { aspect-ratio: 16 / 14; }
  .mp-product-panel-mockups { padding: 0; gap: 0; }
  .mp-product-panel-mockups img { max-height: calc(100% - 24px); }
  .mp-product-panel-mockups img:nth-child(2) { display: none; }
}


/* ==========================================================================
   19. HOMEPAGE – Stats
   ========================================================================== */

.mp-stats {
  background: linear-gradient(to bottom, white, var(--mp-neutral-100));
  padding: 220px 0;
  position: relative;
  overflow: hidden;
}

.mp-stats-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  height: 60%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  pointer-events: none;
  border: none;
  z-index: 0;
}

.mp-stats-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.mp-stats-number {
  font-size: 110px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -3.3px;
  color: var(--mp-text-primary);
  text-shadow: 0 0 32px #f9f9fa;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 991.98px) {
  .mp-stats { padding: 120px 0; }
  .mp-stats-number { font-size: 80px; letter-spacing: -2px; }
}

@media (max-width: 767.98px) {
  .mp-stats { padding: 80px 0; }
  .mp-stats-bg { width: 120%; height: auto; }
  .mp-stats-number { font-size: 56px; letter-spacing: -1.5px; }
}


/* ==========================================================================
   20. HOMEPAGE – Features Grid
   ========================================================================== */

.mp-features {
  background: var(--mp-bg-secondary);
  padding: 80px 0;
  overflow: hidden;
}

.mp-features-header {
  max-width: 1200px;
  margin: 0 auto 64px;
}

.mp-features-header h3, .mp-features-header .h3 { margin-bottom: 8px; }

.mp-features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mp-features-row {
  display: flex;
  gap: 20px;
}

.mp-feature-card {
  flex: 1;
  background: var(--mp-bg-primary);
  border-radius: var(--mp-radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mp-feature-card-brand {
  background: var(--mp-brand-500);
}

.mp-feature-card-img {
  flex: 1;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  min-height: 250px;
}

.mp-feature-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mp-feature-card-body {
  padding: 20px 28px 32px;
  text-align: center;
}

.mp-feature-card-body .h6 { margin-bottom: 6px; }
.mp-feature-card-body p { margin: 0; }

.mp-features-row:first-child .mp-feature-card { min-height: auto; }
.mp-features-row:last-child .mp-feature-card { min-height: auto; }

.mp-feature-card-stack {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mp-feature-card-sm {
  flex: 1;
  min-height: 185px;
  position: relative;
}

.mp-feature-card-sm .mp-feature-card-img {
  position: absolute;
  inset: 0;
  border-radius: 0;
  min-height: 0;
}

.mp-feature-card-sm .h6 {
  position: relative;
  z-index: 1;
  padding: 16px 20px 24px;
  margin: 0;
  margin-top: auto;
}

/* (Legacy storage/comms mockup styles removed - using SVG images now) */

@media (max-width: 991.98px) {
  .mp-features-row { flex-direction: column; }
  .mp-features-row:first-child .mp-feature-card,
  .mp-features-row:last-child .mp-feature-card { min-height: auto; }
  .mp-feature-card-stack { flex-direction: row; }
  .mp-feature-card-sm { min-height: auto !important; }
}

@media (max-width: 767.98px) {
  .mp-features-header { margin-bottom: 48px; }
  .mp-features-grid { gap: 32px; }
  .mp-features-row { gap: 32px; }
  .mp-feature-card-img { min-height: 200px; }
  .mp-feature-card-img img {
    width: auto;
    height: 100%;
    max-width: none;
    object-fit: none;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  .mp-feature-card-stack { flex-direction: column; gap: 32px; }
  .mp-feature-card-sm { min-height: 184px !important; }
}


/* ==========================================================================
   21. HOMEPAGE – Comparison Table
   ========================================================================== */

.mp-comparison {
  background: var(--mp-bg-secondary);
  padding: 80px 0;
  overflow: hidden;
}

.mp-comparison-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.mp-comparison-header h3, .mp-comparison-header .h3 { margin-top: 8px; }

.mp-comparison-table {
  max-width: 1200px;
  margin: 0 auto;
}

.mp-comparison .table-responsive {
  overflow: visible;
  padding-top: 20px;
  padding-bottom: 20px;
}

.mp-table {
  border-collapse: separate;
  border-spacing: 0;
}

.mp-table th,
.mp-table td {
  padding: 16px;
  vertical-align: middle;
  font-size: 14px;
  line-height: 1.2;
  border: none;
}

.mp-table thead th {
  border-bottom: none;
  font-weight: 500;
  font-size: 16px;
}

.mp-table thead .mp-table-brand img {
  filter: brightness(0) invert(1);
}

.mp-table-feature {
  width: 14%;
  font-weight: 500 !important;
  color: var(--mp-text-primary);
  background: transparent !important;
}

.mp-table thead .mp-table-feature {
  color: var(--mp-text-tertiary);
}

.mp-table-brand {
  width: 29%;
  background: var(--mp-brand-500) !important;
  color: white !important;
  text-align: center;
  font-weight: 400;
}

.mp-table thead .mp-table-brand {
  position: relative;
  border-radius: 0;
  padding-top: 12px;
  padding-bottom: 12px;
}

.mp-table thead .mp-table-brand::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
  background: var(--mp-brand-500);
  border-radius: var(--mp-radius-card) var(--mp-radius-card) 0 0;
}

.mp-table thead .mp-table-brand img {
  position: relative;
  z-index: 1;
}

.mp-table-last-row .mp-table-brand {
  position: relative;
  border-radius: 0;
  padding-bottom: 40px;
}

.mp-table-last-row .mp-table-brand::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 0;
  right: 0;
  height: 20px;
  background: var(--mp-brand-500);
  border-radius: 0 0 var(--mp-radius-card) var(--mp-radius-card);
}

.mp-table-other {
  width: 28.5%;
  background: white !important;
  text-align: center;
  font-weight: 400;
  color: var(--mp-text-primary);
}

.mp-table thead .mp-table-other:last-child {
  border-radius: 0 var(--mp-radius-card) 0 0;
}

.mp-table-last-row .mp-table-other:last-child {
  border-radius: 0 0 var(--mp-radius-card) 0;
}

@media (max-width: 767.98px) {
  .mp-comparison { padding: 60px 0; }
  .mp-comparison .table-responsive {
    overflow-x: auto;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .mp-table th, .mp-table td { padding: 10px 8px; font-size: 12px; }
  .mp-table thead th { font-size: 13px; }
  .mp-table thead .mp-table-brand::before { top: -12px; height: 12px; }
  .mp-table-last-row .mp-table-brand::after { bottom: -12px; height: 12px; }
}


/* --- Mobile Comparison Carousel --- */

.mp-compare-carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 100%;
}

.mp-compare-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 0;
  width: 100%;
}

.mp-compare-track::-webkit-scrollbar {
  display: none;
}

.mp-compare-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
  background: var(--mp-neutral-0);
  border-radius: var(--mp-radius-card);
  padding: 4px 8px 8px;
  display: flex;
  flex-direction: column;
}

.mp-compare-card-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--mp-text-primary);
  text-align: center;
  padding: 20px 16px;
}

.mp-compare-card-brand {
  background: var(--mp-brand-500);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mp-compare-card-brand img {
  display: block;
  height: 24px;
  width: auto;
  filter: brightness(0) invert(1);
}

.mp-compare-card-brand p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--mp-neutral-0);
  margin: 0;
}

.mp-compare-card-row {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mp-compare-card-row-label {
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  color: var(--mp-text-primary);
  margin: 0;
}

.mp-compare-card-row-desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--mp-text-secondary);
  margin: 0;
}

.mp-compare-dots {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.mp-compare-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mp-neutral-200);
  cursor: pointer;
  transition: background 0.2s ease;
  border: none;
  padding: 0;
}

.mp-compare-dot.active {
  background: var(--mp-brand-500);
}


/* ==========================================================================
   22. HOMEPAGE – Testimonials
   ========================================================================== */

.mp-testimonials {
  background: var(--mp-bg-secondary);
  padding: 80px 0;
  overflow: hidden;
}

.mp-testimonial-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 48px;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  background-image: url('../images/home/testimonials-bg.jpg');
  background-size: cover;
  background-position: center;
}

.mp-testimonial-carousel {
  width: 100%;
  position: relative;
  z-index: 1;
}

.mp-testimonial-card {
  background: white;
  border-radius: var(--mp-radius-card-lg);
  overflow: hidden;
  display: flex;
  min-height: 400px;
}

.mp-testimonial-content {
  flex: 1;
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mp-testimonial-quote {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--mp-text-primary);
  margin: 0;
}

.mp-testimonial-byline {
  padding-top: 24px;
}

.mp-testimonial-img {
  flex: 0 0 400px;
  overflow: hidden;
  border-radius: 16px;
  margin: 12px;
  background: linear-gradient(135deg, #6277f5, #f4f4f5);
}

.mp-testimonial-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mp-testimonial-dots {
  display: flex;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.mp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.2s ease;
}

.mp-dot.active {
  background: var(--mp-neutral-0);
}

@media (max-width: 991.98px) {
  .mp-testimonial-card { flex-direction: column; min-height: auto; }
  .mp-testimonial-img { flex: 0 0 auto; height: 300px; margin: 12px; }
  .mp-testimonial-content { padding: 32px 28px; }
  .mp-testimonial-quote { font-size: 20px; }
}

@media (max-width: 767.98px) {
  .mp-testimonials { padding: 40px 0; }
  .mp-testimonial-wrapper { padding: 24px 16px; }
  .mp-testimonial-img { height: 400px; }
  .mp-testimonial-content { padding: 24px 20px; }
  .mp-testimonial-quote { font-size: 18px; }
}


/* ==========================================================================
   22b. SALES PAGE – Hero
   ========================================================================== */

.mp-sales-hero {
  position: relative;
  background: white;
  overflow: hidden;
  padding: 80px 0 0;
}

.mp-sales-hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 48px;
  position: relative;
  z-index: 2;
}

.mp-sales-hero-label {
  display: inline-block;
  background-color: var(--mp-neutral-100);
  color: var(--mp-text-primary);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  padding: 8px 16px;
  border: none;
  border-radius: 10px;
  margin-bottom: 16px;
}

.mp-sales-hero-content h1 {
  margin-bottom: 24px;
}

.mp-sales-hero-content .p-lg {
  margin-bottom: 32px;
}

.mp-sales-hero-mockup {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.mp-sales-hero-mockup-bg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100% - 110px);
  max-height: 500px;
  border-radius: var(--mp-radius-card-lg);
  overflow: hidden;
  pointer-events: none;
}

.mp-sales-hero-mockup-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 991.98px) {
  .mp-sales-hero { padding: 60px 0 0; }
  .mp-sales-hero-mockup-bg { height: calc(100% - 90px); }
  .mp-sales-hero-mockup-inner {
    max-width: 88%;
    margin: 24px auto -40px;
  }
}

@media (max-width: 767.98px) {
  .mp-sales-hero { padding: 40px 0 0; }
  .mp-sales-hero-content { margin-bottom: 32px; }
  .mp-sales-hero-mockup { padding: 0 30px; }
  .mp-sales-hero-mockup-bg { height: calc(100% - 70px); }
  .mp-sales-hero-mockup-inner {
    max-width: 86%;
    margin: 18px auto -24px;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.10);
  }
}


/* ==========================================================================
   23. SCHEDULING PAGE – Hero
   ========================================================================== */

.mp-sched-hero {
  position: relative;
  background: white;
  overflow: hidden;
  padding: 80px 0 0;
}

.mp-sched-hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 48px;
  position: relative;
  z-index: 2;
}

.mp-sched-hero-label {
  display: inline-block;
  background-color: var(--mp-neutral-100);
  color: var(--mp-text-primary);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  padding: 8px 16px;
  border: none;
  border-radius: 10px;
  margin-bottom: 16px;
}

.mp-sched-hero-content h1 {
  margin-bottom: 24px;
}

.mp-sched-hero-content .p-lg {
  margin-bottom: 32px;
}

.mp-sched-hero-mockup {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.mp-sched-hero-mockup-bg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100% - 110px);
  max-height: 500px;
  border-radius: var(--mp-radius-card-lg);
  overflow: hidden;
  pointer-events: none;
}

.mp-sched-hero-mockup-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.mp-sales-hero-mockup-inner {
  position: relative;
  z-index: 1;
  max-width: 890px;
  margin: 30px auto -50px;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -4px 32px rgba(0,0,0,0.12);
  overflow: hidden;
}

.mp-sales-hero-mockup-inner::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0,0,0,0.15), transparent);
  border-radius: inherit;
  pointer-events: none;
}

.mp-sales-hero-mockup-inner img {
  width: 100%;
  height: auto;
  display: block;
}

.mp-sched-hero-mockup-inner {
  position: relative;
  z-index: 1;
  max-width: 890px;
  margin: 30px auto -50px;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -4px 32px rgba(0,0,0,0.12);
  overflow: hidden;
}

.mp-sched-hero-mockup-inner::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0,0,0,0.15), transparent);
  border-radius: inherit;
  pointer-events: none;
}

.mp-sched-hero-mockup-inner img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 991.98px) {
  .mp-sched-hero { padding: 60px 0 0; }
  .mp-sched-hero-mockup-bg { height: calc(100% - 90px); }
  .mp-sched-hero-mockup-inner {
    max-width: 88%;
    margin: 24px auto -40px;
  }
}

@media (max-width: 767.98px) {
  .mp-sched-hero { padding: 40px 0 0; }
  .mp-sched-hero-content { margin-bottom: 32px; }
  .mp-sched-hero-mockup-bg { height: calc(100% - 70px); }
  .mp-sched-hero-mockup-inner {
    max-width: 86%;
    margin: 18px auto -24px;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.10);
  }
}


/* ==========================================================================
   24. SCHEDULING PAGE – Feature Split Sections
   ========================================================================== */

.mp-feature-split {
  background: white;
  margin: 120px 0;
}

.mp-feature-split-text {
  padding: 32px 0;
}

.mp-feature-split-text h2 {
  margin-bottom: 16px;
}

.mp-feature-split-text .p-lg {
  margin-bottom: 32px;
}

.mp-feature-split-image {
  position: relative;
  background: var(--mp-neutral-100);
  border-radius: var(--mp-radius-card-lg);
  overflow: hidden;
  aspect-ratio: 590 / 509;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mp-feature-split-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mp-feature-split-mock {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.mp-feature-split-mock.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  .mp-feature-split { padding: 60px 0; }
  .mp-feature-split-text { padding: 16px 0; }
  .mp-feature-split-image { aspect-ratio: 16 / 14; }
  .mp-feature-split .row > .col-lg-6:has(.mp-feature-split-image) { order: 2; }
  .mp-feature-split .row > .col-lg-6:has(.mp-feature-split-text) { order: 1; }
}

@media (max-width: 767.98px) {
  .mp-feature-split { 
    padding: 20px 0; 
    margin: 40px 0;
  }
}


/* ==========================================================================
   25. SCHEDULING PAGE – Quote Banner
   ========================================================================== */

.mp-quote-banner-section {
  background: linear-gradient(to bottom, white, var(--mp-neutral-100));
  padding: 64px 0;
}

.mp-quote-banner {
  background-color: var(--mp-brand-500);
  border-radius: var(--mp-radius-card-lg);
  padding: 64px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 40px;
}

.mp-quote-banner-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  border-radius: inherit;
}

.mp-quote-oval {
  position: absolute;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 9999px;
  right: 100px;
  top: 50%;
  translate: 0 -50%;
}

.mp-quote-oval-1 {
  width: 500px;
  height: 260px;
  opacity: 0.4;
}

.mp-quote-oval-2 {
  width: 700px;
  height: 360px;
  opacity: 0.2;
  right: 20px;
}

.mp-quote-banner-text {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.mp-quote-banner-text h3, .mp-quote-banner-text .h3 {
  color: var(--mp-text-invert);
  margin-bottom: 12px;
  max-width: 550px;
}

.mp-quote-banner-text .p-lg {
  color: var(--mp-text-invert-tertiary);
  margin: 0;
  max-width: 620px;
}

.mp-quote-banner-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, white 12%, #e3e7ff 88%);
  border: 1.5px solid rgba(31,61,240,0.1);
  box-shadow: 0 0 24px rgba(31,61,240,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.mp-quote-banner-logo img {
  width: 52px;
  height: 52px;
}

@media (max-width: 991.98px) {
  .mp-quote-banner { padding: 48px 40px; gap: 32px; }
  .mp-quote-banner-logo { width: 90px; height: 90px; }
  .mp-quote-banner-logo img { width: 40px; height: 40px; }
}

@media (max-width: 767.98px) {
  .mp-quote-banner-section { padding: 40px 0; }
  .mp-quote-banner {
    flex-direction: column;
    padding: 32px 24px;
    text-align: center;
    gap: 24px;
  }
  .mp-quote-banner-text h3,
  .mp-quote-banner-text .h3,
  .mp-quote-banner-text .p-lg { max-width: none; }
}


/* ==========================================================================
   25b. SCHEDULING PAGE – Gradient Divider
   ========================================================================== */

.mp-gradient-divider {
  height: 120px;
  background: linear-gradient(to bottom, white, var(--mp-neutral-100));
}

@media (max-width: 767.98px) {
  .mp-gradient-divider {
    height: 60px;
  }
}


/* ==========================================================================
   26. SCHEDULING PAGE – Operations Feature Grid
   ========================================================================== */

.mp-ops-section {
  background: var(--mp-bg-secondary);
  padding: 80px 0;
}

.mp-ops-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 64px;
}

.mp-ops-header h2 {
  margin-bottom: 8px;
}

.mp-ops-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.mp-ops-card {
  background: var(--mp-bg-primary);
  border-radius: var(--mp-radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mp-ops-card-tall {
  grid-column: 1 / span 5;
  grid-row: 1 / 3;
}

.mp-ops-grid > :nth-child(2) {
  grid-column: 6 / span 4;
  grid-row: 1;
}

.mp-ops-grid > :nth-child(3) {
  grid-column: 10 / span 3;
  grid-row: 1;
}

.mp-ops-grid > :nth-child(4) {
  grid-column: 6 / span 3;
  grid-row: 2;
}

.mp-ops-grid > :nth-child(5) {
  grid-column: 9 / span 4;
  grid-row: 2;
}

.mp-ops-card-img {
  flex: 1;
  min-height: 260px;
  overflow: hidden;
}


.mp-ops-card-tall .mp-ops-card-img {
  min-height: 400px;
}

.mp-ops-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.mp-ops-card-body {
  padding: 20px 28px 28px;
  text-align: center;
}

.mp-ops-card-body .h6 {
  margin-bottom: 6px;
}

.mp-ops-card-body p {
  margin: 0;
}

.mp-ops-card-testimonial {
  background: radial-gradient(ellipse at center bottom, #1f3df0 37%, #1223a0 69%, #122390 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 24px;
}

.mp-ops-card-testimonial-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.mp-ops-card-testimonial-bg img {
  position: absolute;
  bottom: -30%;
  right: -20%;
  width: 140%;
  height: auto;
  opacity: 0.12;
  transform: rotate(-15deg);
}

.mp-ops-card-testimonial-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.mp-ops-card-testimonial-content h5 {
  color: var(--mp-text-invert);
  margin-bottom: 24px;
  line-height: 1.15;
}

.mp-ops-testimonial-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.mp-ops-testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

.mp-ops-testimonial-name {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mp-ops-testimonial-person {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--mp-text-invert);
}

.mp-ops-testimonial-role {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--mp-text-invert);
  opacity: 0.7;
}

@media (max-width: 991.98px) {
  .mp-ops-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mp-ops-card-tall {
    grid-column: auto;
    grid-row: auto;
  }
  .mp-ops-grid > :nth-child(2),
  .mp-ops-grid > :nth-child(3),
  .mp-ops-grid > :nth-child(4),
  .mp-ops-grid > :nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 767.98px) {
  .mp-ops-section { padding: 60px 0; }
  .mp-ops-header { margin-bottom: 40px; }
  .mp-ops-grid {
    grid-template-columns: 1fr;
  }
  .mp-ops-card-tall .mp-ops-card-img {
    min-height: 240px;
  }
}

/* ---- Bento variant (12-col unequal grid for finance-admin) ---- */

.mp-ops-grid-bento {
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
}

.mp-ops-grid-bento .mp-ops-card-sm { grid-column: span 3; }
.mp-ops-grid-bento .mp-ops-card-md { grid-column: span 4; }
.mp-ops-grid-bento .mp-ops-card-lg { grid-column: span 5; }

@media (max-width: 991.98px) {
  .mp-ops-grid-bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .mp-ops-grid-bento .mp-ops-card-sm,
  .mp-ops-grid-bento .mp-ops-card-md,
  .mp-ops-grid-bento .mp-ops-card-lg {
    grid-column: auto;
  }
}

@media (max-width: 767.98px) {
  .mp-ops-grid-bento {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   27. SCHEDULING PAGE – Mini Features
   ========================================================================== */

.mp-mini-features {
  background: var(--mp-bg-secondary);
  padding: 80px 0;
}

.mp-mini-features-title {
  text-align: center;
  margin-bottom: 48px;
}

.mp-mini-features-grid {
  display: flex;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.mp-mini-feature {
  flex: 1;
  text-align: center;
  padding: 32px 20px;
  border-radius: 10px;
}

.mp-mini-feature .img-fluid {
  height: 180px;
  width: auto;
  object-fit: contain;
  margin-bottom: 28px;
}

.mp-mini-feature .h6 {
  margin-bottom: 8px;
}

.mp-mini-feature p {
  margin: 0;
}

@media (max-width: 767.98px) {
  .mp-mini-features { padding: 60px 0; }
  .mp-mini-features-grid {
    flex-direction: column;
  }
}


/* ==========================================================================
   28. SCHEDULING PAGE – Field Staff App
   ========================================================================== */

.mp-field-app-section {
  background: var(--mp-bg-secondary);
  padding: 0 0 80px;
}

.mp-field-app {
  border-radius: var(--mp-radius-card-lg);
  overflow: hidden;
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.mp-field-app-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/footer-bg.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(8px) brightness(0.6);
  transform: scale(1.05);
}

.mp-field-app-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 48px 64px;
  width: 100%;
}

.mp-field-app-text {
  flex: 0 0 280px;
}

.mp-field-app-text h3, .mp-field-app-text .h3 {
  color: var(--mp-text-invert);
  margin-bottom: 12px;
}

.mp-field-app-text .p-lg {
  color: var(--mp-text-invert-tertiary);
  margin: 0;
}

.mp-field-app-mockups {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 16px;
  position: relative;
}

.mp-field-app-phone {
  width: 200px;
  height: 400px;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  flex-shrink: 0;
}

.mp-field-app-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mp-field-app-phone-2 {
  margin-top: 40px;
}

.mp-field-app-action {
  flex-shrink: 0;
}

@media (max-width: 991.98px) {
  .mp-field-app-content {
    flex-direction: column;
    padding: 40px 32px;
    text-align: center;
  }
  .mp-field-app-text { flex: none; }
  .mp-field-app-phone { width: 160px; height: 320px; }
}

@media (max-width: 767.98px) {
  .mp-field-app-section { padding: 0 0 40px; }
  .mp-field-app { min-height: auto; }
  .mp-field-app-content { padding: 32px 24px; gap: 24px; }
  .mp-field-app-mockups { gap: 12px; }
  .mp-field-app-phone { width: 130px; height: 260px; border-radius: 16px; }
  .mp-field-app-phone-2 { margin-top: 24px; }
}


/* ==========================================================================
   28b. SCHEDULING PAGE – Field App V2 (Redesign)
   ========================================================================== */

.mp-field-app-v2 {
  border-radius: var(--mp-radius-card-lg);
  overflow: hidden;
  position: relative;
  background: #060c30;
}

.mp-field-app-v2-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: url('../images/field-app-card-bg.jpg') center center / cover no-repeat;
}

.mp-field-app-v2-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 48px 64px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.mp-field-app-v2-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 575px;
}

.mp-field-app-v2-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  padding: 6px 10px;
  border-radius: var(--mp-radius-tag);
}

.mp-field-app-v2-header h3, .mp-field-app-v2-header .h3 {
  color: var(--mp-text-invert);
  margin: 8px 0 0;
}

.mp-field-app-v2-header .p-lg {
  color: var(--mp-text-invert-tertiary);
  margin: 0;
}

.mp-field-app-v2-header .mp-text-link-white {
  margin-top: 4px;
}

.mp-field-app-v2-mockup {
  position: relative;
  width: 100%;
  max-width: 900px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.mp-field-app-v2-mockup::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0,0,0,0.15), transparent);
  border-radius: inherit;
  pointer-events: none;
}

.mp-field-app-v2-mockup img {
  width: 100%;
  height: auto;
  display: block;
}


@media (max-width: 991.98px) {
  .mp-field-app-v2-content {
    padding: 40px 32px 0;
  }
}

@media (max-width: 767.98px) {
  .mp-field-app-section { padding: 0 0 40px; }
  .mp-field-app-v2-content {
    padding: 32px 24px 0;
    gap: 24px;
  }
}


/* ==========================================================================
   30. FIELD & FLEET PAGE – 3-Phone Staggered Hero Layout
   ========================================================================== */

.mp-field-hero-mockup {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.mp-field-hero-mockup-bg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100% - 110px);
  max-height: 500px;
  border-radius: var(--mp-radius-card-lg);
  overflow: hidden;
  pointer-events: none;
}

.mp-field-hero-mockup-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.mp-field-hero-mockup-inner {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
  position: relative;
  z-index: 1;
  margin: 30px auto -50px;
}

.mp-field-hero-phone {
  position: relative;
  width: 270px;
  flex-shrink: 0;
}

.mp-field-hero-phone::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 150px;
  background: linear-gradient(to top, rgba(0,0,0,0.30), transparent);
  pointer-events: none;
  z-index: 2;
}

.mp-field-hero-phone img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 5.5px 33px rgba(0,0,0,0.24);
}

.mp-field-hero-phone-left {
  padding-top: 50px;
}

.mp-field-hero-phone-center {
  width: 296px;
  padding-top: 0;
  container-type: inline-size;
}

.mp-shift-timer-overlay {
  position: absolute;
  left: 7.5%;
  top: 20.2%;
  width: 39.5%;
  height: 6.4%;
  background: #1F3DF0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2cqw;
  z-index: 1;
  pointer-events: none;
}

.mp-shift-timer-group {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mp-shift-timer-num {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 7.2cqw;
  color: #fff;
  line-height: 1;
  min-width: 8.5cqw;
  text-align: center;
}

.mp-shift-timer-sep {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 5.5cqw;
  color: #fff;
  line-height: 1;
  align-self: flex-start;
  padding-top: 0.2cqw;
}

.mp-shift-timer-lbl {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 2.4cqw;
  color: #E4E4E7;
  opacity: 0.7;
  line-height: 1;
  margin-top: 0.6cqw;
}


.mp-field-hero-phone-right {
  padding-top: 50px;
}

@media (max-width: 991.98px) {
  .mp-field-hero-mockup-bg { height: calc(100% - 90px); }
  .mp-field-hero-mockup-inner {
    gap: 20px;
    margin-bottom: -200px;
  }
  .mp-field-hero-phone {
    width: 210px;
  }
  .mp-field-hero-phone-center { width: 230px; }
  .mp-field-hero-phone-left { padding-top: 38px; }
  .mp-field-hero-phone-right { padding-top: 38px; }
}

@media (max-width: 767.98px) {
  .mp-field-hero-mockup-bg { height: calc(100% - 70px); }
  .mp-field-hero-mockup-inner {
    gap: 12px;
    padding-top: 14px;
    margin-bottom: -140px;
  }
  .mp-field-hero-phone {
    width: 150px;
  }
  .mp-field-hero-phone-center { width: 166px; }
  .mp-field-hero-phone-left { padding-top: 26px; }
  .mp-field-hero-phone-right { padding-top: 26px; }
}

@media (max-width: 575.98px) {
  .mp-field-hero-mockup-inner {
    gap: 8px;
    margin-bottom: -100px;
  }
  .mp-field-hero-phone {
    width: 28%;
    flex-shrink: 1;
  }
  .mp-field-hero-phone-center {
    width: 32%;
    flex-shrink: 1;
  }
  .mp-field-hero-phone-left { padding-top: 18px; }
  .mp-field-hero-phone-right { padding-top: 18px; }
}


/* ==========================================================================
   30b. FINANCE & ADMIN PAGE – Hero Mockup
   ========================================================================== */

.mp-finance-hero-mockup {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.mp-finance-hero-mockup-bg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100% - 110px);
  max-height: 500px;
  border-radius: var(--mp-radius-card-lg);
  overflow: hidden;
  pointer-events: none;
}

.mp-finance-hero-mockup-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.mp-finance-hero-mockup-inner {
  position: relative;
  z-index: 1;
  max-width: 890px;
  margin: 30px auto -50px;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -4px 32px rgba(0,0,0,0.12);
  overflow: hidden;
}

.mp-finance-hero-mockup-inner::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0,0,0,0.15), transparent);
  border-radius: inherit;
  pointer-events: none;
}

.mp-finance-hero-mockup-inner img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 991.98px) {
  .mp-finance-hero-mockup-bg { height: calc(100% - 90px); }
  .mp-finance-hero-mockup-inner {
    max-width: 88%;
    margin: 24px auto -200px;
  }
}

@media (max-width: 767.98px) {
  .mp-finance-hero-mockup-bg { height: calc(100% - 70px); }
  .mp-finance-hero-mockup-inner {
    max-width: 86%;
    margin: 18px auto -100px;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.10);
  }
}


/* ==========================================================================
   Feature Page Hero – Entrance Animations
   Background image subtly zooms out; screen mockups fade-in-up on load.
   ========================================================================== */

@keyframes mp-hero-zoom-out {
  from { transform: scale(1.05); }
  to   { transform: scale(1); }
}

@keyframes mp-hero-fade-in-up {
  from { opacity: 0; transform: translateY(112px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mp-sales-hero-mockup-bg img,
.mp-sched-hero-mockup-bg img,
.mp-field-hero-mockup-bg img,
.mp-finance-hero-mockup-bg img {
  animation: mp-hero-zoom-out 1000ms cubic-bezier(0.6, 0.15, 0.15, 0.8) both;
}

.mp-sales-hero-mockup-inner,
.mp-sched-hero-mockup-inner,
.mp-finance-hero-mockup-inner {
  animation: mp-hero-fade-in-up 1000ms cubic-bezier(0.6, 0.15, 0.15, 0.8) both;
}

.mp-field-hero-phone-center {
  animation: mp-hero-fade-in-up 1000ms cubic-bezier(0.6, 0.15, 0.15, 0.8) both;
}

.mp-field-hero-phone-left {
  animation: mp-hero-fade-in-up 1000ms cubic-bezier(0.6, 0.15, 0.15, 0.8) 150ms both;
}

.mp-field-hero-phone-right {
  animation: mp-hero-fade-in-up 1000ms cubic-bezier(0.6, 0.15, 0.15, 0.8) 300ms both;
}


/* ==========================================================================
   29. CONTACT PAGE – Hero + Form
   ========================================================================== */

.mp-contact-hero {
  background: white;
  padding: 80px 0 0;
  overflow: hidden;
}

.mp-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin: 0 auto;
}

.mp-contact-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  overflow: hidden;
}

.mp-contact-tag {
  display: inline-block;
  background: var(--mp-neutral-100);
  color: var(--mp-text-primary);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  padding: 8px 10px;
  border-radius: var(--mp-radius-tag);
  margin-bottom: 12px;
}

.mp-contact-copy-top h1 {
  margin-bottom: 24px;
}

.mp-contact-copy-top .p-lg {
  margin-bottom: 0;
}

.mp-contact-info {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--mp-neutral-200);
}

.mp-contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mp-contact-info-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--mp-neutral-500);
  margin-bottom: 4px;
}

.mp-contact-info-value {
  font-size: 15px;
  line-height: 1.6;
  color: var(--mp-neutral-700);
  font-style: normal;
  margin-bottom: 0;
}

.mp-contact-info-value a {
  color: var(--mp-neutral-700);
  text-decoration: none;
  transition: color 0.15s ease;
}

.mp-contact-info-value a:hover {
  color: var(--mp-brand-500);
}

.mp-contact-copy-bottom {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mp-contact-trust-label {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
}

.mp-contact-trust-label strong {
  color: var(--mp-text-primary);
}

.mp-contact-logos {
  display: flex;
  gap: 32px;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.mp-contact-logo-placeholder {
  height: 48px;
  width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.4;
}

/* Testimonial card */
.mp-contact-testimonial {
  border-radius: 20px;
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, #1f3df0 37%, #1830bd 69%, #12238a 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 260px;
}

.mp-contact-testimonial-quote {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.15;
  color: white;
  margin: 0;
}

.mp-contact-testimonial-byline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mp-contact-testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

.mp-contact-testimonial-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mp-contact-testimonial-name {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.15;
  color: white;
}

.mp-contact-testimonial-role {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  color: white;
  opacity: 0.7;
}

/* Form container */
.mp-contact-form-wrap {
  position: relative;
  border-radius: var(--mp-radius-card-lg);
  overflow: hidden;
  padding: 32px;
  background: url('../images/header-bg.jpg') center / cover no-repeat;
}

.mp-contact-form-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none;
}

.mp-contact-form {
  position: relative;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 12px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mp-contact-form-row {
  display: flex;
  gap: 16px;
}

/* ── Floating labels ──────────────────────────────────────────────── */

.mp-contact-form .form-floating {
  position: relative;
}

.mp-contact-form .form-floating > label {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: auto;
  padding: 0 12px;
  margin: 0;
  pointer-events: none;
  transform-origin: 0 0;
  transform: translateY(-50%);
  transition: transform .15s ease, opacity .15s ease, font-size .15s ease;
  color: var(--mp-text-tertiary);
  font-size: 14px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 2;
}

.mp-contact-form .form-floating.is-active > label {
  transform: translateY(-100%) scale(0.75);
  top: 50%;
  opacity: 0.65;
}

.mp-contact-form .form-floating > textarea:focus ~ label::after,
.mp-contact-form .form-floating > textarea:not(:placeholder-shown) ~ label::after {
  background-color: transparent !important;
}

.mp-contact-form .form-floating .mp-input,
.mp-contact-form .form-floating .mp-select {
  padding-top: 12px;
  padding-bottom: 12px;
  height: 54px;
}

.mp-contact-form .form-floating.is-active .mp-input,
.mp-contact-form .form-floating.is-active .mp-select {
  padding-top: 20px;
  padding-bottom: 4px;
}

.mp-contact-form .form-floating .mp-select.is-empty {
  color: transparent;
}

.mp-contact-form .form-floating .mp-select.is-empty option {
  color: var(--mp-text-primary);
}

.mp-contact-form .form-floating .mp-textarea {
  padding-top: 12px;
  padding-bottom: 12px;
  height: 110px;
}

.mp-contact-form .form-floating.is-active .mp-textarea {
  padding-top: 24px;
  padding-bottom: 4px;
}

.mp-input {
  display: block;
  width: 100%;
  height: 48px;
  padding: 12px;
  background: var(--mp-neutral-100);
  border: none;
  border-radius: var(--mp-radius-tag);
  font-family: var(--mp-font-family);
  font-size: 14px;
  line-height: 1.3;
  color: var(--mp-text-primary);
  outline: none;
  transition: box-shadow 0.15s ease;
}

.mp-input::placeholder {
  color: var(--mp-text-tertiary);
}

.mp-input:focus {
  box-shadow: 0 0 0 2px rgba(31,61,240,0.6);
}

.mp-textarea {
  height: 96px;
  resize: none;
}

.mp-select-wrap {
  position: relative;
}

.mp-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 40px;
}

.mp-select:invalid,
.mp-select option[value=""][disabled] {
  color: var(--mp-text-tertiary);
}

.mp-select-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.mp-contact-form-footer {
  display: flex;
  align-items: center;
  gap: 32px;
}

.mp-contact-form-terms {
  flex: 1;
  font-size: 14px;
  line-height: 1.3;
  color: rgba(0,0,0,0.7);
  margin: 0;
}

.mp-contact-form-terms a {
  color: var(--mp-brand-700);
  text-decoration: none;
}

.mp-contact-form-terms a:hover {
  text-decoration: underline;
}

.mp-contact-submit {
  flex-shrink: 0;
  min-width: 100px;
}

@media (max-width: 991.98px) {
  .mp-contact-hero { padding: 60px 0 0; }
  .mp-contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .mp-contact-testimonial-quote { font-size: 22px; }
}

@media (max-width: 767.98px) {
  .mp-contact-hero { padding: 40px 0 0; }
  .mp-contact-form-row { flex-direction: column; gap: 24px; }
  .mp-contact-form { padding: 24px 16px; }
  .mp-contact-form .row > [class*="col-"]:not(:last-child) { margin-bottom: 24px; }
  .mp-contact-form-footer { flex-direction: column; gap: 16px; align-items: stretch; }
  .mp-contact-submit { width: 100%; }
  .mp-contact-form-footer .btn-mp {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  .mp-contact-testimonial-quote { font-size: 20px; }
  .mp-contact-info { flex-direction: column; gap: 24px; }
}


/* ==========================================================================
   30. CONTACT PAGE – What To Expect (Steps + Scroll Timeline)
   ========================================================================== */

.mp-expect {
  background: white;
  padding: 160px 0;
  overflow-x: clip;
}

.mp-expect-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 42px;
  max-width: 800px;
  margin: 0 auto 64px;
  text-align: center;
}

/* Avatar circles */
.mp-expect-avatars {
  display: flex;
  align-items: center;
  position: relative;
  height: 60px;
}

.mp-expect-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid white;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  position: relative;
}

.mp-expect-avatar:not(:first-child) {
  margin-left: -20px;
}

.mp-expect-avatar-faded {
  opacity: 0.7;
}

.mp-expect-avatar:nth-child(3) { z-index: 3; }
.mp-expect-avatar:nth-child(2) { z-index: 2; }
.mp-expect-avatar:nth-child(1) { z-index: 1; }

.mp-expect-avatar-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.mp-expect-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid var(--mp-brand-500);
  border-radius: 9999px;
}

.mp-expect-ring-1 {
  width: 184px;
  height: 107px;
  opacity: 0.2;
}

.mp-expect-ring-2 {
  width: 308px;
  height: 173px;
  opacity: 0.1;
}

.mp-expect-ring-3 {
  width: 498px;
  height: 280px;
  opacity: 0.05;
}

/* Timeline layout – 7-column grid */
.mp-expect-timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: auto auto auto;
  gap: 0 64px;
}

.mp-expect-step {
  padding: 80px 0;
}

.mp-expect-step-left {
  grid-column: 2 / span 2;
}

.mp-expect-step-right {
  grid-column: 5 / span 2;
}

.mp-expect-step:nth-child(2) { grid-row: 1; }
.mp-expect-step:nth-child(3) { grid-row: 2; }
.mp-expect-step:nth-child(4) { grid-row: 3; }

.mp-expect-step-label {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--mp-text-tertiary);
  margin-bottom: 12px;
}

.mp-expect-step-content h4 {
  margin-bottom: 20px;
}

.mp-expect-step-content p:last-child {
  margin: 0;
}

/* Vertical line track */
.mp-expect-line-track {
  grid-column: 4;
  grid-row: 1 / 4;
  justify-self: center;
  align-self: stretch;
  position: relative;
  width: 4px;
}

.mp-expect-line-bg {
  position: absolute;
  inset: 0;
  width: 4px;
  background: var(--mp-neutral-100);
  border-radius: 2px;
}

.mp-expect-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0%;
  background: var(--mp-brand-500);
  border-radius: 4px;
  will-change: height;
}

/* Bottom tagline */
.mp-expect-bottom {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding-top: 32px;
}

.mp-expect-bottom h3,
.mp-expect-bottom .h3,
.mp-expect-bottom p,
.mp-expect-bottom .mp-expect-cta {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.mp-expect-bottom p {
  transition-delay: 0.12s;
}

.mp-expect-bottom .mp-expect-cta {
  display: inline-flex;
  margin-top: 32px;
  transition-delay: 0.24s;
}

.mp-expect-bottom.is-revealed h3,
.mp-expect-bottom.is-revealed .h3,
.mp-expect-bottom.is-revealed p,
.mp-expect-bottom.is-revealed .mp-expect-cta {
  opacity: 1;
  transform: translateY(0);
}

.mp-expect-bottom h3,
.mp-expect-bottom .h3 {
  margin-bottom: 20px;
}

.mp-expect-bottom p {
  margin: 0;
}

@media (max-width: 991.98px) {
  .mp-expect { padding: 100px 0; }
  .mp-expect-header { margin-bottom: 48px; gap: 32px; }

  .mp-expect-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-left: 32px;
    position: relative;
  }

  .mp-expect-step {
    padding: 40px 0;
  }

  .mp-expect-line-track {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
  }
}

@media (max-width: 767.98px) {
  .mp-expect { padding: 80px 0; }
  .mp-expect-header { gap: 24px; }
  .mp-expect-ring-2,
  .mp-expect-ring-3 { display: none; }
  .mp-expect-timeline { padding-left: 24px; }
}


/* ==========================================================================
   PRICING PAGE
   ========================================================================== */

/* --------------------------------------------------------------------------
   Pricing Hero
   -------------------------------------------------------------------------- */

.mp-pricing-hero {
  padding: 100px 0 60px;
  background: linear-gradient(180deg, var(--mp-neutral-50) 0%, var(--mp-neutral-0) 100%);
}

.mp-pricing-hero-content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.mp-pricing-hero-content .mp-sched-hero-label {
  margin-bottom: 20px;
}

.mp-pricing-hero-content h1 {
  margin-bottom: 20px;
}

.mp-pricing-hero-content .p-lg {
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .mp-pricing-hero { padding: 60px 0 40px; }
}


/* --------------------------------------------------------------------------
   Pricing Cards
   -------------------------------------------------------------------------- */

.mp-pricing-section {
  padding: 0 0 80px;
}

.mp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding-top: 36px;
}

/* --- Card shell --- */

.mp-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--mp-border-primary);
  border-radius: var(--mp-radius-card);
  background: var(--mp-neutral-0);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.mp-plan-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

/* --- Popular variant --- */

.mp-plan-card-popular {
  border-color: var(--mp-brand-300);
  box-shadow: 0 0 0 1px var(--mp-brand-300);
  overflow: visible;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.mp-plan-card-popular:hover {
  box-shadow: 0 0 0 1px var(--mp-brand-300), 0 8px 32px rgba(31, 61, 240, 0.1);
}

.mp-plan-card-badge {
  position: absolute;
  bottom: 100%;
  left: -1px;
  right: -1px;
  text-align: center;
  padding: 6px 0;
  background-color: var(--mp-brand-500);
  color: var(--mp-text-invert);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--mp-radius-card) var(--mp-radius-card) 0 0;
}

.mp-plan-card-popular .mp-plan-card-header {
  padding-top: 24px;
}

/* --- Card header (name + price + tagline) --- */

.mp-plan-card-header {
  padding: 24px 20px 0;
}

.mp-plan-name {
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mp-text-tertiary);
  margin-bottom: 12px;
}

.mp-plan-pricing {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}

.mp-plan-price {
  font-weight: 600;
  font-size: 36px;
  letter-spacing: -1.2px;
  line-height: 1;
  color: var(--mp-text-primary);
}

.mp-plan-period {
  font-size: 15px;
  font-weight: 400;
  color: var(--mp-text-tertiary);
}

.mp-plan-tagline {
  font-size: 14px;
  line-height: 1.4;
  color: var(--mp-text-secondary);
  margin-bottom: 0;
}

/* --- Card body (CTA + feature list) --- */

.mp-plan-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 20px 24px;
}

.mp-plan-cta {
  width: 100%;
  margin: 0 0 24px !important;
}

/* Outline button for non-popular cards */
.btn-mp.btn-mp-outline {
  background-color: transparent;
  color: var(--mp-text-primary);
  border: 1px solid var(--mp-border-primary);
}
.btn-mp.btn-mp-outline:hover {
  background-color: var(--mp-neutral-50);
  color: var(--mp-text-primary);
  border-color: var(--mp-neutral-300);
}

/* Feature list */
.mp-plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.mp-plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--mp-border-secondary);
  font-size: 14px;
  color: var(--mp-text-secondary);
  line-height: 1.3;
}

.mp-plan-features li svg {
  flex-shrink: 0;
  color: var(--mp-green-500);
}

/* Note below cards */
.mp-pricing-note {
  text-align: center;
  margin-top: 24px;
}

.mp-pricing-note p {
  color: var(--mp-text-tertiary);
  margin: 0;
}

.mp-pricing-note a {
  color: var(--mp-brand-500);
  text-decoration: none;
  font-weight: 500;
}

.mp-pricing-note a:hover {
  text-decoration: underline;
}

/* --- Responsive --- */

@media (max-width: 1399.98px) {
  .mp-pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991.98px) {
  .mp-pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767.98px) {
  .mp-pricing-section { padding: 0 0 60px; }
}

@media (max-width: 575.98px) {
  .mp-pricing-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   Legal Pages (Privacy Policy, Terms, Software Terms, Cookie Policy)
   ========================================================================== */

.mp-legal-header {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--mp-neutral-50) 0%, var(--mp-neutral-0) 100%);
}

.mp-legal-header h1 {
  margin: 0 0 12px;
}

.mp-legal-header .mp-legal-updated {
  color: var(--mp-text-tertiary);
  margin: 0;
}

.mp-legal-body {
  padding: 80px 0;
}

.mp-legal-layout {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 64px;
  align-items: start;
}

.mp-legal-toc {
  position: sticky;
  top: 96px;
  background: var(--mp-neutral-50);
  border: 1px solid var(--mp-border-secondary);
  border-radius: 16px;
  padding: 32px;
}

.mp-legal-toc-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--mp-text-primary);
  margin: 0 0 12px;
}

.mp-legal-toc-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mp-legal-toc-links a {
  font-size: 14px;
  line-height: 1.6;
  color: var(--mp-text-secondary);
  text-decoration: none;
  transition: color 0.15s;
  padding: 3px 0;
}

.mp-legal-toc-links a:hover {
  color: var(--mp-brand-500);
}

.mp-legal-content h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 48px 0 16px;
  color: var(--mp-text-primary);
  scroll-margin-top: 96px;
}

.mp-legal-content h2:first-child {
  margin-top: 0;
}

.mp-legal-content h3,
.mp-legal-content .h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 32px 0 12px;
  color: var(--mp-text-primary);
}

.mp-legal-content p,
.mp-legal-content li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--mp-text-secondary);
}

.mp-legal-content p {
  margin-bottom: 16px;
}

.mp-legal-content ul,
.mp-legal-content ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.mp-legal-content li {
  margin-bottom: 6px;
}

.mp-legal-content a {
  color: var(--mp-brand-500);
  text-decoration: none;
}

.mp-legal-content a:hover {
  text-decoration: underline;
}

.mp-legal-content strong {
  color: var(--mp-text-primary);
  font-weight: 600;
}

/* --- Responsive --- */

@media (max-width: 991.98px) {
  .mp-legal-header { padding: 60px 0; }
  .mp-legal-body { padding: 0 0 60px; }

  .mp-legal-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .mp-legal-toc {
    position: relative;
    top: auto;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    margin: 0 -12px;
    padding: 24px 32px;
  }
}

@media (max-width: 767.98px) {
  .mp-legal-header { padding: 48px 0; }
  .mp-legal-content h2 { font-size: 20px; }
}

@media (max-width: 575.98px) {
  .mp-legal-header h1 { font-size: 28px; }
}


/* --------------------------------------------------------------------------
   23. Error & Offline Pages
   -------------------------------------------------------------------------- */

.mp-error-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 700px;
  padding: 120px 40px;
  background-color: var(--mp-bg-primary);
}

.mp-error-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.mp-error-title-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 800px;
  width: 100%;
}

.mp-error-title-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  width: 100%;
}

.mp-error-heading {
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -1.68px;
  line-height: 1.15;
  color: var(--mp-text-primary);
  margin: 0;
}

.mp-error-desc {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--mp-text-secondary);
  margin: 0;
}

.mp-offline-form {
  max-width: 400px;
  width: 100%;
  margin-top: 36px;
}

.mp-offline-form .form-control {
  border: 1px solid var(--mp-border-primary);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 16px;
}

.mp-offline-form .form-control:focus {
  border-color: var(--mp-brand-500);
  box-shadow: 0 0 0 3px rgba(31, 61, 240, 0.1);
}

@media (max-width: 767.98px) {
  .mp-error-section {
    padding: 80px 20px;
    min-height: 500px;
  }
  .mp-error-heading {
    font-size: 36px;
    letter-spacing: -1px;
  }
  .mp-error-desc {
    font-size: 16px;
  }
}

@media (max-width: 575.98px) {
  .mp-error-heading {
    font-size: 28px;
  }
}

/* ── Toast notifications ───────────────────────────────────────────── */

#mp-toast-container {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 11000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 16px;
  pointer-events: none;
}

.mp-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  max-width: 480px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: #fff;
  background: var(--mp-neutral-900);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
  animation: mp-toast-in .4s cubic-bezier(.22, 1, .36, 1) forwards;
}

.mp-toast.is-leaving {
  animation: mp-toast-out .35s cubic-bezier(.55, 0, 1, .45) forwards;
}

.mp-toast--message { background: var(--mp-brand-600); }
.mp-toast--success  { background: #16a34a; }
.mp-toast--warning  { background: #d97706; }
.mp-toast--error,
.mp-toast--danger   { background: #dc2626; }
.mp-toast--notice,
.mp-toast--info     { background: var(--mp-brand-600); }

.mp-toast__text {
  flex: 1 1 auto;
}

.mp-toast__close {
  flex: 0 0 auto;
  background: none;
  border: none;
  color: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  opacity: .7;
  padding: 0 2px;
  transition: opacity .15s;
}

.mp-toast__close:hover { opacity: 1; }

@keyframes mp-toast-in {
  from { opacity: 0; transform: translateY(-100%); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes mp-toast-out {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-100%); }
}

/* --------------------------------------------------------------------------
   Skip-to-content link (accessibility)
   -------------------------------------------------------------------------- */

.mp-skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 10000;
  padding: 0.75rem 1.5rem;
  background: var(--mp-brand-600);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: 0 0 0.5rem 0;
}

.mp-skip-link:focus {
  position: fixed;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  overflow: visible;
  outline: 2px solid var(--mp-brand-600);
  outline-offset: 2px;
}

.grecaptcha-badge {
  visibility: hidden !important;
  display: none !important;
}
