/* ==================== ROOT VARIABLES ==================== */
/*
  THEME: Indigo / Violet.

  Colour system rules:
  - Role tokens (--primary, --secondary, --highlight) are the canonical names.
    They are CONTRAST-SAFE: usable as text on white, or as a fill under white
    text (all >= 4.5:1). Swapping the theme means editing only this block.
  - Tokens ending in `-bright` are DECORATIVE ONLY: glows, dots, gradient
    light-stops, illustration accents. Never put text on them or make text of them.
  - `-rgb` twins exist so alpha tints/shadows derive from the same source.
  - The `--primary-cyan` / `--secondary-orange` / `--highlight-blue` names are
    legacy hue labels kept as aliases so existing rules keep working. Prefer the
    role names in new code.
*/
:root {
  /* --- Brand: indigo --- */
  --primary: #0369a1; /* 5.93:1 on white */
  --primary-rgb: 3, 105, 161;
  --primary-deep: #075985;
  --primary-bright: #38bdf8; /* decorative */
  --primary-bright-rgb: 56, 189, 248;
  --primary-tint: #e0f2fe;
  --primary-cyan: var(--primary); /* legacy alias */

  /* --- Accent: burnt orange (complement to indigo) --- */
  --secondary: #c9500f; /* 4.53:1 on white */
  --secondary-rgb: 201, 80, 15;
  --accent-bright: #ff8a4b; /* decorative */
  --accent-bright-rgb: 255, 138, 75;
  --accent-tint: #fdefe6;
  --secondary-orange: var(--secondary); /* legacy alias */

  /* --- Support: teal --- */
  --highlight: #0f766e; /* 5.47:1 on white */
  --highlight-rgb: 15, 118, 110;
  --highlight-bright: #5eead4; /* decorative */
  --highlight-bright-rgb: 94, 234, 212;
  --highlight-tint: #ecfdf5;
  --highlight-blue: var(--highlight); /* legacy alias */

  /* --- Ink & surfaces --- */
  /* House style for headings: navy words, green accent words - as on the
     last-mile hero. Navy here, the green accent is --heading-accent. */
  --text-navy: #0B1F3A; /* headings */
  --heading-accent: #15a280; /* accent words in headings (large text only, 3.2:1) */
  --text-green: #0e7a60; /* green for normal-size text, 5.3:1 on white */
  --text-body: #4d5473; /* body copy, 7.4:1 */
  --ink-rgb: 23, 26, 61;
  --bg-light: #f5f6fc;
  --bg-soft: #eceefa;
  --dark: #0f1029;
  --dark-2: #1a1c3d;
  --white: #ffffff;
  --gray-100: #f9fafd;
  --gray-200: #e6e7f2;
  --gray-300: #cccee0;
  --gray-400: #9aa0bd;
  --gray-500: #646a8a; /* 5.29:1 on white - smallest safe muted text */
  --gray-600: #4a4f6b;

  /* --- Ink for DARK surfaces (footer, CTA bands, dark cards) --- */
  --on-dark: #dfe2f2; /* 14.5:1 on --dark */
  --on-dark-muted: #a9aecb; /* 8.5:1 on --dark */
  --on-dark-faint: rgba(255, 255, 255, 0.22); /* separators only */
  --primary-on-dark: #7dd3fc; /* brand sky that reads on --dark, 11.2:1 */

  /* --- Status: safe pair per role (text-safe / decorative) --- */
  --success: #15803d; /* 5.02:1 on white */
  --success-bright: #28ca41; /* dots, pulses, fills - no text */
  --success-rgb: 40, 202, 65;
  --warning: #a16207; /* 4.9:1 on white */
  --warning-bright: #ffbd2e;
  --danger: #c02626; /* 6.1:1 on white */
  --danger-bright: #ff5f57;

  /* --- Gradients --- */
  /* fills that carry white text - both stops >= 7:1 */
  --gradient-primary: linear-gradient(135deg, #075985, #115e59);
  /* gradient TEXT on white - both stops dark enough to read */
  --gradient-heading: linear-gradient(120deg, #0369a1, #0f766e);
  --gradient-warm: linear-gradient(135deg, #d2560f, #c0392b);
  --gradient-dark: linear-gradient(135deg, #0f1029, #2a2170);
  /* decorative wash - no text on top */
  --gradient-glow: linear-gradient(135deg, #38bdf8, #99f6e4);

  /* --- Shadows: indigo-tinted, not pure black --- */
  --shadow-sm: 0 2px 8px rgba(23, 26, 61, 0.06);
  --shadow-md: 0 6px 24px rgba(23, 26, 61, 0.08);
  --shadow-lg: 0 12px 40px rgba(23, 26, 61, 0.1);
  --shadow-xl: 0 24px 60px rgba(23, 26, 61, 0.14);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

/* ==================== BASE ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overflow-x: clip;
}

@media (max-width: 768px) {
  [data-aos] {
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto;
  }
}

html::-webkit-scrollbar {
  display: none;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body::-webkit-scrollbar {
  display: none;
}

.py-6 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* ==================== TYPOGRAPHY ==================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-navy);
}

/* Accent words inside headings. Solid brand green rather than the old
   blue-to-teal gradient, so every heading on the site pairs navy with the
   same green. */
.text-gradient {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: var(--heading-accent);
  color: var(--heading-accent);
}

/* highlighted words in running text are smaller, so they take the darker,
   readable green */
.text-highlight {
  color: var(--text-green);
}

/* On dark surfaces the green must lighten to stay readable: this mint is
   9.5:1 on --dark, where the heading green would be near-invisible */
.footer-section .text-highlight,
.cta-section .text-highlight,
.pricing-card.popular .text-highlight {
  color: #2fd0a6;
}

.section-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-cyan);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.section-title {
  /* fluid: 25.6px on phones -> 34px from ~1160px up. Was a flat 40px, which
     ran nearly the full container width and dwarfed the 17.6px subtitle. */
  font-size: clamp(1.6rem, 1.35rem + 1.1vw, 2.125rem);
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* centred headings wrap before the container edge so they read as a block,
   sitting closer to the 600px subtitle measure */
.text-center .section-title {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  color: var(--gray-500);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ==================== NAVBAR ==================== */
.navbar {
  padding: 1rem 0;
  transition: all 0.3s ease;
  background: transparent;
  z-index: 1050;
}

.navbar-scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  padding: 0.6rem 0;
}

.brand-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
}

.brand-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-navy);
}

.navbar-nav .nav-link {
  color: var(--gray-600);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-cyan);
}

.navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--primary-cyan);
  border-radius: 2px;
}

/* ==================== MEGA MENU ==================== */
.mega-dropdown {
  position: static !important;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-top: 3px solid var(--primary-cyan);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  padding: 2rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.mega-dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* The preview panel's active slide sets `visibility: visible`, which overrides
   the closed menu's inherited `visibility: hidden` and left a 416x405 region of
   the mega menu hit-testable on top of the page below it — hovering the hero
   opened the menu. Gate the whole menu on pointer-events so a closed menu can
   never receive a hover, and keep the decorative preview art out of hit-testing
   even when the menu is open. */
.mega-menu {
  pointer-events: none;
}

/* invisible bridge across the gap between the nav link and the menu, so moving
   the pointer down does not drop :hover and close the menu mid-travel */
.mega-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -36px;
  height: 36px;
}


.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s ease;
  margin-bottom: 4px;
}

.mega-item:hover {
  background: var(--bg-light);
}

.mega-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(var(--primary-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--primary-cyan);
  flex-shrink: 0;
}

.mega-icon.icon-orange {
  background: rgba(var(--accent-bright-rgb), 0.1);
  color: var(--secondary-orange);
}
.mega-icon.icon-blue {
  background: rgba(var(--highlight-bright-rgb), 0.1);
  color: var(--highlight-blue);
}
.mega-icon.icon-green {
  background: rgba(var(--success-rgb), 0.1);
  color: var(--success);
}
.mega-icon.icon-purple {
  background: rgba(45, 212, 191, 0.1);
  color: #2dd4bf;
}
.mega-icon.icon-cyan {
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-cyan);
}

.mega-item h6 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-navy);
  margin: 0 0 3px;
}

.mega-item p {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.4;
}

.mega-item:hover h6 {
  color: var(--primary-cyan);
}

/* Mega menu grid layout */
.mega-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 0 1rem;
}

/* compact capability links under the six module cards in the mega menu */
.mega-caps {
  border-top: 1px solid var(--gray-200);
  margin: 1rem 1rem 0;
  padding-top: 0.9rem;
}

.mega-caps-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.6rem;
}

.mega-caps-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mega-cap {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-600);
  text-decoration: none;
  padding: 5px 11px;
  border-radius: 100px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.mega-cap:hover,
.mega-cap:focus-visible {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(var(--primary-rgb), 0.06);
}

.mobile-caps {
  padding: 0.9rem 0.25rem 0.4rem;
  border-top: 1px solid var(--gray-200);
  margin-top: 0.5rem;
}

.mega-footer {
  border-top: 1px solid var(--gray-200);
  margin: 1rem 1rem 0;
  padding-top: 1rem;
  text-align: center;
}

.mega-all-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-cyan);
  text-decoration: none;
  transition: all 0.2s ease;
}

.mega-all-link:hover {
  color: var(--text-navy);
}

/* Mega menu image panel */
.mega-image-panel {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  margin-left: 1rem;
}

.mega-preview-img {
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1rem;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.mega-preview-img img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: top left;
  display: block;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  opacity: 1;
}

.mega-preview-img:hover img {
  transform: scale(1.03);
}

.mega-cta {
  text-align: center;
}

.mega-cta h6 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-navy);
  margin-bottom: 4px;
}

.mega-cta p {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-bottom: 10px;
}

@media (max-width: 991px) {
  .mega-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: none;
    overflow: visible;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    margin: 0.5rem 0;
    display: none;
  }

  .nav-item {
    box-shadow:
      rgba(14, 63, 126, 0.04) 0px 0px 0px 1px,
      rgba(42, 51, 69, 0.04) 0px 1px 1px -0.5px,
      rgba(42, 51, 70, 0.04) 0px 3px 3px -1.5px,
      rgba(42, 51, 70, 0.04) 0px 6px 6px -3px,
      rgba(14, 63, 126, 0.04) 0px 12px 12px -6px,
      rgba(14, 63, 126, 0.04) 0px 24px 24px -12px;
    border-radius: 10px;
    margin-bottom: 10px;
  }

  /* Removed :hover rule — it caused sticky hover on touch devices.
     Visibility is now controlled exclusively by JS via the .show class. */
  .mega-dropdown.show .mega-menu {
    display: block;
  }

  .mega-links-grid {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .mega-item {
    padding: 8px 10px;
  }

  .mega-icon {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }

  .mega-footer {
    margin: 0.5rem 0 0;
    padding-top: 0.5rem;
  }
}

.btn-outline-nav {
  border: 2px solid var(--gray-200);
  color: var(--text-navy);
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: 8px 20px;
  transition: all 0.3s ease;
}

.btn-outline-nav:hover {
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
  background: rgba(var(--primary-rgb), 0.05);
}

.btn-primary-gradient {
  background: var(--gradient-primary);
  border: none;
  color: white;
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: 10px 24px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

/* Navbar CTA ring pulse animation */
.nav-buttons .btn-primary-gradient {
  position: relative;
  overflow: visible;
  animation: btnAttention 4s ease-in-out infinite;
}

.nav-buttons .btn-primary-gradient::before,
.nav-buttons .btn-primary-gradient::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: var(--radius-md);
  border: 2px solid var(--primary-cyan);
  opacity: 0;
  pointer-events: none;
}

.nav-buttons .btn-primary-gradient::before {
  animation: btnRing 4s ease-out infinite;
}

.nav-buttons .btn-primary-gradient::after {
  animation: btnRing 4s ease-out 0.3s infinite;
}

@keyframes btnRing {
  0%,
  50% {
    opacity: 0;
    transform: scale(1);
  }
  55% {
    opacity: 0.6;
    transform: scale(1);
  }
  80% {
    opacity: 0;
    transform: scale(1.15, 1.5);
  }
  100% {
    opacity: 0;
    transform: scale(1.15, 1.5);
  }
}

@keyframes btnAttention {
  0%,
  50%,
  100% {
    transform: scale(1);
  }
  55% {
    transform: scale(1.05);
  }
  60% {
    transform: scale(1);
  }
  65% {
    transform: scale(1.03);
  }
  70% {
    transform: scale(1);
  }
}

.btn-primary-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.4);
  color: white;
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background-image: none;
  position: relative;
}

/* ==================== MOBILE SIDEBAR ==================== */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 40, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1055;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  height: 100dvh;
  background: #fff;
  z-index: 1060;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
}

.mobile-sidebar.is-open {
  transform: translateX(0);
}

body.sidebar-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

.mobile-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--gray-200);
  flex-shrink: 0;
}

.mobile-sidebar-close {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.mobile-sidebar-close:hover {
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-cyan);
}

.mobile-sidebar-nav {
  flex: 1;
  min-height: 0; /* essential — lets flex child scroll instead of growing forever */
  padding: 0.75rem 0.75rem 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-list > li {
  margin-bottom: 2px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.7rem 0.9rem;
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  width: 100%;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--primary-cyan);
  background: rgba(var(--primary-rgb), 0.08);
}

.mobile-nav-link i:first-child {
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.mobile-features-btn {
  justify-content: space-between;
}

.mobile-features-btn .btn-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-chevron {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.mobile-features-btn.is-active .mobile-chevron {
  transform: rotate(180deg);
}

.mobile-mega-panel {
  display: none;
  padding: 0.25rem 0.5rem 0.5rem 0.5rem;
}

.mobile-mega-panel.is-open {
  display: block;
}

.mobile-mega-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.55rem 0.75rem;
  color: var(--gray-600);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.mobile-mega-link:hover {
  color: var(--primary-cyan);
  background: rgba(var(--primary-rgb), 0.08);
}

.mobile-mega-link .mega-icon {
  width: 30px;
  height: 30px;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.mobile-view-all {
  color: var(--primary-cyan);
  font-weight: 700;
  margin-top: 4px;
  border-top: 1px solid var(--gray-200);
  padding-top: 0.6rem;
}

/* ==================== SIDEBAR FLEET MAP ==================== */
.sidebar-fleet-map {
  margin-top: 1.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.sfm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 1rem;
  background: var(--bg-light);
  border-bottom: 1px solid var(--gray-200);
}

.sfm-tagline {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-navy);
  line-height: 1.3;
}

.sfm-tagline span {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gray-500);
}

.sfm-badge {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-cyan);
  border-radius: 20px;
  padding: 2px 8px;
  font-size: 0.68rem;
  font-weight: 700;
}

.sfm-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-cyan);
  animation: sfmBlink 1.5s ease-in-out infinite;
}

@keyframes sfmBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}

.sfm-map {
  position: relative;
  height: 155px;
  overflow: hidden;
}

.sfm-bg-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Individual pin */
.sfm-pin {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -50%);
  z-index: 2;
}

/* Stagger pulse delay per pin */
.sfm-pin:nth-child(2) .sfm-pulse { animation-delay: 0s;    }
.sfm-pin:nth-child(3) .sfm-pulse { animation-delay: 0.4s;  }
.sfm-pin:nth-child(4) .sfm-pulse { animation-delay: 0.8s;  }
.sfm-pin:nth-child(5) .sfm-pulse { animation-delay: 1.2s;  }
.sfm-pin:nth-child(6) .sfm-pulse { animation-delay: 1.6s;  }

.sfm-pulse {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pc);
  opacity: 0;
  animation: sfmPulse 2.2s ease-out infinite;
  pointer-events: none;
}

@keyframes sfmPulse {
  0%   { transform: scale(0.4); opacity: 0.55; }
  80%  { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(0.4); opacity: 0; }
}

.sfm-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.62rem;
  font-weight: 700;
  border: 2px solid white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
  position: relative;
  z-index: 3;
}

.sfm-label {
  background: white;
  color: var(--text-navy);
  font-size: 0.58rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  margin-top: 2px;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 3;
  line-height: 1.4;
}

.mobile-sidebar-cta {
  padding: 1rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid var(--gray-200);
  flex-shrink: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--text-navy);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  transition: transform 0.3s ease;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

/* ==================== HERO SECTION ==================== */
.hero-section {
  position: relative;
  background: var(--bg-light);
  overflow: hidden;
  padding: 120px 0 60px;
}

.hero-badge span {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-cyan);
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-navy);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 520px;
}

.btn-outline-hero {
  border: 2px solid var(--gray-300);
  color: var(--text-navy);
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: 12px 28px;
  transition: all 0.3s ease;
}

.btn-outline-hero:hover {
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
}

/* Platform Badges */
.hero-platform-badges {
  display: flex;
  gap: 15px;
  justify-content: center;
  position: absolute;
  bottom: 20px;
  left: 55%;
  transform: translateX(-50%);
  z-index: 10;
  width: 100%;
}

.hero-platform-badges .platform-badge {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  border: 2px solid var(--gray-200);
  background: white;
}

.platform-badge {
  background: white;
  padding: 10px 22px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border: 2px solid var(--gray-200);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.platform-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.25);
  border-color: var(--primary-cyan);
}

.platform-badge i {
  font-size: 1.2rem;
  color: var(--primary-cyan);
}

.platform-badge .fa-google-play {
  color: #34a853;
}
.platform-badge .fa-apple {
  color: var(--text-navy);
}

.platform-badge span {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-navy);
}

.hero-stats {
  border-top: 1px solid var(--gray-200);
  padding-top: 1.5rem;
}

.hero-stat {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-navy);
}

.hero-stat .text-gradient {
  font-size: 1.8rem;
  font-weight: 800;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--gray-500);
  font-weight: 500;
  width: 100%;
}

/* ==================== HERO DASHBOARD MOCKUP ==================== */
.hero-dashboard-mockup {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.mockup-header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
  gap: 12px;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-dots span:nth-child(1) {
  background: #ff5f57;
}
.mockup-dots span:nth-child(2) {
  background: #ffbd2e;
}
.mockup-dots span:nth-child(3) {
  background: var(--success-bright);
}

.mockup-url {
  font-size: 0.75rem;
  color: var(--gray-400);
  background: var(--white);
  padding: 4px 12px;
  border-radius: 6px;
  flex: 1;
  text-align: center;
}

.mockup-body {
  display: flex;
  min-height: 280px;
}

.mockup-sidebar {
  width: 50px;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0;
  gap: 8px;
}

.sidebar-item {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  border-radius: 8px;
  font-size: 0.8rem;
  transition: all 0.3s;
}

.sidebar-item.active {
  background: var(--primary-cyan);
  color: white;
}

.mockup-content {
  flex: 1;
  padding: 16px;
  background: var(--bg-light);
}

.mockup-stat-row {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.mockup-stat-card {
  flex: 1;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: white;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.mockup-stat-card i {
  font-size: 0.8rem;
  margin-bottom: 4px;
  display: block;
}

.mockup-stat-card .num {
  font-size: 1.1rem;
  font-weight: 800;
  display: block;
}

.mockup-stat-card .label {
  font-size: 0.6rem;
  color: var(--gray-500);
}

.card-cyan i,
.card-cyan .num {
  color: var(--primary-cyan);
}
.card-orange i,
.card-orange .num {
  color: var(--secondary-orange);
}
.card-blue i,
.card-blue .num {
  color: var(--highlight-blue);
}

.mockup-map {
  background: white;
  border-radius: var(--radius-sm);
  padding: 10px;
  margin-bottom: 14px;
  height: 100px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e0f2fe, #f3edfd, #f9edfb);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.map-placeholder > i {
  font-size: 1.5rem;
  color: var(--gray-300);
}

.map-pin {
  position: absolute;
  font-size: 8px;
  animation: pulse 2s infinite;
}

.map-pin.pin-1 {
  top: 20%;
  left: 25%;
  color: var(--primary-cyan);
}
.map-pin.pin-2 {
  top: 45%;
  left: 55%;
  color: var(--secondary-orange);
}
.map-pin.pin-3 {
  top: 30%;
  left: 75%;
  color: var(--highlight-blue);
}
.map-pin.pin-4 {
  top: 65%;
  left: 35%;
  color: var(--success);
}
.map-pin.pin-5 {
  top: 55%;
  left: 80%;
  color: var(--primary-cyan);
}

.map-pin.ping {
  animation: ping 1s ease-out;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.mockup-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 50px;
  background: white;
  border-radius: var(--radius-sm);
  padding: 10px;
  box-shadow: var(--shadow-sm);
}

.chart-bar {
  flex: 1;
  background: var(--gradient-primary);
  border-radius: 3px 3px 0 0;
  min-height: 5px;
  animation: growUp 1.5s ease-out forwards;
}

@keyframes growUp {
  from {
    height: 0;
  }
}

/* Hero Image */
.hero-image-wrapper {
  position: relative;
  padding: 20px 20px 40px;
}

.hero-img {
  width: 120%;
  max-width: 750px;
  height: auto;
  /* border-radius: var(--radius-lg); */
  /* box-shadow: var(--shadow-xl); */
  /* border: 1px solid var(--gray-200); */
  transform: perspective(1500px) rotateY(-5deg);
  transition: transform 0.5s ease;
}

/* Hero image 3D tilt handled by JS mousemove */

/* Floating notification cards */
.floating-card {
  position: absolute;
  background: white;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.8rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  white-space: nowrap;
  z-index: 10;
}

.card-float-1 {
  bottom: 60px;
  left: -20px;
  animation: float 3s ease-in-out infinite;
}

.card-float-2 {
  top: 80px;
  right: -10px;
  animation: float 3s ease-in-out infinite 1.5s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ==================== TRUSTED SECTION ==================== */
.trusted-section {
  background: white;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
  position: relative;
}

.trusted-section::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(var(--highlight-bright-rgb), 0.1);
  pointer-events: none;
}

.trusted-section::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.1);
  pointer-events: none;
}

.logo-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: logoScroll 30s linear infinite;
}

.logo-track:hover {
  animation-play-state: paused;
}

@keyframes logoScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.trusted-logo {
  color: var(--gray-500);
  font-size: 1.1rem;
  font-weight: 700;
  opacity: 0.5;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  padding: 8px 20px;
  background: var(--gray-100);
  border-radius: 50px;
  flex-shrink: 0;
}

.trusted-logo:hover {
  opacity: 1;
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary-cyan);
}

.trusted-logo i {
  font-size: 1.3rem;
}

/* ==================== FEATURES SECTION ==================== */
.features-section {
  background: var(--white);
}

/* .feature-row {
  margin-bottom: 4rem !important;
} */

.feature-row .col-lg-7 {
  position: sticky;
  top: 100px !important ;
}

.feature-content {
  padding: 1rem 0;
}

.feature-icon-box {
  width: 56px;
  height: 56px;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary-cyan);
  margin-bottom: 1.5rem;
}

.feature-icon-box.icon-orange {
  background: rgba(var(--accent-bright-rgb), 0.1);
  color: var(--secondary-orange);
}

.feature-icon-box.icon-blue {
  background: rgba(var(--highlight-bright-rgb), 0.1);
  color: var(--highlight-blue);
}

.feature-icon-box.icon-green {
  background: rgba(var(--success-rgb), 0.1);
  color: var(--success);
}

.feature-icon-box.icon-purple {
  background: rgba(45, 212, 191, 0.1);
  color: #2dd4bf;
}

.feature-icon-box.icon-cyan {
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-cyan);
}

.feature-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.feature-desc {
  color: var(--gray-500);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.95rem;
  color: var(--gray-600);
  font-weight: 500;
  line-height: 1.5;
}

.feature-list li i {
  color: var(--primary-cyan);
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 3px; /* align icon with first line of text */
}

/* ==================== FEATURE MOCKUPS ==================== */
.feature-image-box {
  padding: 20px;
  overflow: hidden;
}

.feature-mockup {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  padding: 20px;
}

/* GPS Map Mockup */
.mockup-map-view .map-base {
  height: 300px;
  background: linear-gradient(135deg, #e0f2fe, #f3edfd, #faf0fb);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}

.map-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(var(--primary-rgb), 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--primary-rgb), 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}

.map-road {
  position: absolute;
  background: rgba(203, 213, 225, 0.5);
}

.road-h {
  height: 4px;
  width: 80%;
  top: 40%;
  left: 10%;
  border-radius: 2px;
}

.road-v {
  width: 4px;
  height: 70%;
  left: 50%;
  top: 15%;
  border-radius: 2px;
}

.road-d {
  width: 60%;
  height: 4px;
  top: 65%;
  left: 20%;
  border-radius: 2px;
  transform: rotate(-15deg);
}

.track-point {
  position: absolute;
  z-index: 2;
}

.track-point i {
  font-size: 1.5rem;
}

.track-point .pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.2);
  animation: pulseRing 2s infinite;
}

.tp-1 {
  top: 25%;
  left: 30%;
  color: var(--primary-cyan);
}
.tp-2 {
  top: 50%;
  left: 60%;
  color: var(--secondary-orange);
}
.tp-3 {
  top: 70%;
  left: 25%;
  color: var(--highlight-blue);
}

@keyframes pulseRing {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}

.track-path {
  position: absolute;
  top: 30%;
  left: 33%;
  width: 30%;
  height: 25%;
  border: 2px dashed rgba(var(--primary-rgb), 0.3);
  border-radius: 50%;
}

.map-info-card {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: white;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  font-size: 0.8rem;
  line-height: 1.4;
}

.map-info-card small {
  color: var(--primary-cyan);
}

/* Attendance Mockup */
.mockup-attendance {
  background: white;
}

.attendance-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.attendance-header h6 {
  margin: 0;
  color: var(--text-navy);
  font-weight: 700;
}

.badge-today {
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-cyan);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.attendance-stats-row {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.att-stat {
  flex: 1;
  padding: 12px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
}

.att-stat span {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.att-stat.present {
  background: rgba(var(--success-rgb), 0.1);
  color: var(--success);
}
.att-stat.absent {
  background: rgba(255, 95, 87, 0.1);
  color: #ff5f57;
}
.att-stat.late {
  background: rgba(255, 189, 46, 0.1);
  color: var(--warning);
}

.attendance-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.att-row {
  display: flex;
  align-items: center;
  padding: 10px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  gap: 10px;
}

.att-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.att-avatar.bg-orange {
  background: var(--gradient-warm);
}
.att-avatar.bg-blue {
  background: linear-gradient(135deg, var(--highlight), #115e59);
}
.att-avatar.bg-green {
  background: linear-gradient(135deg, #158f38, #10702c);
}

.att-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.att-info strong {
  font-size: 0.85rem;
}
.att-info small {
  font-size: 0.72rem;
  color: var(--gray-500);
}

.att-badge {
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
}

.att-badge.present {
  background: rgba(var(--success-rgb), 0.1);
  color: var(--success);
}
.att-badge.late {
  background: rgba(255, 189, 46, 0.1);
  color: var(--warning);
}

/* Task Mockup */
.mockup-tasks .task-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.mockup-tasks .task-header h6 {
  margin: 0;
  font-weight: 700;
}
.task-count {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.task-columns {
  display: flex;
  gap: 10px;
}

.task-col {
  flex: 1;
  min-width: 0;
}

.col-label {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
  text-align: center;
}

.col-label.todo {
  background: rgba(var(--highlight-bright-rgb), 0.15);
  color: var(--highlight-blue);
}
.col-label.progress {
  background: rgba(var(--accent-bright-rgb), 0.15);
  color: var(--secondary-orange);
}
.col-label.done {
  background: rgba(var(--success-rgb), 0.15);
  color: var(--success);
}

.task-card {
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 10px;
  margin-bottom: 6px;
  font-size: 0.75rem;
  border-left: 3px solid transparent;
}

.task-card span {
  display: block;
  font-weight: 600;
  margin-bottom: 3px;
}
.task-card small {
  color: var(--gray-500);
  font-size: 0.65rem;
}

.task-priority {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-bottom: 4px;
}

.task-priority.high {
  background: #ff5f57;
}
.task-priority.medium {
  background: #ffbd2e;
}
.task-priority.low {
  background: var(--highlight-blue);
}
.task-priority.done {
  background: var(--success-bright);
}

.task-card.completed {
  opacity: 0.6;
}

/* Expense Mockup */
.mockup-expense .expense-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.mockup-expense .expense-header h6 {
  margin: 0;
  font-weight: 700;
}
.expense-month {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.expense-chart-area {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}

.expense-donut {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(
    var(--primary-cyan) 0% 42%,
    var(--secondary-orange) 42% 67%,
    var(--highlight-blue) 67% 89%,
    var(--success-bright) 89% 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.donut-center {
  width: 70px;
  height: 70px;
  background: white;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.donut-amount {
  font-size: 0.85rem;
  font-weight: 800;
}
.donut-center small {
  font-size: 0.6rem;
  color: var(--gray-500);
}

.expense-legend {
  flex: 1;
}

.legend-item {
  font-size: 0.78rem;
  padding: 3px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot.cyan {
  background: var(--primary-cyan);
}
.dot.orange {
  background: var(--secondary-orange);
}
.dot.blue {
  background: var(--highlight-blue);
}
.dot.green {
  background: var(--success-bright);
}

.expense-recent {
  border-top: 1px solid var(--gray-200);
  padding-top: 12px;
}

.expense-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.82rem;
}

.expense-row i {
  color: var(--gray-400);
  width: 20px;
}
.expense-row span {
  flex: 1;
}
.expense-row strong {
  color: var(--text-navy);
}

/* Geo-fence Mockup */
.mockup-geofence .geofence-map {
  height: 300px;
  background: linear-gradient(135deg, #e0f2fe, #f3edfd);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(var(--primary-rgb), 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--primary-rgb), 0.06) 1px, transparent 1px);
  background-size: 30px 30px;
}

.geo-zone {
  position: absolute;
  text-align: center;
}

.zone-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px dashed var(--primary-cyan);
  background: rgba(var(--primary-rgb), 0.08);
  animation: pulseRing 3s infinite;
}

.zone-1 {
  top: 20%;
  left: 20%;
}
.zone-2 {
  top: 40%;
  left: 60%;
}
.zone-2 .zone-ring {
  border-color: var(--secondary-orange);
  background: rgba(var(--accent-bright-rgb), 0.08);
}
.zone-3 {
  top: 65%;
  left: 35%;
}
.zone-3 .zone-ring {
  border-color: var(--highlight-blue);
  background: rgba(var(--highlight-bright-rgb), 0.08);
}

.zone-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-navy);
  margin-top: 4px;
}

.zone-dot {
  width: 10px;
  height: 10px;
  background: var(--primary-cyan);
  border-radius: 50%;
  margin: 4px auto 0;
}

.zone-2 .zone-dot {
  background: var(--secondary-orange);
}
.zone-3 .zone-dot {
  background: var(--highlight-blue);
}

.geo-alert {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
}

.geo-alert i {
  color: var(--secondary-orange);
  margin-right: 6px;
}

/* Reports Mockup */
.mockup-reports .report-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.mockup-reports .report-header h6 {
  margin: 0;
  font-weight: 700;
}

.report-tabs {
  display: flex;
  gap: 2px;
  background: var(--gray-100);
  border-radius: 6px;
  padding: 2px;
}

.report-tabs span {
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  color: var(--gray-500);
}

.report-tabs span.active {
  background: white;
  color: var(--text-navy);
  box-shadow: var(--shadow-sm);
}

.report-chart {
  margin-bottom: 16px;
}

.line-chart {
  width: 100%;
  height: auto;
}

.report-metrics {
  display: flex;
  gap: 10px;
}

.metric {
  flex: 1;
  text-align: center;
  padding: 10px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
}

.metric-val {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
}

.metric-val.up {
  color: var(--success);
}
.metric-val.down {
  color: var(--primary-cyan);
}

.metric small {
  font-size: 0.7rem;
  color: var(--gray-500);
}

/* ==================== HOW IT WORKS ==================== */
.how-it-works-section {
  background: var(--bg-light);
}

.step-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  transition:
    transform 0.1s ease,
    box-shadow 0.3s ease;
  height: 100%;
  overflow: visible;
}

.step-card::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(var(--primary-rgb), 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  transform: translate(-50%, -50%);
  top: var(--mouse-y, 50%);
  left: var(--mouse-x, 50%);
  z-index: 0;
}

.step-card:hover::after {
  opacity: 1;
}

.step-card:hover {
  box-shadow: var(--shadow-lg);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

.step-icon {
  width: 70px;
  height: 70px;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-cyan);
  margin: 0 auto 1.5rem;
}

.step-card h4 {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.step-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
}

/* Step arrows between cards */
.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.step-arrow i {
  font-size: 1.5rem;
  color: var(--primary-cyan);
  opacity: 0.6;
  animation: arrowBounce 1.5s ease-in-out infinite;
}

@keyframes arrowBounce {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(6px);
  }
}

/* ==================== STATS SECTION ==================== */
.stats-section {
  background: url("https://images.unsplash.com/photo-1446776811953-b23d57bd21aa?q=80&w=2072&auto=format&fit=crop")
    center/cover no-repeat fixed;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 30px, 100% 0, 100% calc(100% - 30px), 0 100%);
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

.stats-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 27, 45, 0.85);
  z-index: 0;
}

.stats-section .container {
  position: relative;
  z-index: 1;
}

.stats-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.08);
}

.stat-box {
  /* 4 tiles across a 768px screen leaves ~168px each; fixed 2rem side padding
     squeezed the figure until it overflowed */
  padding: 2rem clamp(0.5rem, 0.2rem + 1vw, 2rem);
  position: relative;
  z-index: 1;
}

.stat-box .stat-icon {
  /* the band sits on a near-black overlay, so the mid indigo used elsewhere
     drops to 2.6:1 here -- use the on-dark brand tint instead */
  width: 54px;
  height: 54px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--primary-on-dark);
  background: rgba(var(--primary-rgb), 0.22);
  border: 1px solid rgba(125, 211, 252, 0.32);
  border-radius: 16px;
}

.stat-box h3,
.stat-box .stat-uptime {
  font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.5rem);
  font-weight: 900;
  color: white;
  margin-bottom: 0.5rem;
}

.stat-box p {
  color: var(--gray-400);
  font-size: 0.95rem;
  margin: 0;
}

/* ==================== ALTERNATING FEATURE ROWS ====================
   Shared by the last-mile home page and the India home page. Rows stack with
   position:sticky so each one parks under the header as the next slides over.
   Artwork on both pages is 647x251 (2.58:1), matching the media box. */
.lm-features {
  position: relative;
}

.lm-features .lm-o3-row {
  position: sticky;
  top: 96px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 34px rgba(15, 23, 42, 0.1);
  margin-bottom: 24px;
}

.lm-features .lm-o3-row:last-child {
  margin-bottom: 0;
}

.lm-features .lm-o3-row.rev .lm-o3-media {
  order: 2;
}

.lm-o3-media {
  position: relative;
  min-height: 251px;
  background: #fdfdfe;
  overflow: hidden;
}

.lm-o3-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}


.lm-o3-body {
  padding: 34px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.lm-o3-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.12em;
}

.lm-o3-body h3 {
  font-size: 24px;
  font-weight: 800;
  margin: 0;
  color: var(--text-navy);
  letter-spacing: -0.01em;
}

.lm-o3-body p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-body);
  margin: 0;
}

.lm-o3-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  margin-top: 4px;
}

.lm-o3-link i {
  font-size: 11px;
}

@media (max-width: 767px) {
  .lm-features .lm-o3-row {
    grid-template-columns: 1fr;
  }

  .lm-features .lm-o3-row.rev .lm-o3-media {
    order: 0;
  }

  .lm-o3-media {
    min-height: 210px;
  }

  .lm-o3-body {
    padding: 26px 24px;
  }
}

/* cursor-following glow */
.lm-features .lm-o3-row::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.12) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  transform: translate(-50%, -50%);
  top: var(--mouse-y, 50%);
  left: var(--mouse-x, 50%);
  z-index: 2;
}

.lm-features .lm-o3-row:hover::after {
  opacity: 1;
}

.lm-features .lm-o3-row:hover {
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.16);
}

.lm-features .lm-o3-media,
.lm-features .lm-o3-body {
  position: relative;
  z-index: 3;
}

/* Feature rows sat 8px apart (mb-2) on most capability pages and 48px (mb-5) on
   the rest, so each block ran into the next. The attribute match hits any row
   carrying a Bootstrap margin utility and skips the final row, which has none.
   !important is required: Bootstrap's spacing utilities declare it. */
.row.feature-row[class*="mb-"] {
  margin-bottom: clamp(3.5rem, 2rem + 4vw, 6.5rem) !important;
}

/* ==================== PRICING ==================== */
.pricing-section {
  background: var(--bg-light);
}

.pricing-toggle {
  font-size: 0.95rem;
  font-weight: 600;
}

.toggle-label {
  color: var(--gray-500);
  transition: color 0.3s;
}

.toggle-label.active {
  color: var(--text-navy);
}

.save-badge {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(var(--success-rgb), 0.1);
  color: var(--success);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.form-check-input {
  width: 3rem;
  height: 1.5rem;
  cursor: pointer;
}

.form-check-input:checked {
  background-color: var(--primary-cyan);
  border-color: var(--primary-cyan);
}

.form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.25);
}

/* ==================== PRICING CARDS ==================== */
.pricing-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem 2rem 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
  border: 1.5px solid var(--gray-200);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
  border-color: rgba(var(--primary-rgb), 0.35);
}

/* --- Plan head (icon + name + desc) --- */
.pc-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.5rem;
}

.pc-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.pc-starter  { background: rgba(100, 116, 139, 0.1);  color: var(--gray-500); }
.pc-pro      { background: rgba(var(--primary-rgb), 0.15);  color: var(--primary-cyan); }
.pc-enterprise { background: rgba(15, 23, 42, 0.08);  color: var(--text-navy); }

.pc-head h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-navy);
  margin: 0 0 2px;
  line-height: 1.2;
}

.pricing-desc {
  color: var(--gray-500);
  font-size: 0.82rem;
  margin: 0;
  line-height: 1.4;
}

/* --- Price amount --- */
.pricing-amount {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--gray-200);
}

.price-row {
  display: flex;
  align-items: flex-start;
  line-height: 1;
  gap: 2px;
}

.currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-navy);
  margin-top: 10px;
}

.price {
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1;
  color: var(--text-navy);
  letter-spacing: -2px;
  transition: all 0.3s ease;
}

.price-changing {
  opacity: 0;
  transform: translateY(-10px);
}

.period {
  font-size: 0.78rem;
  color: var(--gray-500);
  display: block;
  margin-top: 6px;
  letter-spacing: 0.01em;
}

/* --- Feature list --- */
.pricing-features {
  list-style: none;
  padding: 0;
  margin-bottom: 1.75rem;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: 0.88rem;
  color: var(--gray-600);
  font-weight: 500;
  line-height: 1.45;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.pricing-features li:last-child { border-bottom: none; }

.pricing-features li i {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  margin-top: 2px;
}

.pricing-features li .fa-check {
  background: rgba(var(--primary-rgb), 0.14);
  color: var(--primary-cyan);
}

.pricing-features li .fa-times {
  background: rgba(0, 0, 0, 0.05);
  color: var(--gray-300);
}

.pricing-features li.disabled { color: var(--gray-500); }

/* --- Popular (Professional) card — dark theme --- */
.pricing-card.popular {
  background: linear-gradient(150deg, #0f1029 0%, #1e1b4b 55%, #2a2170 100%);
  border-color: rgba(var(--primary-rgb), 0.45);
  box-shadow:
    0 0 0 1px rgba(var(--primary-rgb), 0.2),
    0 20px 60px rgba(var(--primary-rgb), 0.18),
    0 8px 30px rgba(0, 0, 0, 0.25);
  transform: scale(1.04);
}

.pricing-card.popular:hover {
  transform: scale(1.04) translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(var(--primary-rgb), 0.3),
    0 28px 70px rgba(var(--primary-rgb), 0.22),
    0 10px 35px rgba(0, 0, 0, 0.3);
}

.pricing-card.popular .pc-head h4,
.pricing-card.popular .price,
.pricing-card.popular .currency { color: #fff; }

.pricing-card.popular .pricing-desc { color: rgba(255, 255, 255, 0.55); }
.pricing-card.popular .period      { color: rgba(255, 255, 255, 0.72); }

.pricing-card.popular .pricing-amount {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.pricing-card.popular .pricing-features li {
  color: rgba(255, 255, 255, 0.78);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.pricing-card.popular .pricing-features li.disabled {
  color: rgba(255, 255, 255, 0.55);
}

.pricing-card.popular .pricing-features li .fa-check {
  background: rgba(var(--primary-rgb), 0.22);
  color: var(--primary-bright);
}

.pricing-card.popular .pricing-features li .fa-times {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.25);
}

/* Popular badge */
.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  padding: 5px 18px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.45);
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* --- Enterprise card accent --- */
.pc-enterprise-card {
  border-color: rgba(15, 23, 42, 0.15);
}

.pc-enterprise-card:hover {
  border-color: rgba(15, 23, 42, 0.3);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.1);
}

/* --- CTA Buttons --- */
.btn-outline-pricing {
  border: 2px solid var(--gray-200);
  color: var(--text-navy);
  font-weight: 700;
  border-radius: var(--radius-md);
  padding: 13px 20px;
  font-size: 0.92rem;
  transition: all 0.3s ease;
}

.btn-outline-pricing:hover {
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
  background: rgba(var(--primary-rgb), 0.05);
  transform: translateY(-1px);
}

.btn-outline-pricing.btn-enterprise {
  border-color: rgba(15, 23, 42, 0.25);
  color: var(--text-navy);
}

.btn-outline-pricing.btn-enterprise:hover {
  border-color: var(--text-navy);
  background: rgba(15, 23, 42, 0.04);
  color: var(--text-navy);
}

/* ==================== TESTIMONIALS ==================== */
.testimonials-section {
  background: white;
}

.testimonial-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-200);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.stars {
  margin-bottom: 1rem;
}

.stars i {
  color: #ffbd2e;
  font-size: 0.9rem;
}

.testimonial-text {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.author-avatar.bg-orange {
  background: var(--gradient-warm);
}
.author-avatar.bg-blue {
  background: linear-gradient(135deg, var(--highlight), #115e59);
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* ==================== MOBILE APP ==================== */
.mobile-section {
  background: var(--bg-light);
}

.mobile-mockup {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 280px;
  background: var(--dark);
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.phone-notch {
  width: 120px;
  height: 25px;
  background: var(--dark);
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  margin-top: -12px;
}

.phone-screen {
  background: white;
  border-radius: 28px;
  padding: 30px 16px 16px;
  min-height: 420px;
}

.app-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-navy);
}

.app-header-bar i {
  color: var(--gray-400);
}

.app-status-card {
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
  text-align: center;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}

.status-dot.online {
  background: var(--success-bright);
  box-shadow: 0 0 8px rgba(var(--success-rgb), 0.5);
}

.app-status-card span {
  font-weight: 600;
  font-size: 0.95rem;
}

.app-status-card small {
  display: block;
  margin-top: 4px;
  opacity: 0.8;
  font-size: 0.8rem;
}

.app-quick-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.quick-btn {
  flex: 1;
  text-align: center;
  padding: 12px 4px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
}

.quick-btn i {
  font-size: 1.1rem;
  color: var(--primary-cyan);
  display: block;
  margin-bottom: 4px;
}

.quick-btn small {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--gray-600);
}

.app-task-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-task {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 500;
}

.app-task i {
  font-size: 0.7rem;
  flex-shrink: 0;
}
.app-task small {
  margin-left: auto;
  color: var(--gray-500);
  white-space: nowrap;
}

.mobile-content {
  padding-left: 2rem;
}

.mobile-features {
  list-style: none;
  padding: 0;
}

.mobile-features li {
  padding: 6px 0;
  font-size: 0.95rem;
  color: var(--gray-600);
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--dark);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.3s ease;
}

.app-store-badge:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.app-store-badge i {
  font-size: 1.4rem;
}
.app-store-badge small {
  font-size: 0.65rem;
  display: block;
  opacity: 0.8;
}
.app-store-badge strong {
  font-size: 0.9rem;
}

/* ==================== FAQ ==================== */
.faq-section {
  background: white;
}

.accordion-item {
  border: 1px solid var(--gray-200) !important;
  border-radius: var(--radius-md) !important;
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion-button {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-navy);
  padding: 1.2rem 1.5rem;
  background: white;
}

.accordion-button:not(.collapsed) {
  background: rgba(var(--primary-rgb), 0.05);
  color: var(--primary-cyan);
  box-shadow: none;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2323C4B6' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-body {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
  padding: 0 1.5rem 1.2rem;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
  background: var(--gradient-dark);
}

.cta-box {
  padding: 3rem;
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.15),
    rgba(var(--highlight-bright-rgb), 0.1)
  );
  border-radius: var(--radius-xl);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
    circle,
    rgba(var(--primary-rgb), 0.1) 2px,
    transparent 2px
  );
  background-size: 25px 25px;
  pointer-events: none;
}

.cta-box h2 {
  color: var(--dark);
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.cta-box p {
  width: 80%;
  color: var(--gray-400);
  font-size: 1.1rem;
}

.cta-input {
  max-width: 350px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 0.95rem;
}

.cta-input::placeholder {
  color: var(--gray-400);
}

.cta-input:focus {
  border-color: var(--primary-cyan);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
}

.btn-cta {
  background: var(--gradient-primary);
  color: white;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-md);
  padding: 14px 28px;
  white-space: nowrap;
}

.btn-cta:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.4);
}

.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--highlight));
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 22px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
  position: relative;
  overflow: hidden;
}

.btn-read-more::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.btn-read-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.4);
  color: #fff;
}

.btn-read-more:hover::before {
  left: 100%;
}

.btn-read-more i {
  transition: transform 0.3s ease;
}

.btn-read-more:hover i {
  transform: translateX(4px);
}

/* ==================== FOOTER ==================== */
.footer-section {
  background: var(--dark);
  padding-top: 5rem;
  color: var(--gray-400);
  position: relative;
  overflow: hidden;
}

/* Footer wave top */
.footer-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  line-height: 0;
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: 50px;
}

/* Footer grid pattern */
.footer-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(var(--primary-rgb), 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--primary-rgb), 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

/* Footer glow circles */
.footer-section::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(var(--primary-rgb), 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.footer-glow-right {
  position: absolute;
  top: -50px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(var(--highlight-bright-rgb), 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--on-dark-muted);
  max-width: 320px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--on-dark-muted);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-on-dark);
  color: var(--dark);
  transform: translateY(-2px);
}

.footer-heading {
  color: white;
  font-weight: 700;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  padding: 4px 0;
}

.footer-links a {
  color: var(--on-dark-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-on-dark);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1.5rem;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--on-dark-muted);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--on-dark-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom-links a:hover {
  color: var(--primary-on-dark);
}

.footer-bottom-links span {
  color: var(--on-dark-faint);
  font-size: 0.8rem;
}

.footer-bottom a {
  text-decoration: none;
}

/* ==================== CLAIM VS RECORD ==================== */
/* Each row is a 3D flip: the vague claim on the front, the recorded fact on
   the back. Rows auto-flip in sequence when the section scrolls into view,
   and stay interactive so a visitor can flip any row back and forth. */
.proof-section {
  background: var(--bg-light);
}

/* the tall wrapper is the scroll runway; the sticky child stays on screen
   while the rows step through it */
.proof-scroll {
  height: calc(100vh + (var(--steps) - 1) * 58vh);
}

.proof-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 0;
}

/* rows reveal one at a time as the section scrolls */
.proof-row {
  opacity: 0.45;
  transition: opacity 0.35s ease;
}

.proof-row.is-seen {
  opacity: 1;
}

.proof-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.proof-key {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 100px;
}

.proof-key--said {
  color: var(--gray-600);
  background: var(--white);
  border: 1px solid var(--gray-200);
}

.proof-key--real {
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.09);
  border: 1px solid rgba(var(--primary-rgb), 0.25);
}

.proof-key-arrow {
  color: var(--gray-400);
  font-size: 0.9rem;
}

.proof-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 780px;
  margin: 0 auto;
  /* room for the 3px nudge on the active row, so it cannot overflow the track */
  padding-right: 4px;
}

/* the row is a button so it is keyboard reachable and announces itself */
.proof-row {
  appearance: none;
  border: 0;
  padding: 0;
  background: none;
  display: block;
  width: 100%;
  cursor: pointer;
  border-radius: var(--radius-md);
}

.proof-row:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.proof-face {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  text-align: left;
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.proof-face > i {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.1);
}

.proof-text {
  min-width: 0;
}

.proof-text b {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-navy);
  margin-bottom: 2px;
}

.proof-text span {
  display: block;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--gray-500);
}

.proof-meta {
  margin-left: auto;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.09);
  padding: 7px 14px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}

.proof-row.is-active .proof-face {
  border-color: var(--primary);
  box-shadow: 0 14px 34px rgba(var(--primary-rgb), 0.2);
  transform: translateX(3px);
}

.proof-foot {
  max-width: 620px;
  margin: 2rem auto 0;
  text-align: center;
  color: var(--gray-500);
  font-size: 0.95rem;
}

@media (max-width: 575px) {
  .proof-face {
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .proof-meta {
    margin-left: 52px;
  }
}

/* ---- two columns: benefits on the left, the matching screen on the right ---- */
.proof-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: start;
}

.proof-grid .proof-stack {
  max-width: none;
  margin: 0;
}

.proof-preview {
  position: sticky;
  top: 110px;
}

.proof-preview__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.proof-shot {
  position: absolute;
  inset: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  object-fit: contain;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.proof-shot.is-on {
  opacity: 1;
  transform: none;
}

.proof-preview__cap {
  margin: 14px 4px 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--gray-500);
  min-height: 2.6em;
}

/* Short viewports: the pinned block must never be taller than the screen, or
   the last rows get cut off with no way to scroll to them. Tighten spacing
   rather than unpinning, so the scroll-through still works on a laptop. */
@media (min-width: 992px) and (max-height: 900px) {
  .proof-sticky {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .proof-section .section-header {
    margin-bottom: 1.5rem !important;
  }

  .proof-stack {
    gap: 9px;
  }

  .proof-face {
    padding: 12px 18px;
  }

  .proof-face > i {
    width: 34px;
    height: 34px;
  }

  .proof-preview__cap {
    margin-top: 10px;
    min-height: 2.2em;
  }
}

/* Shorter still (small laptops, browser with many toolbars): drop the pin
   entirely — a cut-off section is worse than a static one. */
@media (min-width: 992px) and (max-height: 660px) {
  .proof-scroll {
    height: auto;
  }

  .proof-sticky {
    position: static;
    min-height: 0;
  }

  .proof-row {
    opacity: 1;
  }

  .proof-preview {
    position: static;
  }
}

@media (max-width: 991px) {
  /* no pin on small screens: the stacked content is taller than the viewport,
     so sticky would trap the scroll instead of stepping through it */
  .proof-scroll {
    height: auto;
  }

  .proof-sticky {
    position: static;
    min-height: 0;
    padding: 3.5rem 0;
  }

  .proof-row {
    opacity: 1;
  }

  .proof-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* image first on small screens, so a tap on a row has somewhere to land */
  .proof-preview {
    position: static;
    order: -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .proof-shot {
    transition: none;
  }

  .proof-scroll {
    height: auto;
  }

  .proof-sticky {
    position: static;
    min-height: 0;
  }

  .proof-row {
    opacity: 1;
  }
}

/* ==================== CAPABILITY SECTIONS ==================== */
/* Five sections sharing a numbered spine, each with its own visual device.
   Alternating sides keep the run from reading as five identical rows. */
.cap-run {
  position: relative;
}

.cap-sec {
  padding: 4.5rem 0;
  position: relative;
}

.cap-sec:nth-child(odd) {
  background: var(--white);
}

.cap-sec:nth-child(even) {
  background: var(--bg-light);
}

.cap-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}

.cap-sec--flip .cap-copy {
  order: 2;
}

.cap-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.cap-num {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(var(--primary-rgb), 0.35);
}

.cap-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 6px 13px;
  border-radius: 100px;
  background: rgba(var(--primary-rgb), 0.09);
}

.cap-title {
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.cap-lead {
  color: var(--gray-500);
  font-size: 1rem;
  max-width: 46ch;
  margin-bottom: 1.5rem;
}

.cap-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 13px;
}

.cap-list li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}

.cap-list i {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.1);
}

.cap-list b {
  display: block;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-navy);
  margin-bottom: 2px;
}

.cap-list span {
  display: block;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--gray-500);
}

/* ---- shared art frame ---- */
.cap-art {
  display: flex;
  align-items: center;
  justify-content: center;
}

.art {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cap-sec:nth-child(odd) .art {
  background: var(--bg-light);
}

/* ---- 01 proof stack ---- */
.art-door {
  width: 108px;
  height: 150px;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, #e6e9f5, #d9ddee);
  border: 2px solid #c7cce3;
  position: relative;
}

.art-door-num {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gray-600);
}

.art-door-slot {
  position: absolute;
  top: 62px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 9px;
  border-radius: 3px;
  background: #b9bfd6;
}

.art-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 100px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-navy);
  opacity: 0;
  animation: art-chip-in 6s ease-in-out infinite;
}

.art-chip i {
  color: var(--primary);
  font-size: 0.7rem;
}

.art-chip--1 { top: 24%; left: 6%; animation-delay: 0.2s; }
.art-chip--2 { top: 50%; right: 5%; animation-delay: 1.4s; }
.art-chip--3 { bottom: 16%; left: 12%; animation-delay: 2.6s; }
.art-chip--3 i { color: var(--success); }

@keyframes art-chip-in {
  0%, 4% { opacity: 0; transform: translateY(8px); }
  12%, 62% { opacity: 1; transform: none; }
  74%, 100% { opacity: 0; transform: translateY(-6px); }
}

.art-pulse {
  position: absolute;
  bottom: 22%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  animation: art-pulse 2.6s ease-out infinite;
}

@keyframes art-pulse {
  0% { transform: scale(0.5); opacity: 0.75; }
  100% { transform: scale(3.4); opacity: 0; }
}

/* ---- 02 route line ---- */
.art--route svg {
  width: 86%;
  height: 86%;
}

.art-road {
  fill: none;
  stroke: var(--gray-200);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.art-draw {
  fill: none;
  stroke: var(--primary);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 460;
  stroke-dashoffset: 460;
  animation: art-draw 5s ease-in-out infinite;
}

@keyframes art-draw {
  0%, 6% { stroke-dashoffset: 460; }
  60%, 90% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 460; }
}

.art-stop {
  fill: var(--white);
  stroke: var(--primary);
  stroke-width: 3;
  opacity: 0;
  animation: art-stop-in 5s ease-in-out infinite;
  animation-delay: var(--d);
}

@keyframes art-stop-in {
  0%, 8% { opacity: 0; }
  20%, 92% { opacity: 1; }
  100% { opacity: 0; }
}

.art-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  padding: 6px 12px;
  border-radius: 100px;
}

/* ---- 03 geofence ---- */
.art--fence { flex-direction: column; gap: 0; }

.art-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px dashed rgba(var(--primary-rgb), 0.4);
  animation: art-ring 3.4s ease-out infinite;
}

.art-ring--1 { width: 90px; height: 90px; animation-delay: 0s; }
.art-ring--2 { width: 90px; height: 90px; animation-delay: 1.1s; }
.art-ring--3 { width: 90px; height: 90px; animation-delay: 2.2s; }

@keyframes art-ring {
  0% { transform: scale(0.7); opacity: 0.75; }
  100% { transform: scale(2.6); opacity: 0; }
}

.art-office {
  width: 74px;
  height: 74px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary);
  position: relative;
  z-index: 1;
}

.art-tick {
  position: absolute;
  z-index: 2;
  top: calc(50% + 14px);
  left: calc(50% + 18px);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--success);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  box-shadow: var(--shadow-sm);
  animation: art-tick 3.4s ease-in-out infinite;
}

@keyframes art-tick {
  0%, 22% { transform: scale(0); opacity: 0; }
  34%, 84% { transform: scale(1); opacity: 1; }
  96%, 100% { transform: scale(1); opacity: 0; }
}

.art-label {
  position: absolute;
  bottom: 16px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--success);
  background: rgba(34, 197, 94, 0.12);
  padding: 6px 13px;
  border-radius: 100px;
}

/* ---- 04 payslip ---- */
.art--slip { flex-direction: column; padding: 24px; align-items: stretch; justify-content: center; }

.art-slip-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-navy);
  padding-bottom: 11px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 6px;
}

.art-slip-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  font-size: 0.84rem;
  color: var(--gray-500);
  border-bottom: 1px dashed var(--gray-200);
  opacity: 0;
  animation: art-slip-in 5.5s ease-in-out infinite;
  animation-delay: calc(var(--k) * 0.45s);
}

.art-slip-line b { color: var(--text-navy); font-weight: 700; }

@keyframes art-slip-in {
  0%, 6% { opacity: 0; transform: translateX(-10px); }
  18%, 88% { opacity: 1; transform: none; }
  100% { opacity: 0; }
}

.art-slip-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 2px solid var(--gray-200);
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--text-navy);
}

.art-slip-total i { color: var(--success); font-size: 1.05rem; }

/* ---- 05 chart wall ---- */
.art--charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  padding: 20px;
  align-items: stretch;
}

.art-tile {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.art-tile--line { grid-column: 1 / -1; }

.art-tile--line svg { width: 100%; height: 100%; }

.art-spark {
  fill: none;
  stroke: var(--primary);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: art-spark 4.5s ease-in-out infinite;
}

@keyframes art-spark {
  0%, 8% { stroke-dashoffset: 220; }
  62%, 92% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 220; }
}

.art-donut {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: conic-gradient(var(--primary) 0 45%, var(--highlight) 45% 72%, var(--secondary) 72% 86%, var(--gray-200) 86% 100%);
  position: relative;
}

.art-donut::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: var(--white);
}

.art-tile--bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 14px;
}

.art-tile--bars span {
  flex: 1;
  height: var(--h);
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--primary-bright), var(--primary));
  transform-origin: bottom;
  animation: art-bar 3.6s ease-in-out infinite;
}

.art-tile--bars span:nth-child(2) { animation-delay: 0.15s; }
.art-tile--bars span:nth-child(3) { animation-delay: 0.3s; }
.art-tile--bars span:nth-child(4) { animation-delay: 0.45s; }

@keyframes art-bar {
  0% { transform: scaleY(0.2); }
  45%, 85% { transform: scaleY(1); }
  100% { transform: scaleY(0.2); }
}

/* ---- responsive ---- */
@media (max-width: 991px) {
  .cap-sec { padding: 3.2rem 0; }

  .cap-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* art always follows the copy once stacked, whichever side it was on */
  .cap-sec--flip .cap-copy { order: 0; }

  .art { max-width: 380px; }
}

@media (prefers-reduced-motion: reduce) {
  .art-chip,
  .art-pulse,
  .art-draw,
  .art-stop,
  .art-ring,
  .art-tick,
  .art-slip-line,
  .art-spark,
  .art-tile--bars span {
    animation: none;
  }

  .art-chip,
  .art-stop,
  .art-tick,
  .art-slip-line { opacity: 1; }

  .art-draw,
  .art-spark { stroke-dashoffset: 0; }

  .art-tile--bars span { transform: none; }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .navbar-collapse {
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
  }

  .nav-buttons {
    margin-top: 1rem;
    flex-direction: column;
  }

  .hero-image-wrapper {
    margin-top: 3rem;
  }

  .hero-img {
    width: 100%;
    max-width: 100%;
    transform: none;
  }

  .hero-section:hover .hero-img {
    transform: scale(1.01);
  }

  .hero-platform-badges {
    gap: 8px;
  }

  .hero-platform-badges .platform-badge {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .hero-platform-badges .platform-badge i {
    font-size: 1rem;
  }

  .hero-platform-badges .platform-badge span {
    font-size: 0.8rem;
  }

  .floating-card {
    display: none;
  }

  .pricing-card.popular {
    transform: scale(1);
  }

  .pricing-card.popular:hover {
    transform: translateY(-6px);
  }

  .mobile-content {
    padding-left: 0;
    margin-top: 2rem;
  }

  .feature-image-box {
    padding: 10px;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-platform-badges .platform-badge span {
    font-size: 0.5rem;
  }
  .hero-platform-badges {
    bottom: -20px;
  }
  .hero-image-wrapper {
    padding: unset;
  }

  .py-6 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .hero-section {
    padding-top: 70px;
    min-height: auto;
    padding-bottom: 3rem;
  }

  .hero-stats {
    gap: 2rem !important;
  }

  .stat-number {
    font-size: 1.4rem;
  }

  .task-columns {
    flex-direction: column;
  }

  .expense-chart-area {
    flex-direction: column;
  }

  .cta-form {
    flex-direction: column;
    align-items: center;
  }

  .cta-input {
    max-width: 100%;
    width: 100%;
  }

  .cta-box {
    padding: 2rem 1.5rem;
  }

  .cta-box h2 {
    font-size: 1.6rem;
  }

  .app-badges {
    flex-direction: column;
  }

  .stat-box h3,
  .stat-box .stat-uptime {
    font-size: clamp(1.4rem, 1rem + 2.4vw, 2rem);
  }

  /* 2rem padding each side left only 92px of a 156px tile for the figure */
  .stat-box {
    padding: 1.5rem 0.75rem;
  }

  .phone-frame {
    width: 250px;
  }
}

@media (max-width: 575px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .mockup-stat-row {
    flex-wrap: wrap;
  }

  .mockup-stat-card {
    min-width: calc(50% - 5px);
  }

  .price {
    font-size: 2.5rem;
  }
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Letter spacing utility */
.letter-spacing-2 {
  letter-spacing: 2px;
}

/* ==================== PAGE HERO (Inner Pages) ==================== */
.page-hero {
  background: linear-gradient(135deg, #e0f2fe 0%, #f3edfd 50%, #faf0fb 100%);
  padding: 160px 0 120px;
  position: relative;
  overflow: hidden;
}

.page-hero-angle {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.06);
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(var(--highlight-bright-rgb), 0.05);
}

.page-hero .hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-hero .hero-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ==================== CONTACT HERO (iZPay style) ==================== */
.contact-hero {
  background: linear-gradient(135deg, #e0f2fe 0%, #f3edfd 50%, #faf0fb 100%);
  padding: 160px 0 120px;
  position: relative;
  overflow: hidden;
}

.contact-hero-angle {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.contact-hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--text-navy);
  letter-spacing: 3px;
  margin-bottom: 1rem;
}

.contact-hero-subtitle {
  font-size: 1.15rem;
  color: var(--gray-500);
  max-width: 500px;
  line-height: 1.7;
}

/* Decorative dot patterns (halftone circles) */
.hero-dots {
  position: absolute;
  border-radius: 50%;
  background-image: radial-gradient(
    circle,
    rgba(var(--primary-rgb), 0.25) 2px,
    transparent 2px
  );
  background-size: 14px 14px;
}

.hero-dots-left {
  width: 300px;
  height: 300px;
  top: 20px;
  left: -60px;
}

.hero-dots-right {
  width: 350px;
  height: 350px;
  top: -40px;
  right: -80px;
  background-image: radial-gradient(
    circle,
    rgba(var(--highlight-bright-rgb), 0.2) 2px,
    transparent 2px
  );
  background-size: 16px 16px;
}

.hero-dots-bottom {
  width: 250px;
  height: 250px;
  bottom: 40px;
  left: 30%;
  background-image: radial-gradient(
    circle,
    rgba(var(--accent-bright-rgb), 0.15) 1.5px,
    transparent 1.5px
  );
  background-size: 12px 12px;
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
  padding: 5rem 0 4rem;
  background: var(--white);
}

.contact-info-block {
  padding-right: 2rem;
}

.contact-info-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-navy);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.contact-info-desc {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* Contact detail items */
.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.contact-detail-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary-cyan);
  transition: all 0.3s ease;
}

.contact-detail-icon.icon-orange {
  background: rgba(var(--accent-bright-rgb), 0.1);
  color: var(--secondary-orange);
}

.contact-detail-icon.icon-blue {
  background: rgba(var(--highlight-bright-rgb), 0.1);
  color: var(--highlight-blue);
}

.contact-detail-item:hover .contact-detail-icon {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.contact-detail-text h6 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-navy);
  margin-bottom: 0.2rem;
}

.contact-detail-text a {
  color: var(--primary-cyan);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-detail-text a:hover {
  color: var(--highlight-blue);
}

.contact-detail-text span {
  color: var(--text-navy);
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-detail-text p {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin: 0.2rem 0 0;
}

/* Social links */
.contact-social {
  display: flex;
  gap: 0.8rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}

.contact-social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-navy);
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-social-link:hover {
  background: var(--gradient-primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

/* Contact form card */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-200);
  position: relative;
}

.contact-form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.contact-form-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-navy);
  margin-bottom: 0.3rem;
}

.contact-form-desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 1.8rem;
}

.contact-submit-btn {
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
}

.contact-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.35);
}

/* Map section */
.contact-map-section {
  padding: 0 0 5rem;
  background: var(--white);
}

.contact-map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

/* ==================== FEATURE CARDS (CodePen Style) ==================== */
.fcard {
  background: var(--white);
  border-radius: 1.5rem;
  position: relative;
  /* match the portrait feature art (497x622) so object-fit:cover has nothing
     to crop - a fixed 22rem height cut ~32% off the top and bottom */
  aspect-ratio: 497 / 622;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.fcard:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.fcard-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.fcard-box {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
}

.fcard-imgbox {
  position: absolute;
  inset: 0;
}

.fcard-imgbox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.5rem;
  transition: transform 0.5s ease;

  background-color: #d9d9d9;
}

/* Placeholder cards (no image yet) */
.fcard-box.fcard-placeholder {
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fcard-box.fcard-placeholder > i {
  font-size: 3.5rem;
  color: var(--gray-300);
}

/* Arrow button - top right with curved cutout */
.fcard-arrow {
  position: absolute;
  top: -6px;
  right: 0;
  display: flex;
  align-items: center;
  background: var(--white);
  padding: 10px 0 10px 10px;
  border-bottom-left-radius: 1rem;
  z-index: 3;
}

.fcard-arrow::before {
  content: "";
  position: absolute;
  top: 6px;
  left: -19px;
  background: transparent;
  width: 20px;
  height: 20px;
  border-bottom-right-radius: 2rem;
  box-shadow: 5px 5px 0px 5px var(--white);
  transform: rotate(-90deg);
}

.fcard-arrow::after {
  content: "";
  position: absolute;
  bottom: -19px;
  right: -1px;
  background: transparent;
  width: 20px;
  height: 20px;
  border-bottom-right-radius: 1rem;
  box-shadow: 5px 5px 0px 5px var(--white);
  transform: rotate(-90deg);
}

.fcard-arrow a {
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid var(--gray-300);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  text-decoration: none;
  color: var(--text-navy);
}

.fcard-arrow svg {
  width: 17px;
  color: inherit;
  transition: transform 0.3s ease;
}

.fcard:hover .fcard-arrow a {
  background: var(--text-navy);
  border-color: var(--text-navy);
  color: white;
}

.fcard:hover .fcard-arrow svg {
  transform: rotate(45deg);
}

/* Tag - bottom left with curved cutout */
.fcard-tag {
  position: absolute;
  bottom: -6px;
  left: 0;
  display: flex;
  align-items: center;
  background: var(--white);
  padding: 10px 10px 10px 0;
  border-top-right-radius: 1rem;
  z-index: 3;
}

.fcard-tag::before {
  content: "";
  position: absolute;
  top: -19px;
  left: 0;
  background: transparent;
  width: 20px;
  height: 20px;
  border-bottom-right-radius: 2rem;
  box-shadow: 5px 5px 0px 5px var(--white);
  transform: rotate(90deg);
}

.fcard-tag::after {
  content: "";
  position: absolute;
  bottom: 6px;
  right: -19px;
  background: transparent;
  width: 20px;
  height: 20px;
  border-bottom-right-radius: 1rem;
  box-shadow: 5px 5px 0px 5px var(--white);
  transform: rotate(90deg);
}

.fcard-tag a {
  font-size: 0.8rem;
  color: var(--text-navy);
  font-weight: 500;
  border: 2px solid var(--gray-300);
  border-radius: 50px;
  padding: 5px 14px;
  display: inline-block;
  text-decoration: none;
  transition: all 0.2s ease;
}

.fcard:hover .fcard-tag a {
  color: white;
  background: var(--text-navy);
  border-color: var(--text-navy);
}

/* Browser dots - top left with curved cutout */
.fcard-dots {
  position: absolute;
  top: -6px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--white);
  padding: 12px 14px 12px 12px;
  border-bottom-right-radius: 1rem;
  z-index: 3;
}

.fcard-dots::before {
  content: "";
  position: absolute;
  top: 6px;
  right: -19px;
  background: transparent;
  width: 20px;
  height: 20px;
  border-bottom-left-radius: 2rem;
  box-shadow: -5px 5px 0px 5px var(--white);
  transform: rotate(90deg);
}

.fcard-dots::after {
  content: "";
  position: absolute;
  bottom: -19px;
  left: -1px;
  background: transparent;
  width: 20px;
  height: 20px;
  border-bottom-left-radius: 1rem;
  box-shadow: -5px 5px 0px 5px var(--white);
  transform: rotate(90deg);
}

.fcard-dots span {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  display: block;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.fcard-dots span:nth-child(1) {
  background: #ff5f57;
}
.fcard-dots span:nth-child(2) {
  background: #ffbd2e;
}
.fcard-dots span:nth-child(3) {
  background: var(--success-bright);
}

@media (max-width: 767px) {
  .fcard {
    aspect-ratio: 497 / 622;
  }
}

/* ==================== FEATURE CARD MINI (Home & Features grid) ==================== */
.feature-card-mini {
  background-color: #ffffff;
  /* background-image: radial-gradient(circle, #e2e8f0 1px, transparent 1px); */
  background-image: repeating-linear-gradient(
    45deg,
    #e2e8f0,
    #e2e8f0 1px,
    transparent 1px,
    transparent 10px
  );

  background-size: 20px 20px;
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.feature-card-mini:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.feature-card-mini .feature-icon-box {
  margin-bottom: 1.2rem;
}

/* Anchor wrapper around a .feature-card-mini (related-feature cards).
   The card keeps its own hover; the link only strips text styling and
   carries the focus ring for keyboard users. */
.feature-card-link {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-lg);
}

.feature-card-link:hover,
.feature-card-link:focus-visible {
  color: inherit;
  text-decoration: none;
}

.feature-card-link:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.feature-card-link .feature-card-mini::after {
  content: "061"; /* fa-arrow-right */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 1.25rem;
  bottom: 1.15rem;
  font-size: 0.8rem;
  color: var(--primary);
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.3s ease;
}

.feature-card-link:hover .feature-card-mini::after,
.feature-card-link:focus-visible .feature-card-mini::after {
  opacity: 1;
  transform: translateX(0);
}

.feature-card-mini h5 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card-mini p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.6;
}

/* ==================== ABOUT PAGE ==================== */

.about-image-box {
  padding: 20px;
  overflow: hidden;
}

.about-visual {
  background: var(--bg-light);
  border-radius: var(--radius-xl);
  padding: 3rem;
  border: 1px solid var(--gray-200);
}

.visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.visual-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.visual-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.visual-card i {
  font-size: 1.5rem;
  color: var(--primary-cyan);
  display: block;
  margin-bottom: 0.5rem;
}

.visual-card span {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-navy);
  display: block;
}

.visual-card small {
  font-size: 0.8rem;
  color: var(--gray-500);
  font-weight: 500;
}

.v-card-2 i {
  color: var(--secondary-orange);
}
.v-card-3 i {
  color: var(--highlight-blue);
}
.v-card-4 i {
  color: #d94a4a;
}

/* Value Cards */
.value-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  transition:
    transform 0.1s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(var(--primary-rgb), 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  transform: translate(-50%, -50%);
  top: var(--mouse-y, 50%);
  left: var(--mouse-x, 50%);
}

.value-card:hover::before {
  opacity: 1;
}

.value-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--primary-rgb), 0.3);
}

.value-icon {
  width: 56px;
  height: 56px;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary-cyan);
  margin-bottom: 1.2rem;
}

.value-icon.icon-orange {
  background: rgba(var(--accent-bright-rgb), 0.1);
  color: var(--secondary-orange);
}
.value-icon.icon-blue {
  background: rgba(var(--highlight-bright-rgb), 0.1);
  color: var(--highlight-blue);
}
.value-icon.icon-green {
  background: rgba(var(--success-rgb), 0.1);
  color: var(--success);
}
.value-icon.icon-purple {
  background: rgba(45, 212, 191, 0.1);
  color: #2dd4bf;
}
.value-icon.icon-cyan {
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-cyan);
}

.value-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin: 0;
}

/* Team Cards */
.team-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-200);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto;
}

.team-avatar.bg-orange {
  background: var(--gradient-warm);
}
.team-avatar.bg-blue {
  background: linear-gradient(135deg, var(--highlight), #115e59);
}
.team-avatar.bg-green {
  background: linear-gradient(135deg, #158f38, #10702c);
}

.team-role {
  font-size: 0.85rem;
  color: var(--primary-cyan);
  font-weight: 600;
}

.team-desc {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 0.8rem;
  line-height: 1.6;
}

.team-social {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.team-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.team-social a:hover {
  background: var(--primary-cyan);
  color: white;
}

/* ==================== CONTACT PAGE ==================== */
/* Contact Form Inputs */
.contact-input {
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: var(--gray-100);
}

select.contact-input {
  appearance: auto;
}

.contact-input:focus {
  border-color: var(--primary-cyan);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
  background: var(--white);
}

.contact-input.is-valid {
  border-color: var(--success);
}

.contact-input.is-invalid {
  border-color: #ff5f57;
}

.contact-input.is-valid:focus {
  box-shadow: 0 0 0 3px rgba(var(--success-rgb), 0.1);
}

.contact-input.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(255, 95, 87, 0.1);
}

.invalid-feedback {
  font-size: 0.8rem;
}

.g-recaptcha {
  transform: scale(0.95);
  transform-origin: 0 0;
}

.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-navy);
  margin-bottom: 0.4rem;
}

/* Alert styles */
.alert {
  border-radius: var(--radius-md);
  border: none;
  font-size: 0.95rem;
}

.alert-success {
  background: rgba(var(--success-rgb), 0.1);
  color: var(--success);
}

.alert-danger {
  background: rgba(255, 95, 87, 0.1);
  color: #ff5f57;
}

/* ==================== COMPARISON TABLE ==================== */
.comparison-table {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.comparison-table thead th {
  background: var(--dark);
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 1rem 1.2rem;
  border: none;
  vertical-align: middle;
}

.comparison-table thead th.popular-col {
  background: var(--primary-cyan);
}

.comparison-table tbody td {
  padding: 0.8rem 1.2rem;
  font-size: 0.9rem;
  color: var(--gray-600);
  border-color: var(--gray-200);
  vertical-align: middle;
}

.comparison-table tbody td.popular-col {
  background: rgba(var(--primary-rgb), 0.04);
}

.comparison-table .category-row td {
  background: var(--bg-light);
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
}

.comparison-table .category-row td strong {
  color: var(--text-navy);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comparison-table .fa-check {
  font-size: 0.9rem;
}

.comparison-table .fa-times {
  font-size: 0.85rem;
}

/* ==================== RESPONSIVE (new pages) ==================== */
@media (max-width: 991px) {
  .page-hero {
    padding: 130px 0 60px;
  }

  .navbar-nav .fa-chevron-down {
    position: absolute;
    right: 10px;
    top: 20px;
  }

  .page-hero .hero-title {
    font-size: 2.2rem;
  }

  .contact-hero {
    padding: 130px 0 100px;
  }

  .contact-hero-title {
    font-size: 2.5rem;
  }

  .contact-info-block {
    padding-right: 0;
    margin-bottom: 2rem;
  }

  .contact-form-card {
    padding: 2rem;
  }
}

@media (max-width: 991px) and (min-width: 771px) {
  .hero-section {
    padding-top: 50px;
  }
}

@media (max-width: 767px) {
  .page-hero {
    padding: 110px 0 50px;
  }

  .hero-section .col-lg-5 {
    margin-top: 35px !important;
  }

  .page-hero .hero-title {
    font-size: 1.8rem;
  }

  .visual-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .contact-hero {
    padding: 110px 0 80px;
  }

  .contact-hero-title {
    font-size: 2rem;
    letter-spacing: 1px;
  }

  .hero-dots-left {
    width: 180px;
    height: 180px;
  }

  .hero-dots-right {
    width: 200px;
    height: 200px;
  }

  .hero-dots-bottom {
    display: none;
  }

  .contact-form-card {
    padding: 1.5rem;
  }

  .contact-section {
    padding: 3rem 0;
  }
}

/* ==================== PAYMENT STATUS PAGES ==================== */
.payment-status-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
  background: var(--bg-light);
}

.payment-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

/* Animated Checkmark */
.payment-icon {
  margin-bottom: 1.5rem;
}

.icon-circle {
  width: 90px;
  height: 90px;
  margin: 0 auto;
}

.checkmark-svg {
  width: 90px;
  height: 90px;
}

.checkmark-circle {
  stroke: var(--success-bright);
  stroke-width: 2;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: strokeCircle 0.6s ease-in-out forwards;
}

.checkmark-check {
  stroke: var(--success-bright);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: strokeCheck 0.4s 0.4s ease-in-out forwards;
}

@keyframes strokeCircle {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes strokeCheck {
  to {
    stroke-dashoffset: 0;
  }
}

/* Animated Crossmark */
.crossmark-svg {
  width: 90px;
  height: 90px;
}

.crossmark-circle {
  stroke: #ff5f57;
  stroke-width: 2;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: strokeCircle 0.6s ease-in-out forwards;
}

.crossmark-x {
  stroke: #ff5f57;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 29;
  stroke-dashoffset: 29;
  animation: strokeCheck 0.3s 0.5s ease-in-out forwards;
}

.payment-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.success-text {
  color: var(--success);
}
.failed-text {
  color: #ff5f57;
}

.payment-desc {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Order/Error Details */
.payment-details {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.9rem;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-row span:first-child {
  color: var(--gray-500);
}

.detail-row strong {
  color: var(--text-navy);
}

.status-badge {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}

.status-success {
  background: rgba(var(--success-rgb), 0.1);
  color: var(--success);
}

.status-failed {
  background: rgba(255, 95, 87, 0.1);
  color: #ff5f57;
}

/* What's Next Steps */
.payment-next {
  margin-bottom: 1.5rem;
}

.payment-next h6 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-navy);
  margin-bottom: 1rem;
}

.next-steps {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.next-step {
  flex: 1;
  text-align: center;
}

.next-num {
  width: 32px;
  height: 32px;
  background: var(--gradient-primary);
  border-radius: 50%;
  color: white;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
}

.next-step p {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.4;
}

/* Failure Reasons */
.payment-reasons {
  text-align: left;
  margin-bottom: 1.5rem;
}

.payment-reasons h6 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-navy);
  margin-bottom: 0.8rem;
}

.payment-reasons ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.payment-reasons li {
  font-size: 0.88rem;
  color: var(--gray-600);
  padding: 6px 0;
  display: flex;
  align-items: center;
}

.payment-reasons li i {
  color: var(--gray-400);
  width: 20px;
  flex-shrink: 0;
}

/* Actions */
.payment-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 1.5rem;
}

.payment-actions .btn-lg {
  min-width: 250px;
}

.payment-receipt {
  font-size: 0.8rem;
  color: var(--gray-400);
  line-height: 1.6;
  margin: 0;
}

.payment-receipt a {
  color: var(--primary-cyan);
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 575px) {
  .payment-card {
    padding: 2rem 1.5rem;
  }

  .payment-title {
    font-size: 1.5rem;
  }

  .next-steps {
    flex-direction: column;
    gap: 0.5rem;
  }

  .next-step {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
  }

  .next-num {
    margin: 0;
    flex-shrink: 0;
  }
}

/* ==================== PRIVACY POLICY PAGE ==================== */
.privacy-toc {
  position: sticky;
  top: 100px;
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.toc-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-navy);
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--gray-200);
}

.toc-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toc-link {
  font-size: 0.85rem;
  color: var(--gray-500);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}

.toc-link:hover {
  color: var(--primary-cyan);
  background: rgba(var(--primary-rgb), 0.05);
}

.toc-link.active {
  color: var(--primary-cyan);
  background: rgba(var(--primary-rgb), 0.08);
  border-left-color: var(--primary-cyan);
  font-weight: 600;
}

.privacy-meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.privacy-meta span {
  font-size: 0.85rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
}

.privacy-meta i {
  color: var(--primary-cyan);
}

.privacy-content {
  max-width: 800px;
}

.privacy-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--gray-200);
}

.privacy-section:last-child {
  border-bottom: none;
}

.privacy-section h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-navy);
  margin-bottom: 1rem;
}

.privacy-section h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-navy);
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
}

.privacy-section p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 0.8rem;
}

.privacy-section ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.privacy-section ul li {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 0.3rem;
}

.privacy-section a {
  color: var(--primary-cyan);
  font-weight: 600;
}

.privacy-notice {
  background: rgba(var(--primary-rgb), 0.06);
  border-left: 4px solid var(--primary-cyan);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.2rem;
  margin: 1rem 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.privacy-notice i {
  color: var(--primary-cyan);
  font-size: 1.1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.privacy-notice p {
  margin: 0;
  font-size: 0.9rem;
}

.privacy-use-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  height: 100%;
  border: 1px solid var(--gray-200);
}

.privacy-use-card h6 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-navy);
  margin-bottom: 0.5rem;
}

.privacy-use-card h6 i {
  color: var(--primary-cyan);
}

.privacy-use-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin: 0;
}

.privacy-table {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  margin: 1rem 0;
}

.privacy-table thead th {
  background: var(--dark);
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.8rem 1rem;
  border: none;
}

.privacy-table tbody td {
  font-size: 0.9rem;
  color: var(--gray-600);
  padding: 0.8rem 1rem;
  border-color: var(--gray-200);
  vertical-align: top;
}

.privacy-right-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 1rem;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  height: 100%;
}

.privacy-right-card i {
  color: var(--primary-cyan);
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.privacy-right-card strong {
  font-size: 0.9rem;
  display: block;
  margin-bottom: 3px;
  color: var(--text-navy);
}

.privacy-right-card p {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.5;
}

.privacy-contact-box {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--gray-200);
  margin-top: 1rem;
}

.privacy-contact-box h6 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-navy);
  margin-bottom: 0.5rem;
}

.privacy-contact-box h6 i {
  color: var(--primary-cyan);
}

.privacy-contact-box p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
}

@media (max-width: 767px) {
  .privacy-section h3 {
    font-size: 1.3rem;
  }
}

/* ==================== LEFT VERTICAL PAGE NAME ==================== */
.page-name-vertical {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 40px;
  z-index: 999;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-name-vertical span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray-500);
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

@media (max-width: 991px) {
  .page-name-vertical {
    display: none;
  }
}

/* ==================== SCROLL CAR TRACKER ==================== */
.scroll-car-tracker {
  position: fixed;
  right: 10px;
  top: 80px;
  bottom: 80px;
  width: 50px;
  z-index: 999;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.car-road {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gray-200);
  border-radius: 4px;
  overflow: hidden;
}

.road-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--primary-bright);
  border-radius: 4px;
  transition: height 0.1s linear;
}

.car-wrapper {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: top 0.1s linear;
}

.car-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 3px 6px rgba(var(--primary-rgb), 0.3));
  cursor: grab;
  pointer-events: auto;
}

.scroll-car-tracker.dragging .car-icon {
  cursor: grabbing;
  transform: scale(1.15);
}

.scroll-car-tracker.dragging .car-icon::before {
  animation: none;
}

.car-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.car-trail {
  width: 2px;
  height: 20px;
  background: linear-gradient(to bottom, var(--primary-bright), transparent);
  margin-top: -2px;
}

.car-location-bubble {
  position: absolute;
  bottom: 100%;
  right: 0;
  margin-bottom: 8px;
  background: white;
  padding: 5px 12px;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-navy);
  /* hidden at rest; main.js reveals it while the page is actually scrolling */
  opacity: 0;
  transition: opacity 0.3s ease;
}

.car-location-bubble i {
  color: var(--primary-cyan);
  font-size: 0.8rem;
}

.car-location-bubble::after {
  content: "";
  position: absolute;
  bottom: -5px;
  right: 15px;
  width: 0;
  height: 0;
  border-top: 5px solid white;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
}

/* Pulse animation on car */
.car-icon::before {
  content: "";
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #ff3b3b;
  opacity: 0.5;
  animation: carPulse 2s infinite;
}

@keyframes carPulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.6);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/* Hide on mobile */
@media (max-width: 991px) {
  .scroll-car-tracker {
    display: none;
  }
}

.sticky-feature-image {
  position: sticky;
  top: 100px;
}
@media (max-width: 991px) {
  .sticky-feature-image {
    position: unset !important;
  }
  .feature-row .col-lg-7 {
    position: unset;
  }

  .no-sm-show {
    display: none;
  }

  .hero-section .row {
    flex-direction: column-reverse;
  }

  .hero-image-wrapper {
    margin-top: 0px;
  }
  .about-image-box img {
    width: 100%;
  }
}
@media (max-width: 512px) {
  .feature-row .col-lg-7 {
    position: unset !important;
  }

  .no-sm-show {
    display: none !important;
  }

  .sticky-feature-image {
    position: unset !important;
  }
  .hero-cta .btn-primary-gradient {
    font-size: 14px;
    padding: 14px 10px;
  }

  .page-hero .btn-primary-gradient {
    font-size: 14px;
    padding: 14px 10px;
  }

  .page-hero .btn-outline-hero {
    font-size: 14px;
    padding: 14px 10px;
  }

  .page-hero-angle {
    height: 43px;
  }

  .feature-card-mini {
    padding: 1rem;
  }

  .py-6 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .hero-cta .btn-outline-hero {
    font-size: 14px;
    padding: 12px 6px;
  }

  .hero-platform-badges {
    left: 49%;
  }

  .hero-stat .text-gradient {
    font-size: 1rem;
    font-weight: 800;
  }

  .stat-number {
    font-size: 1.2rem;
  }

  .hero-cta .btn-outline-hero {
    font-size: 14px;
    padding: 12px 6px;
  }
  .hero-stats {
    top: 0px !important;
  }
}

/* ==================== How-it-works video modal ==================== */
.video-modal{ position:fixed; inset:0; z-index:2000; display:none; align-items:center; justify-content:center; padding:24px; }
.video-modal.show{ display:flex; }
.video-modal__backdrop{ position:absolute; inset:0; background:rgba(8,11,15,.82); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); animation:vm-fade .25s ease; }
.video-modal__box{ position:relative; width:min(960px,100%); border-radius:16px; overflow:hidden; box-shadow:0 30px 80px rgba(0,0,0,.5); background:#000; animation:vm-in .35s cubic-bezier(.22,1,.36,1); }
.video-modal__box video{ display:block; width:100%; height:auto; max-height:82vh; background:#000; }
.video-modal__close{ position:absolute; top:12px; right:14px; z-index:2; width:38px; height:38px; border:none; border-radius:50%; background:rgba(255,255,255,.14); color:#fff; font-size:24px; line-height:1; cursor:pointer; backdrop-filter:blur(6px); transition:background .2s ease, transform .2s ease; }
.video-modal__close:hover{ background:rgba(255,255,255,.28); transform:scale(1.08); }
@keyframes vm-fade{ from{ opacity:0; } to{ opacity:1; } }
@keyframes vm-in{ from{ opacity:0; transform:translateY(16px) scale(.97); } to{ opacity:1; transform:translateY(0) scale(1); } }

/* ==================== Mega-menu animated preview (swaps on hover) ==================== */
.mega-preview-img .mega-anim{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; background:linear-gradient(180deg,#f4f8fd,#e8eef5); opacity:0; visibility:hidden; transition:opacity .35s ease; }
.mega-preview-img .mega-anim.active{ opacity:1; }
.mega-dropdown:hover .mega-preview-img .mega-anim.active{ visibility:visible; }
.mega-preview-img .mega-anim .mega-map{ position:absolute; inset:0; width:100%; height:100%; display:block; }
.mega-anim-badge{ position:absolute; top:8px; right:8px; z-index:3; background:#fff; border-radius:7px; box-shadow:0 4px 12px rgba(15,23,42,.14); padding:3px 9px; font-size:.62rem; font-weight:700; color:#15803d; }

/* ==================== CYBERTRACK LOCKUP ====================
   Icon as an SVG file, name as live text: an SVG in an <img> cannot use the
   page's Inter webfont and would set the name in Arial. Gap is 10/64 of the
   icon height, the spacing of the brand files in images/brand/. */
.ct-brand{ --ct-h:40px; display:inline-flex; align-items:center; gap:calc(var(--ct-h) * .156); }
.ct-brand img{ width:var(--ct-h); height:var(--ct-h); flex:0 0 auto; display:block; }
.ct-brand__name{ font-family:Inter, system-ui, sans-serif; font-weight:700;
  font-size:calc(var(--ct-h) * .516); letter-spacing:-.015em; line-height:1;
  color:var(--text-navy); white-space:nowrap; }
.ct-brand__name span{ color:var(--heading-accent); }
.ct-brand--reversed .ct-brand__name{ color:#fff; }
.ct-brand--reversed .ct-brand__name span{ color:#2fd0a6; }
/* final logo (Nov 2026): icon and name are one SVG, so it keeps its own
   proportions instead of the square the icon-only image used */
.ct-brand img.ct-brand__logo{ width:auto; height:var(--ct-h); }

/* Endorsed lockup: the product leads, the company follows smaller -
   "CyberTrack by CRMVRM". Visitors read the left-most mark as the site's
   name, so on the product site that has to be the product. */
.brand-by{ display:inline-flex; align-items:center; gap:6px; margin-left:12px; padding-left:12px;
  border-left:1.5px solid rgba(11,31,58,.14); font-family:Inter, system-ui, sans-serif;
  font-size:12px; font-weight:500; color:#6b7a90; white-space:nowrap; opacity:.9; }
.brand-by .crm-logo{ display:block; }
/* sits low, level with the bottom of the CyberTrack name, so it reads as a
   sign-off under the product rather than a second title beside it */
.brand-by{ align-self:flex-end; margin-bottom:2px; }
.footer-brand .brand-by{ color:rgba(255,255,255,.6); border-left-color:rgba(255,255,255,.22); }
/* phones: the endorsement steps back so the product and the menu button fit */
@media(max-width:575px){
  #mainNavbar .ct-brand{ --ct-h:32px !important; }
  #mainNavbar .brand-by{ margin-left:9px; padding-left:9px; font-size:11px; }
  #mainNavbar .brand-by .crm-logo{ height:17px !important; }
}
@media(max-width:359px){ #mainNavbar .brand-by{ display:none; } }
/* the off-canvas menu is 300px wide; keep the lockup inside it so its close
   button never pokes out at the screen's left edge */
.mobile-sidebar-header .ct-brand{ --ct-h:28px !important; }
.mobile-sidebar-header .brand-by{ margin-left:8px; padding-left:8px; font-size:10.5px; }
.mobile-sidebar-header .brand-by .crm-logo{ height:15px !important; }
.mobile-sidebar-header .navbar-brand{ min-width:0; }
.mobile-sidebar{ overflow-x:hidden; }
