/* ==========================================================================
   e-Gab SMS — Frontend brand stylesheet
   Deep corporate blue gradient (#0A1F44 -> #004E92) on a Bootstrap 5 base.
   System font stack only; no external fonts.
   ========================================================================== */

:root {
  --egab-navy: #0A1F44;
  --egab-blue: #004E92;
  --egab-gradient: linear-gradient(135deg, #0A1F44 0%, #004E92 100%);
  --egab-gradient-soft: linear-gradient(135deg, rgba(10, 31, 68, 0.04) 0%, rgba(0, 78, 146, 0.06) 100%);
  --egab-ink: #101828;
  --egab-muted: #5b6472;
  --egab-border: #e6e9ef;
  --egab-surface: #f6f8fb;
  --egab-accent: #00B7A8; /* used sparingly for success/positive metrics */
  --egab-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --egab-radius: 14px;

  /* Premium layer: layered elevation instead of a single flat drop shadow */
  --egab-shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.04), 0 1px 3px rgba(16, 24, 40, 0.06);
  --egab-shadow-md: 0 2px 4px rgba(16, 24, 40, 0.03), 0 12px 24px -12px rgba(10, 31, 68, 0.18);
  --egab-shadow-lg: 0 4px 8px rgba(16, 24, 40, 0.03), 0 24px 48px -20px rgba(10, 31, 68, 0.26);
  --egab-shadow-xl: 0 8px 16px rgba(16, 24, 40, 0.04), 0 40px 72px -28px rgba(10, 31, 68, 0.34);
  --egab-radius-sm: 10px;
  --egab-radius-lg: 20px;
  --egab-radius-xl: 28px;

  /* Fluid type scale — one ramp used by every page so headings stay in proportion */
  --egab-h1: clamp(2rem, 1.25rem + 3.2vw, 3.5rem);
  --egab-h2: clamp(1.6rem, 1.2rem + 1.7vw, 2.4rem);
  --egab-h3: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);
  --egab-lead: clamp(1rem, 0.94rem + 0.3vw, 1.175rem);

  /* Respected by the sticky mobile CTA bar so it clears the iOS home indicator */
  --egab-safe-bottom: env(safe-area-inset-bottom, 0px);
}

html { scroll-behavior: smooth; }
/* Anchored sections must clear the sticky header when jumped to. */
:target { scroll-margin-top: 96px; }
[id] { scroll-margin-top: 96px; }

body {
  font-family: var(--egab-font);
  color: var(--egab-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden; /* nothing on the marketing site should scroll sideways on mobile */
}

a { text-decoration: none; }

/* Visible keyboard focus everywhere — the default Bootstrap ring disappears on gradients. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--egab-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Skip link for keyboard and screen-reader users. */
.egab-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: #fff;
  color: var(--egab-navy);
  font-weight: 700;
  padding: 0.85rem 1.35rem;
  border-radius: 0 0 12px 0;
  box-shadow: var(--egab-shadow-lg);
}
.egab-skip-link:focus {
  left: 0;
  color: var(--egab-navy);
}

.container-egab {
  max-width: 1200px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (max-width: 575.98px) {
  .container-egab { padding-left: 1.15rem; padding-right: 1.15rem; }
}

/* ---------- Fluid headings ---------- */
.egab-h1, .egab-hero h1 { font-size: var(--egab-h1); line-height: 1.08; letter-spacing: -0.025em; font-weight: 800; }
.egab-section h2, .egab-h2 { font-size: var(--egab-h2); line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
.egab-feature-row h2 { font-size: var(--egab-h2); line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
.egab-h3 { font-size: var(--egab-h3); line-height: 1.25; letter-spacing: -0.01em; font-weight: 700; }
.egab-lead { font-size: var(--egab-lead); line-height: 1.6; color: var(--egab-muted); }

/* Constrain measure for readability without inline styles on every page. */
.egab-measure { max-width: 62ch; }
.egab-measure-sm { max-width: 48ch; }
.egab-measure-center { max-width: 62ch; margin-left: auto; margin-right: auto; }

/* Gradient text for a single emphasised phrase in a heading. */
.egab-grad-text {
  background: linear-gradient(120deg, #004E92 0%, #00B7A8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn-egab-primary {
  background: var(--egab-gradient);
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  box-shadow: 0 8px 20px -8px rgba(10, 31, 68, 0.55);
}
.btn-egab-primary:hover,
.btn-egab-primary:focus {
  color: #fff;
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -8px rgba(10, 31, 68, 0.6);
}

.btn-egab-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-egab-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.btn-egab-dark-outline {
  background: transparent;
  color: var(--egab-navy);
  border: 1.5px solid var(--egab-border);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.btn-egab-dark-outline:hover {
  border-color: var(--egab-blue);
  background: var(--egab-gradient-soft);
  color: var(--egab-navy);
}

/* ---------- Utility strip above the navbar ---------- */
.egab-topbar {
  background: var(--egab-navy);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.egab-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 40px;
}
.egab-topbar-note { display: inline-flex; align-items: center; gap: 0.5rem; }
.egab-topbar-note i { color: var(--egab-accent); }
.egab-topbar-links { display: inline-flex; align-items: center; gap: 1.5rem; }
.egab-topbar-links a {
  color: rgba(255, 255, 255, 0.8);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.egab-topbar-links a:hover { color: #fff; }

/* ---------- Navbar ---------- */
.egab-navbar {
  /* Translucent so page colour bleeds through — reads as glass, not a slab. */
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(10, 31, 68, 0.07);
  transition: box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
@supports not (backdrop-filter: blur(1px)) {
  .egab-navbar { background: #fff; }
}
.egab-navbar .navbar { padding-top: 0.55rem; padding-bottom: 0.55rem; }
.egab-navbar.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 0 rgba(10, 31, 68, 0.05), 0 18px 40px -28px rgba(10, 31, 68, 0.5);
  border-bottom-color: transparent;
}
.egab-navbar .navbar-brand {
  padding-top: 0;
  padding-bottom: 0;
  margin-right: 0;
}
.egab-navbar .navbar-brand img {
  height: 50px;
  width: auto;
  transition: transform 0.2s ease, height 0.25s ease;
}
.egab-navbar.is-scrolled .navbar-brand img { height: 42px; }
.egab-navbar .navbar-brand:hover img { transform: scale(1.03); }

/* The links sit in their own inset track so the bar has a centre of gravity. */
.egab-nav-group {
  gap: 0.15rem;
  align-items: center;
}
@media (min-width: 992px) {
  .egab-nav-group {
    background: rgba(10, 31, 68, 0.04);
    border: 1px solid rgba(10, 31, 68, 0.05);
    border-radius: 999px;
    padding: 0.25rem;
  }
}
.egab-navbar .nav-link {
  position: relative;
  color: #3d4757;
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: -0.005em;
  padding: 0.5rem 1.05rem !important;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.egab-navbar .nav-link:hover,
.egab-navbar .nav-link:focus { color: var(--egab-navy); background: rgba(255, 255, 255, 0.9); }
.egab-navbar .nav-link.active-link {
  color: var(--egab-navy);
  background: #fff;
  box-shadow: var(--egab-shadow-sm);
}
.egab-navbar .nav-link.dropdown-toggle::after {
  border: 0;
  content: "\f282"; /* bootstrap-icons chevron-down */
  font-family: "bootstrap-icons";
  font-size: 0.62rem;
  vertical-align: 0.05em;
  margin-left: 0.4rem;
  opacity: 0.6;
  transition: transform 0.2s ease;
  display: inline-block;
}
.egab-navbar .nav-link.dropdown-toggle.show::after { transform: rotate(180deg); }

.egab-nav-actions {
  display: none;
  align-items: center;
  gap: 0.6rem;
}
@media (min-width: 992px) { .egab-nav-actions { display: flex; } }
.egab-nav-actions .btn {
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  min-height: 44px;
}

.btn-egab-ghost {
  background: transparent;
  color: var(--egab-navy);
  border: none;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn-egab-ghost:hover { background: rgba(10, 31, 68, 0.06); color: var(--egab-navy); }

/* ---------- Products mega menu ---------- */
.egab-navbar .dropdown-menu {
  border: 1px solid rgba(10, 31, 68, 0.08);
  border-radius: var(--egab-radius-lg);
  box-shadow: var(--egab-shadow-xl);
  padding: 0;
  margin-top: 0.75rem;
  overflow: hidden;
}
@media (min-width: 992px) {
  .egab-mega {
    width: min(680px, calc(100vw - 3rem));
    /* Centred under the trigger rather than left-aligned to it. */
    left: 50%;
    transform: translateX(-50%);
  }
}
.egab-mega-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.15rem;
  padding: 0.75rem;
}
@media (min-width: 992px) {
  .egab-mega-grid { grid-template-columns: 1fr 1fr; gap: 0.25rem; padding: 1rem; }
}
.egab-mega-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.7rem 0.75rem;
  border-radius: var(--egab-radius-sm);
  color: var(--egab-ink);
  transition: background 0.15s ease;
}
.egab-mega-item:hover,
.egab-mega-item:focus { background: var(--egab-surface); color: var(--egab-ink); }
.egab-mega-item.is-current { background: var(--egab-gradient-soft); }
.egab-mega-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--egab-gradient);
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 6px 14px -8px rgba(10, 31, 68, 0.7);
}
.egab-mega-text { display: flex; flex-direction: column; min-width: 0; }
.egab-mega-title { font-weight: 700; font-size: 0.92rem; line-height: 1.3; }
.egab-mega-tagline { color: var(--egab-muted); font-size: 0.78rem; line-height: 1.35; }
.egab-mega-arrow {
  margin-left: auto;
  align-self: center;
  color: var(--egab-blue);
  font-size: 0.85rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.egab-mega-item:hover .egab-mega-arrow { opacity: 1; transform: translateX(0); }
.egab-mega-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.85rem 1.25rem;
  background: var(--egab-surface);
  border-top: 1px solid var(--egab-border);
  font-size: 0.82rem;
  color: var(--egab-muted);
}
.egab-mega-foot i { color: var(--egab-blue); }
.egab-mega-foot a { font-weight: 700; color: var(--egab-blue); display: inline-flex; align-items: center; gap: 0.35rem; }
.egab-mega-foot a:hover { color: var(--egab-navy); }

/* ---------- Hero ---------- */
.egab-hero {
  background: var(--egab-gradient);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 6rem;
}
.egab-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.07) 0, transparent 40%),
    radial-gradient(circle at 88% 82%, rgba(255, 255, 255, 0.08) 0, transparent 45%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 90px);
  pointer-events: none;
}
.egab-hero .container { position: relative; z-index: 1; }
.egab-hero h1 { font-weight: 700; letter-spacing: -0.02em; }
.egab-hero .lead { color: rgba(255, 255, 255, 0.85); }
.egab-hero-sm { padding: 4rem 0 4.5rem; }

/* ---------- Home hero: fixed headline + rotating channel spotlight ---------- */
.egab-hero-home { padding-bottom: 4.5rem; }
.egab-hero-title {
  font-weight: 800;
  letter-spacing: -0.025em;
  font-size: clamp(1.95rem, 1.1rem + 3.2vw, 3.4rem);
  line-height: 1.08;
}
.egab-hero-accent {
  background: linear-gradient(100deg, #ffffff 0%, #8bf3e9 45%, #00b7a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.egab-hero-lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.2rem);
  max-width: 560px;
}

/* Illustration stage used by the product-page heroes: soft glow + gentle float */
.egab-hero-illustration {
  position: relative;
  max-width: 460px;
  margin: 0 auto;
}
.egab-hero-illustration::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle, rgba(0, 183, 168, 0.25) 0%, rgba(255, 255, 255, 0.04) 55%, transparent 72%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.egab-hero-illustration svg {
  position: relative;
  z-index: 1;
  animation: egabFloat 5.5s ease-in-out infinite;
}

/* Spotlight card */
.egab-spotlight {
  position: relative;
  border-radius: 26px;
  padding: 1.5rem 1.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(4, 14, 33, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  overflow: hidden;
}
.egab-spotlight::before {
  content: "";
  position: absolute;
  top: -35%;
  right: -20%;
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(0, 183, 168, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

/* Slides are stacked so the card never changes height mid-rotation. */
.egab-spotlight-stage {
  position: relative;
  display: grid;
  z-index: 1;
}
.egab-spotlight-slide {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.45s;
  pointer-events: none;
}
.egab-spotlight-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.egab-spotlight-art {
  max-width: 260px;
  width: 100%;
  margin: 0 auto;
}
.egab-spotlight-art svg { display: block; width: 100%; height: auto; }
.egab-spotlight-slide.is-active .egab-spotlight-art {
  animation: egabFloat 5.5s ease-in-out infinite;
}

.egab-spotlight-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(0, 183, 168, 0.18);
  border: 1px solid rgba(0, 183, 168, 0.45);
  color: #8bf3e9;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.egab-spotlight-title {
  margin: 0.75rem 0 0.5rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.015em;
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.55rem);
  line-height: 1.22;
}
.egab-spotlight-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
}
.egab-spotlight-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.egab-spotlight-stat {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}
.egab-spotlight-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #8bf3e9;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}
.egab-spotlight-link i { transition: transform 0.18s ease; }
.egab-spotlight-link:hover { color: #fff; }
.egab-spotlight-link:hover i { transform: translateX(4px); }

/* Labelled rail: the visitor can see what is coming and jump straight to it. */
.egab-spotlight-rail {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.egab-rail-btn {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
}
.egab-rail-label {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.egab-rail-btn:hover .egab-rail-label { color: rgba(255, 255, 255, 0.85); }
.egab-rail-btn.is-active .egab-rail-label { color: #fff; }
.egab-rail-track {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}
.egab-rail-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #00b7a8, #8bf3e9);
}
.egab-rail-btn.is-active .egab-rail-fill {
  animation: egabRailFill 6500ms linear forwards;
}
.egab-spotlight.is-paused .egab-rail-fill { animation-play-state: paused; }

@keyframes egabRailFill {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes egabFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (min-width: 576px) {
  .egab-spotlight-slide {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
  }
  .egab-spotlight-art { max-width: 170px; flex: 0 0 170px; margin: 0; }
  .egab-spotlight-body { flex: 1 1 auto; min-width: 0; }
  .egab-spotlight-title { margin-top: 0.6rem; }
}

@media (min-width: 992px) {
  .egab-spotlight { padding: 1.75rem 1.75rem 1.5rem; }
  .egab-spotlight-art { max-width: 190px; flex: 0 0 190px; }
}

@media (max-width: 991.98px) {
  .egab-hero-illustration { max-width: 240px; margin: 0 auto 1rem; }
}

@media (max-width: 575.98px) {
  .egab-hero-home { padding-bottom: 3rem; }
  .egab-spotlight { padding: 1.25rem 1.15rem 1rem; border-radius: 20px; }
  .egab-spotlight-art { max-width: 190px; }
  .egab-spotlight-rail { gap: 0.4rem; }
  .egab-rail-label { font-size: 0.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  .egab-hero-illustration svg { animation: none; }
  .egab-spotlight-slide,
  .egab-spotlight-slide.is-active .egab-spotlight-art,
  .egab-rail-btn.is-active .egab-rail-fill {
    animation: none !important;
    transition: none !important;
  }
  .egab-rail-btn.is-active .egab-rail-fill { width: 100%; }
}

.egab-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.25rem;
}
.egab-eyebrow-light {
  color: var(--egab-blue);
  background: var(--egab-gradient-soft);
  border-color: rgba(0, 78, 146, 0.18);
}

/* ---------- Sections ---------- */
.egab-section { padding: 5rem 0; }
.egab-section-sm { padding: 3.5rem 0; }
.egab-section-alt { background: var(--egab-surface); }
.egab-section-dark {
  background: var(--egab-gradient);
  color: #fff;
}
.egab-kicker {
  color: var(--egab-blue);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.egab-section h2 { font-weight: 700; letter-spacing: -0.01em; }
.egab-muted { color: var(--egab-muted); }

/* ---------- Cards ---------- */
.egab-card {
  background: #fff;
  border: 1px solid var(--egab-border);
  border-radius: var(--egab-radius);
  padding: 2rem;
  height: 100%;
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.egab-card:hover {
  box-shadow: 0 20px 40px -24px rgba(10, 31, 68, 0.3);
  transform: translateY(-2px);
  border-color: rgba(0, 78, 146, 0.25);
}
.egab-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--egab-gradient-soft);
  color: var(--egab-blue);
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
}

/* ---------- Carrier / network trust strip ---------- */
.egab-carrier-strip {
  padding: 1.75rem 0;
  background: var(--egab-surface);
  border-bottom: 1px solid var(--egab-border);
}
.egab-carrier-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 2rem;
  text-align: center;
}
.egab-carrier-label {
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--egab-muted);
  white-space: nowrap;
}
.egab-carrier-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.egab-carrier-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--egab-border);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--egab-ink);
}
.egab-carrier-badge::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--carrier-color, var(--egab-blue));
  flex-shrink: 0;
}

/* ---------- Pricing ---------- */
.egab-pricing-teaser-card {
  background: #fff;
  border: 1px solid var(--egab-border);
  border-radius: var(--egab-radius);
  padding: 2rem;
  height: 100%;
  text-align: center;
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.egab-pricing-teaser-card:hover {
  box-shadow: 0 20px 40px -24px rgba(10, 31, 68, 0.3);
  transform: translateY(-2px);
}
.egab-pricing-teaser-card.is-highlighted {
  border-color: var(--egab-blue);
  box-shadow: 0 20px 40px -24px rgba(0, 78, 146, 0.35);
}
.egab-pricing-teaser-value {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--egab-blue);
}
.egab-pricing-teaser-value span {
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--egab-muted);
}

.egab-pricing-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--egab-border);
  border-radius: var(--egab-radius);
  padding: 2rem;
  height: 100%;
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.egab-pricing-card:hover {
  box-shadow: 0 20px 40px -24px rgba(10, 31, 68, 0.3);
  transform: translateY(-2px);
}
.egab-pricing-card.is-highlighted {
  border-color: var(--egab-blue);
  box-shadow: 0 24px 48px -24px rgba(0, 78, 146, 0.4);
}
.egab-pricing-badge {
  position: absolute;
  top: -12px;
  right: 1.5rem;
  background: var(--egab-gradient);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}
.egab-pricing-amount {
  font-weight: 800;
  font-size: 2rem;
  color: var(--egab-ink);
  margin-bottom: 1.1rem;
}
.egab-pricing-amount span {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--egab-muted);
}
.egab-pricing-amount-custom {
  font-size: 1.3rem;
  color: var(--egab-blue);
}

/* ---------- Stats / counters ---------- */
.egab-stat { text-align: center; }
.egab-stat .num {
  font-weight: 800;
  font-size: 2.4rem;
  background: var(--egab-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}
.egab-stat .label {
  color: var(--egab-muted);
  font-size: 0.92rem;
  font-weight: 500;
}

/* ---------- How it works / steps ---------- */
.egab-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--egab-gradient);
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* ---------- Trust badges ---------- */
.egab-trust-badge {
  text-align: center;
  height: 100%;
}
.egab-trust-badge .egab-icon-badge { margin-left: auto; margin-right: auto; }

/* ---------- Testimonials ---------- */
.egab-testimonial {
  background: #fff;
  border: 1px solid var(--egab-border);
  border-radius: var(--egab-radius);
  padding: 1.75rem;
  height: 100%;
}
.egab-testimonial .stars { color: #f5a623; letter-spacing: 2px; }
.egab-testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--egab-gradient);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ---------- Feature list rows (product pages, alternating grid) ---------- */
.egab-feature-row { padding: 3.5rem 0; }
.egab-feature-row + .egab-feature-row { border-top: 1px solid var(--egab-border); }
.egab-check-list { list-style: none; padding-left: 0; margin-bottom: 0; }
.egab-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.4rem 0;
}
.egab-check-list li::before {
  content: "\2713";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--egab-gradient-soft);
  color: var(--egab-blue);
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.15rem;
}
.egab-visual-panel {
  background: var(--egab-gradient);
  border-radius: var(--egab-radius);
  min-height: 320px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.egab-visual-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 70px);
}
.egab-visual-panel .egab-visual-icon { font-size: 3.5rem; position: relative; z-index: 1; opacity: 0.92; }
.egab-illustration {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 320px;
  padding: 1.5rem;
}
.egab-illustration svg { display: block; width: 100%; height: auto; }

/* ---------- Industry / use-case pills ---------- */
.egab-industry-card {
  border: 1px solid var(--egab-border);
  border-radius: var(--egab-radius);
  padding: 1.5rem;
  height: 100%;
  background: #fff;
}
.egab-industry-card .tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--egab-blue);
}
.egab-industry-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--egab-gradient-soft);
  color: var(--egab-blue);
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}

/* ---------- Stat icons ---------- */
.egab-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--egab-gradient-soft);
  color: var(--egab-blue);
  font-size: 1.2rem;
  margin: 0 auto 0.6rem;
}

/* ---------- CTA banner icon ---------- */
.egab-cta-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* ---------- Legal page section icon ---------- */
.egab-legal-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--egab-gradient-soft);
  color: var(--egab-blue);
  font-size: 1.1rem;
  margin-right: 0.6rem;
  flex-shrink: 0;
}

/* ---------- Pricing hint band ---------- */
.egab-pricing-hint {
  border: 1px dashed rgba(0, 78, 146, 0.35);
  border-radius: var(--egab-radius);
  background: var(--egab-gradient-soft);
  padding: 1.75rem;
}

/* ---------- Spec table ---------- */
.egab-spec-table th {
  width: 45%;
  color: var(--egab-muted);
  font-weight: 600;
  font-size: 0.92rem;
}
.egab-spec-table td { font-weight: 600; }
.egab-spec-table tr { border-bottom: 1px solid var(--egab-border); }
.egab-spec-table tr:last-child { border-bottom: none; }
.egab-spec-table th, .egab-spec-table td { padding: 0.85rem 0; vertical-align: top; }

/* ---------- CTA banner ---------- */
.egab-cta-banner {
  background: var(--egab-gradient);
  border-radius: 20px;
  color: #fff;
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
}
.egab-cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 90px);
}
.egab-cta-banner .row { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.egab-footer {
  position: relative;
  background: var(--egab-navy);
  color: rgba(255, 255, 255, 0.68);
  padding: 3.5rem 0 1.75rem;
  overflow: hidden;
}
/* Soft brand glow so the footer reads as a designed surface, not a black box. */
.egab-footer::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -140px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 78, 146, 0.55) 0%, rgba(0, 78, 146, 0) 68%);
  pointer-events: none;
}
.egab-footer > .container-egab { position: relative; z-index: 1; }

/* Reassurance strip across the top of the footer. */
.egab-footer-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1.5rem;
  margin: 0 0 2.75rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 992px) {
  .egab-footer-trust { grid-template-columns: repeat(4, 1fr); }
}
.egab-footer-trust li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.35;
}
.egab-footer-trust i { color: var(--egab-accent); font-size: 1.05rem; flex: 0 0 auto; }

.btn-egab-light {
  background: #fff;
  color: var(--egab-navy);
  border: none;
  font-weight: 700;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.7);
}
.btn-egab-light:hover { color: var(--egab-navy); transform: translateY(-1px); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, 0.75); }

.egab-footer-heading {
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.egab-footer a { color: rgba(255, 255, 255, 0.68); }
.egab-footer a:hover { color: #fff; }
.egab-footer ul a { overflow-wrap: anywhere; word-break: break-word; }
.egab-footer-blurb { color: rgba(255, 255, 255, 0.62); font-size: 0.92rem; line-height: 1.65; max-width: 42ch; }
.egab-footer .egab-footer-brand img { height: 46px; margin-bottom: 1.1rem; filter: brightness(0) invert(1); }

.egab-footer-links li { margin-bottom: 0.7rem; }
.egab-footer-links a {
  font-size: 0.92rem;
  position: relative;
  transition: color 0.15s ease, padding-left 0.15s ease;
}
.egab-footer-links a:hover { padding-left: 0.3rem; }

.egab-footer-contact { margin: 1.25rem 0 1.25rem; }
.egab-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  font-size: 0.92rem;
}
.egab-footer-contact i { color: var(--egab-accent); margin-top: 0.15rem; }

.egab-footer-networks li {
  font-size: 0.92rem;
  margin-bottom: 0.7rem;
  color: rgba(255, 255, 255, 0.68);
}
.egab-footer-networks-note { color: rgba(255, 255, 255, 0.42) !important; font-size: 0.82rem !important; }

.egab-footer-social { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.egab-footer .social-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.egab-footer .social-icon:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.egab-footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-start;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.48);
}
@media (min-width: 768px) {
  .egab-footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}
.egab-footer-made i { color: var(--egab-accent); }


/* ---------- Legal pages ---------- */
.egab-legal-body h2 { font-weight: 700; margin-top: 2.25rem; font-size: 1.3rem; }
.egab-legal-body h2:first-child { margin-top: 0; }
.egab-legal-body p, .egab-legal-body li { color: #364152; }
.egab-legal-nav {
  position: sticky;
  top: 100px;
}
.egab-legal-nav a {
  display: block;
  color: var(--egab-muted);
  padding: 0.4rem 0;
  font-size: 0.92rem;
}
.egab-legal-nav a:hover { color: var(--egab-blue); }

/* ---------- Contact page ---------- */
.egab-contact-card {
  background: #fff;
  border: 1px solid var(--egab-border);
  border-radius: var(--egab-radius);
  padding: 2.25rem;
}
.egab-contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.egab-contact-info-item:last-child { border-bottom: none; }
.egab-form-control {
  border-radius: 10px;
  border: 1px solid var(--egab-border);
  padding: 0.7rem 0.9rem;
}
.egab-form-control:focus {
  border-color: var(--egab-blue);
  box-shadow: 0 0 0 0.2rem rgba(0, 78, 146, 0.15);
}

@media (max-width: 767.98px) {
  .egab-hero { padding: 3.5rem 0 3rem; }
  .egab-section { padding: 3.25rem 0; }
  .egab-cta-banner { padding: 2rem; }
}

/* ---------- FAQ accordion ---------- */
.egab-faq-accordion .accordion-item {
  border: 1px solid var(--egab-border);
  border-radius: var(--egab-radius);
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.egab-faq-accordion .accordion-item:last-child { margin-bottom: 0; }
.egab-faq-accordion .accordion-button {
  font-weight: 600;
  color: var(--egab-navy);
  padding: 1.15rem 1.5rem;
  background: #fff;
}
.egab-faq-accordion .accordion-button:not(.collapsed) {
  color: var(--egab-blue);
  background: var(--egab-gradient-soft);
  box-shadow: none;
}
.egab-faq-accordion .accordion-button:focus { box-shadow: none; border-color: var(--egab-border); }
.egab-faq-accordion .accordion-button::after { flex-shrink: 0; }
.egab-faq-accordion .accordion-body {
  padding: 0 1.5rem 1.25rem;
  color: var(--egab-muted);
}
.egab-faq-accordion .accordion-body a { color: var(--egab-blue); font-weight: 600; }

/* ==========================================================================
   PREMIUM LAYER
   Components added for the 2026 marketing-site redesign. Mobile-first:
   every block below is authored for a 360px viewport and enhanced upward.
   ========================================================================== */

/* ---------- Refined elevation on existing surfaces ---------- */
.egab-card,
.egab-pricing-card,
.egab-pricing-teaser-card,
.egab-testimonial,
.egab-industry-card,
.egab-contact-card {
  box-shadow: var(--egab-shadow-sm);
}
.egab-card:hover,
.egab-pricing-card:hover,
.egab-pricing-teaser-card:hover {
  box-shadow: var(--egab-shadow-lg);
}

/* Cards get a hairline gradient edge on hover rather than a colour swap. */
.egab-card {
  position: relative;
  overflow: hidden;
}
.egab-card::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--egab-blue), var(--egab-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.egab-card:hover::after,
.egab-card:focus-within::after { transform: scaleX(1); }

/* ---------- Breadcrumbs (paired with BreadcrumbList schema) ---------- */
.egab-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  margin: 0 0 1.15rem;
  list-style: none;
  font-size: 0.82rem;
  font-weight: 500;
}
.egab-breadcrumb li { display: flex; align-items: center; gap: 0.4rem; }
.egab-breadcrumb li + li::before {
  content: "\203A";
  opacity: 0.5;
  font-size: 1rem;
  line-height: 1;
}
.egab-breadcrumb a { color: rgba(255, 255, 255, 0.72); }
.egab-breadcrumb a:hover { color: #fff; text-decoration: underline; }
.egab-breadcrumb [aria-current="page"] { color: rgba(255, 255, 255, 0.95); }

/* ---------- Hero enhancements ---------- */
.egab-hero {
  padding-top: 4.5rem;
  padding-bottom: 5rem;
}
/* Soft aurora wash behind the grid pattern for depth. */
.egab-hero::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -180px;
  top: -260px;
  background: radial-gradient(circle, rgba(0, 183, 168, 0.22) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}
.egab-hero > .container { position: relative; z-index: 1; }

/* Trust chips under a hero CTA row. */
.egab-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.35rem;
  margin-top: 1.85rem;
  padding: 0;
  list-style: none;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.82);
}
.egab-hero-trust li { display: flex; align-items: center; gap: 0.45rem; }
.egab-hero-trust i { color: var(--egab-accent); font-size: 1rem; }

/* Inline "from ₦x" price flag usable on dark or light backgrounds. */
.egab-price-flag {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(0, 183, 168, 0.16);
  border: 1px solid rgba(0, 183, 168, 0.45);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}
.egab-price-flag strong { font-size: 1.1rem; font-weight: 800; }
.egab-price-flag-light {
  background: rgba(0, 183, 168, 0.1);
  border-color: rgba(0, 183, 168, 0.4);
  color: var(--egab-navy);
}

/* ---------- Section headers ---------- */
.egab-section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.egab-section-head p { color: var(--egab-muted); font-size: var(--egab-lead); margin-bottom: 0; }
.egab-section-head .egab-kicker { display: inline-block; margin-bottom: 0.6rem; }

/* ---------- Pricing calculator ---------- */
.egab-calc {
  background: #fff;
  border: 1px solid var(--egab-border);
  border-radius: var(--egab-radius-lg);
  box-shadow: var(--egab-shadow-lg);
  overflow: hidden;
}
.egab-calc-head {
  background: var(--egab-gradient);
  color: #fff;
  padding: 1.5rem 1.5rem 1.35rem;
  position: relative;
  overflow: hidden;
}
.egab-calc-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 70px);
  pointer-events: none;
}
.egab-calc-head > * { position: relative; z-index: 1; }
.egab-calc-body { padding: 1.5rem; }

/* Segmented category switch. */
.egab-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem;
  padding: 0.3rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
}
.egab-seg button {
  appearance: none;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.6rem 0.5rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  min-height: 44px; /* touch target */
}
.egab-seg button[aria-selected="true"] {
  background: #fff;
  color: var(--egab-navy);
  box-shadow: var(--egab-shadow-sm);
}

.egab-calc-label {
  display: block;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--egab-muted);
  margin-bottom: 0.5rem;
}
.egab-calc-input-wrap { position: relative; }
.egab-calc-input {
  width: 100%;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--egab-navy);
  padding: 0.85rem 5.5rem 0.85rem 1rem;
  border: 1.5px solid var(--egab-border);
  border-radius: var(--egab-radius-sm);
  background: var(--egab-surface);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -moz-appearance: textfield;
}
.egab-calc-input::-webkit-outer-spin-button,
.egab-calc-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.egab-calc-input:focus {
  outline: none;
  border-color: var(--egab-blue);
  box-shadow: 0 0 0 4px rgba(0, 78, 146, 0.12);
}
.egab-calc-suffix {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--egab-muted);
  pointer-events: none;
}

/* Quick-pick volume chips — the fastest path on a phone. */
.egab-calc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}
.egab-calc-chip {
  appearance: none;
  border: 1px solid var(--egab-border);
  background: #fff;
  color: var(--egab-ink);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  min-height: 40px;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.egab-calc-chip:hover { border-color: var(--egab-blue); background: var(--egab-gradient-soft); }
.egab-calc-chip[aria-pressed="true"] {
  background: var(--egab-gradient);
  border-color: transparent;
  color: #fff;
}

/* Result readout. */
.egab-calc-result {
  margin-top: 1.5rem;
  padding: 1.35rem;
  border-radius: var(--egab-radius);
  background: var(--egab-gradient-soft);
  border: 1px solid rgba(0, 78, 146, 0.16);
}
.egab-calc-rows {
  display: grid;
  gap: 0.85rem;
}
.egab-calc-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.egab-calc-row dt { color: var(--egab-muted); font-size: 0.88rem; font-weight: 500; margin: 0; }
.egab-calc-row dd { margin: 0; font-weight: 700; color: var(--egab-navy); text-align: right; }
.egab-calc-total {
  border-top: 1px dashed rgba(0, 78, 146, 0.25);
  padding-top: 0.95rem;
  margin-top: 0.15rem;
}
.egab-calc-total dd {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
  background: var(--egab-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.egab-calc-tier-name {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--egab-gradient);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.egab-calc-note {
  font-size: 0.8rem;
  color: var(--egab-muted);
  margin: 0.9rem 0 0;
}
.egab-calc-saving {
  color: #0a7d55;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ---------- Tier table: real table on desktop, stacked cards on mobile ---------- */
/* ---------- Tier tabs (Promotional / Transactional) ---------- */
.egab-tier-tabs { max-width: 1000px; margin: 0 auto; }

.egab-segmented {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.25rem;
  padding: 0.3rem;
  margin: 0 auto 2rem;
  border-radius: 999px;
  background: rgba(10, 31, 68, 0.05);
  border: 1px solid rgba(10, 31, 68, 0.06);
}
@media (min-width: 576px) {
  /* Shrink to content on desktop so it reads as a control, not a header bar. */
  .egab-segmented { display: inline-grid; grid-auto-flow: column; grid-template-columns: none; }
  .egab-tier-tabs { text-align: center; }
  .egab-tier-tabs .tab-content { text-align: left; }
}
.egab-segmented-btn {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--egab-muted);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.7rem 1.5rem;
  min-height: 46px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.egab-segmented-btn:hover { color: var(--egab-navy); }
.egab-segmented-btn.active {
  background: #fff;
  color: var(--egab-navy);
  box-shadow: var(--egab-shadow-md);
}
.egab-segmented-btn.active i { color: var(--egab-blue); }

.egab-tier-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1.25rem;
}
@media (max-width: 575.98px) {
  .egab-tier-panel-head { margin-bottom: 1rem; }
  .egab-segmented-btn { padding: 0.7rem 0.75rem; font-size: 0.86rem; }
}

.egab-tier-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.egab-tier-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 640px;
}
.egab-tier-table thead th {
  background: var(--egab-surface);
  color: var(--egab-muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.9rem 1.15rem;
  border-bottom: 1px solid var(--egab-border);
  text-align: left;
  white-space: nowrap;
}
.egab-tier-table thead th:first-child { border-top-left-radius: var(--egab-radius-sm); }
.egab-tier-table thead th:last-child { border-top-right-radius: var(--egab-radius-sm); text-align: right; }
.egab-tier-table tbody td {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--egab-border);
  vertical-align: middle;
  font-size: 0.94rem;
}
.egab-tier-table tbody tr:last-child td { border-bottom: none; }
.egab-tier-table tbody tr:hover { background: var(--egab-gradient-soft); }
.egab-tier-table .tier-name { font-weight: 700; color: var(--egab-navy); }
.egab-tier-table .tier-desc { display: block; font-size: 0.8rem; color: var(--egab-muted); font-weight: 400; margin-top: 0.15rem; }
.egab-tier-table .tier-rate {
  text-align: right;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--egab-blue);
  white-space: nowrap;
}
.egab-tier-table tr.is-best .tier-rate { color: #0a7d55; }

/* Mobile: repaint each row as a card using data-label. */
@media (max-width: 767.98px) {
  .egab-tier-table-wrap { overflow-x: visible; }
  .egab-tier-table { min-width: 0; }
  .egab-tier-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .egab-tier-table tbody tr {
    display: block;
    border: 1px solid var(--egab-border);
    border-radius: var(--egab-radius);
    padding: 0.35rem 0.25rem;
    margin-bottom: 0.85rem;
    background: #fff;
    box-shadow: var(--egab-shadow-sm);
  }
  .egab-tier-table tbody td {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem 1rem;
    border-bottom: 1px dashed var(--egab-border);
    text-align: right;
  }
  .egab-tier-table tbody td:last-child { border-bottom: none; }
  .egab-tier-table tbody td::before {
    content: attr(data-label);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--egab-muted);
    text-align: left;
    flex-shrink: 0;
  }
  .egab-tier-table .tier-name { text-align: right; }
  .egab-tier-table .tier-desc { text-align: right; }
}

/* ---------- Plan cards (email) ---------- */
.egab-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}
.egab-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--egab-border);
  border-radius: var(--egab-radius-lg);
  padding: 1.85rem 1.6rem;
  box-shadow: var(--egab-shadow-sm);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease, border-color 0.2s ease;
}
.egab-plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--egab-shadow-lg);
  border-color: rgba(0, 78, 146, 0.3);
}
.egab-plan-card.is-featured {
  border-color: var(--egab-blue);
  box-shadow: var(--egab-shadow-xl);
}
.egab-plan-card.is-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(140deg, var(--egab-blue), var(--egab-accent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.egab-plan-badge {
  position: absolute;
  top: -0.8rem;
  left: 1.6rem;
  background: var(--egab-gradient);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  box-shadow: var(--egab-shadow-md);
}
.egab-plan-name { font-weight: 800; font-size: 1.1rem; color: var(--egab-navy); margin-bottom: 0.35rem; }
.egab-plan-desc { font-size: 0.85rem; color: var(--egab-muted); line-height: 1.5; margin-bottom: 1.15rem; }
.egab-plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  font-weight: 800;
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem);
  color: var(--egab-navy);
  letter-spacing: -0.03em;
  line-height: 1;
}
.egab-plan-price span { font-size: 0.9rem; font-weight: 500; color: var(--egab-muted); letter-spacing: 0; }
.egab-plan-unit { font-size: 0.8rem; color: var(--egab-muted); margin: 0.5rem 0 1.35rem; }
.egab-plan-features { list-style: none; padding: 0; margin: 0 0 1.6rem; flex: 1 1 auto; }
.egab-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.4rem 0;
  font-size: 0.88rem;
  color: #3d4757;
}
.egab-plan-features li i { color: var(--egab-accent); font-size: 1rem; flex-shrink: 0; margin-top: 0.1rem; }
.egab-plan-features strong { color: var(--egab-navy); font-weight: 700; }

/* ---------- Comparison / at-a-glance channel grid ---------- */
.egab-channel-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  height: 100%;
  padding: 1.6rem;
  background: #fff;
  border: 1px solid var(--egab-border);
  border-radius: var(--egab-radius-lg);
  box-shadow: var(--egab-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.egab-channel-card:hover { transform: translateY(-3px); box-shadow: var(--egab-shadow-lg); }
/* The card is sometimes the link itself (product index on the About page). */
a.egab-channel-card,
a.egab-channel-card:hover { color: var(--egab-navy); text-decoration: none; }
.egab-channel-price {
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--egab-navy);
  letter-spacing: -0.02em;
}
.egab-channel-price small { font-size: 0.78rem; font-weight: 500; color: var(--egab-muted); display: block; letter-spacing: 0; }

/* ---------- Logo / trust marquee ---------- */
.egab-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.egab-marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: egabMarquee 32s linear infinite;
}
.egab-marquee:hover .egab-marquee-track { animation-play-state: paused; }
@keyframes egabMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Scroll reveal ---------- */
.egab-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.egab-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Sticky mobile conversion bar ----------
   80% of traffic is mobile, so the primary CTA is always one thumb-reach away. */
.egab-mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1030;
  display: flex;
  gap: 0.6rem;
  padding: 0.7rem 1rem calc(0.7rem + var(--egab-safe-bottom));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--egab-border);
  box-shadow: 0 -8px 24px -12px rgba(10, 31, 68, 0.28);
  transform: translateY(110%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.egab-mobile-cta.is-visible { transform: translateY(0); }
.egab-mobile-cta .btn {
  flex: 1 1 0;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  font-size: 0.92rem;
}
@media (min-width: 992px) {
  .egab-mobile-cta { display: none; }
}
/* Keep the bar from covering the last of the footer. */
@media (max-width: 991.98px) {
  body.has-mobile-cta .egab-footer-bottom { padding-bottom: 4.5rem; }
}

/* ---------- Navbar: mobile refinements ---------- */
.egab-navbar .navbar-toggler {
  border: 1px solid var(--egab-border);
  border-radius: 10px;
  padding: 0.5rem 0.7rem;
  min-height: 44px;
  min-width: 44px;
}
.egab-navbar .navbar-toggler:focus { box-shadow: none; }
@media (max-width: 991.98px) {
  .egab-navbar .navbar-collapse {
    margin-top: 0.75rem;
    padding: 0.75rem 0 0.5rem;
    border-top: 1px solid var(--egab-border);
    max-height: calc(100vh - 110px);
    overflow-y: auto;
  }
  .egab-navbar .nav-link {
    padding: 0.8rem 0.75rem !important;
    border-radius: var(--egab-radius-sm);
    font-size: 1rem;
  }
  .egab-navbar .dropdown-menu {
    border: none;
    box-shadow: none;
    margin-top: 0.25rem;
    background: var(--egab-surface);
    border-radius: var(--egab-radius-sm);
  }
  /* Mega menu collapses to a single column inside the mobile drawer. */
  .egab-mega-grid { padding: 0.5rem; }
  .egab-mega-item { padding: 0.65rem 0.6rem; }
  .egab-mega-item:hover { background: #fff; }
  .egab-mega-arrow { display: none; }
  .egab-mega-foot { padding: 0.75rem 0.85rem; background: rgba(10, 31, 68, 0.04); }
  .egab-navbar .navbar-brand img { height: 40px; }
}

/* ---------- FAQ polish ---------- */
.egab-faq-accordion .accordion-item { box-shadow: var(--egab-shadow-sm); }
.egab-faq-accordion .accordion-button { min-height: 56px; font-size: 0.98rem; }

/* ---------- Utility ---------- */
.egab-divider {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--egab-border), transparent);
  margin: 0;
}
.egab-badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--egab-gradient-soft);
  border: 1px solid rgba(0, 78, 146, 0.16);
  color: var(--egab-blue);
  font-size: 0.78rem;
  font-weight: 700;
}
.egab-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--egab-blue);
}
.egab-link-arrow i { transition: transform 0.2s ease; }
.egab-link-arrow:hover { color: var(--egab-navy); }
.egab-link-arrow:hover i { transform: translateX(4px); }

/* Ensure every CTA meets the 44px touch-target minimum. */
.btn-egab-primary,
.btn-egab-outline,
.btn-egab-dark-outline {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .egab-reveal { opacity: 1; transform: none; transition: none; }
  .egab-marquee-track { animation: none; }
  .egab-mobile-cta { transition: none; }
  .egab-card::after { transition: none; }
}

/* ==========================================================================
   FAQ / help centre page
   ========================================================================== */

/* ---------- Hero search ---------- */
.egab-faq-search {
  position: relative;
  max-width: 560px;
}
.egab-faq-search i {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.05rem;
  pointer-events: none;
}
.egab-faq-search input {
  width: 100%;
  min-height: 54px;
  padding: 0.85rem 1.1rem 0.85rem 3rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1rem;
  -webkit-appearance: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.egab-faq-search input::placeholder { color: rgba(255, 255, 255, 0.55); }
.egab-faq-search input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--egab-accent);
}
.egab-faq-search-count {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  min-height: 1.2em;
}

/* ---------- Five-step journey ---------- */
.egab-steps {
  list-style: none;
  counter-reset: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 576px) { .egab-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .egab-steps { grid-template-columns: repeat(5, 1fr); gap: 0.85rem; } }
.egab-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--egab-border);
  border-radius: var(--egab-radius);
  padding: 1.5rem 1.25rem 1.25rem;
  box-shadow: var(--egab-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.egab-step:hover { transform: translateY(-3px); box-shadow: var(--egab-shadow-md); }
.egab-step-num {
  position: absolute;
  top: -14px;
  left: 1.25rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--egab-gradient);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px -8px rgba(10, 31, 68, 0.7);
}
.egab-step h3 { margin: 0.35rem 0 0.5rem; font-size: 1.02rem; }
.egab-step p { font-size: 0.88rem; line-height: 1.55; }
/* Connector line between steps on desktop. */
@media (min-width: 992px) {
  .egab-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 3px;
    right: -0.85rem;
    width: 0.85rem;
    height: 2px;
    background: var(--egab-border);
  }
}

/* ---------- Topic jump nav ---------- */
.egab-faq-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}
.egab-faq-jump a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--egab-border);
  color: var(--egab-navy);
  font-weight: 600;
  font-size: 0.88rem;
  min-height: 44px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.egab-faq-jump a:hover {
  border-color: var(--egab-blue);
  box-shadow: var(--egab-shadow-md);
  transform: translateY(-2px);
  color: var(--egab-navy);
}
.egab-faq-jump a i { color: var(--egab-blue); }
.egab-faq-jump-count {
  background: var(--egab-surface);
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
  font-size: 0.75rem;
  color: var(--egab-muted);
  font-weight: 700;
}

/* ---------- Question groups ---------- */
.egab-faq-group { margin-bottom: 3rem; }
.egab-faq-group:last-of-type { margin-bottom: 0; }
.egab-faq-group[hidden] { display: none; }
.egab-faq-group-head {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--egab-border);
}
.egab-faq-group-head .egab-icon-badge { flex: 0 0 auto; }
.egab-faq-accordion .accordion-item[hidden] { display: none; }

.egab-faq-empty {
  text-align: center;
  color: var(--egab-muted);
  padding: 2.5rem 1rem;
  margin: 0;
}
.egab-faq-empty i { display: block; font-size: 1.75rem; color: var(--egab-border); margin-bottom: 0.75rem; }
.egab-faq-empty a { color: var(--egab-blue); font-weight: 700; }
