/* ==========================================================================
   GLANCEIFY DESIGN SYSTEM (Enterprise Healthcare Operating System)
   Philosophy: Simple, Clean, Professional, Trustworthy, and Premium.
   Typography: Inter / System Sans-Serif
   Color Palette: Deep Slate Navy (#0B192C), Sapphire (#1D4ED8), 
                  Clinical Emerald (#059669), Neutral Surfaces (#FFFFFF / #F8FAFC)
   ========================================================================== */

:root {
  /* Brand & Status Colors */
  --g-navy: #0b192c;
  --g-blue: #1d4ed8;
  --g-blue-hover: #1e40af;
  --g-blue-light: #eff6ff;
  --g-green: #059669;
  --g-green-light: #ecfdf5;
  --g-amber: #d97706;
  --g-amber-light: #fffbeb;

  /* Neutrals & Surfaces */
  --g-dark: #0f172a;        /* Primary headings */
  --g-body: #334155;        /* Body text - WCAG AAA */
  --g-muted: #64748b;       /* Supporting captions */
  --g-subtle: #94a3b8;      /* Borders / icons subtle */
  --g-border: #e2e8f0;      /* Standard hairline border */
  --g-border-hover: #cbd5e1;
  --g-bg: #ffffff;          /* Pure white base */
  --g-surface: #f8fafc;     /* Subtle light surface */
  --g-surface-alt: #f1f5f9; /* Secondary light surface */
  --g-dark-surface: #090d16;

  /* Typography Stack */
  --g-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Geometry & Radius */
  --g-radius-xs: 4px;
  --g-radius-sm: 6px;
  --g-radius-md: 8px;
  --g-radius-lg: 12px;
  --g-radius-pill: 9999px;

  /* Elevation (Restrained & Minimal) */
  --g-shadow-subtle: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
  --g-shadow-card: 0 1px 3px 0 rgba(15, 23, 42, 0.06), 0 1px 2px -1px rgba(15, 23, 42, 0.04);
  --g-shadow-hover: 0 4px 16px -2px rgba(15, 23, 42, 0.08);
  --g-shadow-dropdown: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);

  /* Legacy variable compatibility */
  --glance-indigo: var(--g-blue);
  --glance-navy: var(--g-navy);
  --glance-border: var(--g-border);
}

/* --------------------------------------------------------------------------
   GLOBAL RESET & TYPOGRAPHY FOUNDATIONS
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-family: var(--g-font-sans);
  font-size: 16px;
  color: var(--g-body);
  background-color: var(--g-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--g-font-sans) !important;
  font-size: 15.5px !important;
  line-height: 1.65 !important;
  color: var(--g-body) !important;
  background-color: var(--g-bg) !important;
  overflow-x: hidden !important;
  width: 100% !important;
}

#wrapper {
  overflow-x: hidden !important;
  width: 100% !important;
  position: relative !important;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--g-font-sans) !important;
  color: var(--g-dark) !important;
  font-weight: 700 !important;
  margin-top: 0;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
  font-weight: 600 !important;
}

p {
  color: var(--g-body);
  margin-bottom: 1rem;
  line-height: 1.65;
}

a {
  color: var(--g-blue);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--g-blue-hover);
}

/* --------------------------------------------------------------------------
   ACCESSIBILITY: Skip Link & Focus States
   -------------------------------------------------------------------------- */
.skip-to-main {
  position: absolute;
  top: -999px;
  left: 16px;
  z-index: 99999;
  padding: 12px 20px;
  background: var(--g-navy);
  color: #ffffff !important;
  font-weight: 600;
  border-radius: var(--g-radius-sm);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: top 0.2s ease;
}

.skip-to-main:focus {
  top: 16px;
  outline: 2px solid var(--g-blue);
  outline-offset: 2px;
}

:focus-visible {
  outline: 2px solid var(--g-blue) !important;
  outline-offset: 2px !important;
}

/* --------------------------------------------------------------------------
   TOP ANNOUNCEMENT BAR (Clean, Single Line, High-Contrast)
   -------------------------------------------------------------------------- */
.glance-announcement-bar {
  background: var(--g-navy);
  color: #ffffff;
  font-size: 13px;
  padding: 8px 16px;
  position: relative;
  z-index: 1030;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.glance-announcement-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.glance-announcement-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.glance-announcement-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(5, 150, 105, 0.2);
  border: 1px solid rgba(5, 150, 105, 0.4);
  color: #34d399;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--g-radius-pill);
}

.glance-announcement-pill.partner-pill {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
  color: #93c5fd;
}

.glance-announcement-text {
  color: #cbd5e1;
  font-weight: 400;
}

.glance-announcement-text strong {
  color: #ffffff;
  font-weight: 600;
}

.glance-announcement-link {
  color: #60a5fa !important;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.glance-announcement-link:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

.glance-announcement-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
}

.glance-announcement-right a {
  color: #e2e8f0;
  text-decoration: none;
}

.glance-announcement-right a:hover {
  color: #ffffff;
}

@media (max-width: 991px) {
  .glance-announcement-bar {
    padding: 8px 12px;
    font-size: 12px;
  }
  .glance-announcement-inner {
    justify-content: center;
    text-align: center;
  }
  .glance-announcement-right {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   MAIN HEADER & NAVIGATION BAR
   -------------------------------------------------------------------------- */
header,
header.transparent,
header.header-light,
header.scroll-light {
  background: #ffffff !important;
  border-bottom: 1px solid var(--g-border) !important;
  padding: 0 !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1020 !important;
  width: 100% !important;
  box-shadow: var(--g-shadow-subtle) !important;
}

.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

#logo {
  display: flex;
  align-items: center;
}

#logo a {
  display: inline-flex;
  align-items: center;
}

#logo img {
  height: 36px;
  width: auto;
  display: block;
}

/* Desktop Main Menu */
@media (min-width: 992px) {
  .header-nav-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  #mainmenu {
    display: flex !important;
    align-items: center !important;
    gap: 2px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  #mainmenu > li {
    position: relative !important;
    list-style: none !important;
    display: inline-flex !important;
    align-items: center !important;
    height: 72px;
  }

  #mainmenu > li > a.menu-item {
    font-size: 14.5px !important;
    font-weight: 500 !important;
    color: var(--g-body) !important;
    padding: 8px 12px !important;
    border-radius: var(--g-radius-sm) !important;
    text-decoration: none !important;
    transition: all 0.15s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
  }

  #mainmenu > li > a.menu-item:hover {
    color: var(--g-blue) !important;
    background: transparent !important;
  }

  #mainmenu > li > a.menu-item.active {
    color: var(--g-blue) !important;
    font-weight: 600 !important;
    background: transparent !important;
  }

  .glance-mobile-drawer,
  .mobile-menu-backdrop,
  .btn-menu-hamburger,
  #menu-btn {
    display: none !important;
  }

  #menu-btn:before,
  #menu-btn:after {
    display: none !important;
    content: none !important;
  }

  .mega-arrow {
    font-size: 10px !important;
    transition: transform 0.2s ease !important;
  }

  #mainmenu > li:hover .mega-arrow {
    transform: rotate(180deg);
  }

  /* Clear default theme pseudo elements */
  #mainmenu > li:after,
  #mainmenu > li.has-child:after,
  #mainmenu li.has-child:after {
    display: none !important;
    content: none !important;
  }

  /* Company Standard Dropdown */
  #mainmenu li.has-child ul {
    position: absolute !important;
    top: 68px !important;
    left: 0 !important;
    background: #ffffff !important;
    border: 1px solid var(--g-border) !important;
    border-radius: var(--g-radius-md) !important;
    box-shadow: var(--g-shadow-dropdown) !important;
    min-width: 190px !important;
    padding: 6px !important;
    list-style: none !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: block !important;
    z-index: 1050 !important;
  }

  #mainmenu li.has-child:hover ul {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }

  #mainmenu li.has-child ul li {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
  }

  #mainmenu li.has-child ul li a {
    display: block !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--g-dark) !important;
    border-radius: var(--g-radius-xs) !important;
    text-decoration: none !important;
    transition: background 0.15s ease, color 0.15s ease !important;
  }

  #mainmenu li.has-child ul li a:hover,
  #mainmenu li.has-child ul li a.active {
    background: var(--g-surface) !important;
    color: var(--g-blue) !important;
  }

  /* Products Mega Menu Dropdown */
  .glance-mega-dropdown {
    position: absolute !important;
    top: 68px !important;
    left: -170px !important;
    background: #ffffff !important;
    border: 1px solid var(--g-border) !important;
    border-radius: var(--g-radius-lg) !important;
    box-shadow: var(--g-shadow-dropdown) !important;
    width: 730px !important;
    padding: 16px !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 1050 !important;
    display: block !important;
    margin: 0 !important;
    list-style: none !important;
  }

  .has-mega-menu:hover .glance-mega-dropdown,
  .has-mega-menu.hover-active .glance-mega-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }

  .glance-mega-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
  }

  .glance-mega-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 10px 12px !important;
    border-radius: var(--g-radius-md) !important;
    text-decoration: none !important;
    transition: background 0.15s ease, border-color 0.15s ease !important;
    border: 1px solid transparent !important;
  }

  .glance-mega-item:hover {
    background: var(--g-surface) !important;
    border-color: var(--g-border) !important;
  }

  .glance-mega-item .mega-icon {
    width: 34px;
    height: 34px;
    border-radius: var(--g-radius-sm);
    background: var(--g-blue-light);
    color: var(--g-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
  }

  .glance-mega-item.mint-accent .mega-icon {
    background: var(--g-green-light);
    color: var(--g-green);
  }

  .glance-item-content {
    flex: 1;
    min-width: 0;
  }

  .glance-item-title {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: var(--g-dark) !important;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 2px;
  }

  .glance-item-desc {
    font-size: 12.5px !important;
    color: var(--g-muted) !important;
    line-height: 1.4 !important;
    margin: 0 !important;
  }

  .glance-item-tag {
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    padding: 2px 7px !important;
    border-radius: var(--g-radius-pill) !important;
    background: #e0f2fe !important;
    color: #0369a1 !important;
    line-height: 1.2 !important;
    display: inline-block !important;
    white-space: nowrap !important;
    letter-spacing: 0.02em;
  }

  .glance-mega-item.mint-accent .glance-item-tag {
    background: #ecfdf5 !important;
    color: #047857 !important;
  }

  .glance-mega-footer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--g-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    color: var(--g-muted);
  }

  .glance-mega-footer a {
    color: var(--g-blue);
    font-weight: 600;
  }
}

/* Header Action Right */
.header-action {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   BUTTON SYSTEM (Refined, Confident, Consistent)
   -------------------------------------------------------------------------- */
.btn-glance-primary,
.btn-header-demo {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background-color: var(--g-blue) !important;
  color: #ffffff !important;
  font-family: var(--g-font-sans) !important;
  font-weight: 600 !important;
  font-size: 14.5px !important;
  line-height: 1 !important;
  padding: 11px 20px !important;
  border-radius: var(--g-radius-sm) !important;
  border: 1px solid transparent !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08) !important;
}

.btn-glance-primary:hover,
.btn-header-demo:hover {
  background-color: var(--g-blue-hover) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(29, 78, 216, 0.25) !important;
}

.btn-glance-secondary,
.btn-glance-outline {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background-color: #ffffff !important;
  color: var(--g-dark) !important;
  font-family: var(--g-font-sans) !important;
  font-weight: 600 !important;
  font-size: 14.5px !important;
  line-height: 1 !important;
  padding: 11px 20px !important;
  border-radius: var(--g-radius-sm) !important;
  border: 1px solid var(--g-border-hover) !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.btn-glance-secondary:hover,
.btn-glance-outline:hover {
  background-color: var(--g-surface) !important;
  border-color: var(--g-dark) !important;
  color: var(--g-dark) !important;
}

.btn-glance-dark {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background-color: var(--g-navy) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 14.5px !important;
  padding: 11px 20px !important;
  border-radius: var(--g-radius-sm) !important;
  border: 1px solid transparent !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
}

.btn-glance-dark:hover {
  background-color: var(--g-dark) !important;
  color: #ffffff !important;
}

.btn-glance-sm {
  padding: 7px 14px !important;
  font-size: 13px !important;
}

/* --------------------------------------------------------------------------
   MOBILE NAVIGATION DRAWER & OFF-CANVAS
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .header-nav-wrap,
  .btn-header-demo {
    display: none !important;
  }

  #menu-btn,
  .btn-menu-hamburger {
    background: #ffffff !important;
    border: 1px solid var(--g-border) !important;
    border-radius: var(--g-radius-sm) !important;
    width: 38px !important;
    height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--g-dark) !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
    position: static !important;
    font-size: 16px !important;
    line-height: 1 !important;
    transition: all 0.15s ease !important;
  }

  #menu-btn:hover,
  .btn-menu-hamburger:hover {
    background: var(--g-surface) !important;
    border-color: var(--g-border-hover) !important;
  }

  #menu-btn:before,
  #menu-btn:after,
  header.header-mobile #menu-btn:before,
  header.header-mobile #menu-btn:after {
    display: none !important;
    content: none !important;
  }

  .glance-mobile-drawer {
    position: fixed !important;
    top: 0 !important;
    right: -340px !important;
    width: 320px !important;
    max-width: 86vw !important;
    height: 100vh !important;
    background: #ffffff !important;
    box-shadow: -8px 0 32px rgba(15, 23, 42, 0.2) !important;
    z-index: 9999 !important;
    display: flex !important;
    flex-direction: column !important;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    visibility: hidden;
  }

  .glance-mobile-drawer.open {
    right: 0 !important;
    visibility: visible !important;
  }

  .mobile-drawer-header {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--g-border);
    background: var(--g-surface);
  }

  .mobile-drawer-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--g-dark);
  }

  .btn-mobile-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--g-border);
    background: #ffffff;
    color: var(--g-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
  }

  .btn-mobile-close:hover {
    background: #f1f5f9;
    color: var(--g-dark);
  }

  .mobile-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 14px 16px;
  }

  .mobile-nav-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: var(--g-radius-sm);
    font-size: 15px;
    font-weight: 500;
    color: var(--g-dark);
    text-decoration: none;
    transition: all 0.15s ease;
  }

  .mobile-nav-link i {
    width: 18px;
    color: var(--g-muted);
  }

  .mobile-nav-link:hover,
  .mobile-nav-link.active {
    background: var(--g-blue-light);
    color: var(--g-blue);
  }

  .mobile-nav-link:hover i,
  .mobile-nav-link.active i {
    color: var(--g-blue);
  }

  .mobile-nav-item {
    list-style: none !important;
  }

  .mobile-nav-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 12px;
    border-radius: var(--g-radius-sm);
    font-size: 15px;
    font-weight: 500;
    color: var(--g-dark);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.15s ease;
  }

  .mobile-nav-toggle span {
    display: inline-flex;
    align-items: center;
    gap: 12px;
  }

  .mobile-nav-toggle i.fa-layer-group,
  .mobile-nav-toggle i.fa-building {
    width: 18px;
    color: var(--g-muted);
  }

  .mobile-nav-toggle:hover {
    background: var(--g-surface);
  }

  .mobile-chevron {
    font-size: 11px;
    color: var(--g-muted);
    transition: transform 0.2s ease;
  }

  .mobile-sub-menu {
    display: none;
    padding: 4px 0 6px 12px;
    flex-direction: column;
    gap: 4px;
  }

  .mobile-sub-menu.show {
    display: flex;
  }

  .mobile-sub-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--g-radius-sm);
    text-decoration: none;
    color: var(--g-dark);
    transition: background 0.15s ease;
  }

  .mobile-sub-item:hover,
  .mobile-sub-item.active {
    background: var(--g-surface);
  }

  .mobile-sub-item strong {
    display: block;
    font-size: 13.5px;
    line-height: 1.3;
    color: var(--g-dark);
  }

  .mobile-sub-item small {
    display: block;
    font-size: 11.5px;
    color: var(--g-muted);
    line-height: 1.3;
  }

  .mobile-sub-icon {
    width: 26px;
    height: 26px;
    border-radius: 4px;
    background: var(--g-blue-light);
    color: var(--g-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 2px;
  }

  .mobile-sub-icon.mint {
    background: var(--g-green-light);
    color: var(--g-green);
  }

  .mobile-drawer-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--g-border);
    background: var(--g-surface);
  }

  .mobile-menu-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 23, 42, 0.45) !important;
    backdrop-filter: blur(2px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.25s ease, visibility 0.25s ease !important;
    z-index: 9998 !important;
  }

  .mobile-menu-backdrop.active {
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* --------------------------------------------------------------------------
   UNIVERSAL SUBHEADER / EDITORIAL PAGE HEADERS
   Completely removes dark jarallax and black overlays.
   -------------------------------------------------------------------------- */
#subheader,
section#subheader,
.page-header-editorial {
  position: relative !important;
  background: var(--g-surface) !important;
  border-bottom: 1px solid var(--g-border) !important;
  padding: 64px 0 52px 0 !important;
  overflow: hidden !important;
}

#subheader .de-overlay,
#subheader .jarallax-img {
  display: none !important;
}

#subheader h1,
.page-header-editorial h1 {
  color: var(--g-dark) !important;
  font-size: clamp(30px, 4vw, 44px) !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;
  margin-bottom: 12px !important;
  line-height: 1.2 !important;
}

#subheader .lead,
.page-header-editorial .lead {
  color: var(--g-muted) !important;
  font-size: 17px !important;
  max-width: 720px;
  margin-bottom: 0;
  line-height: 1.6;
}

/* Breadcrumbs */
.crumb,
#subheader .crumb,
.crumb.s2 {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 12px 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13.5px !important;
  color: var(--g-muted) !important;
}

.crumb li,
#subheader .crumb li {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: var(--g-muted) !important;
}

.crumb li a,
#subheader .crumb li a {
  color: var(--g-muted) !important;
  text-decoration: none !important;
  transition: color 0.15s ease !important;
}

.crumb li a:hover,
#subheader .crumb li a:hover {
  color: var(--g-blue) !important;
}

.crumb li:after,
#subheader .crumb li:after {
  content: "/" !important;
  color: var(--g-subtle) !important;
}

.crumb li:last-child:after,
#subheader .crumb li:last-child:after {
  content: "" !important;
}

.crumb li.active,
#subheader .crumb li.active {
  color: var(--g-dark) !important;
  font-weight: 600 !important;
}

/* --------------------------------------------------------------------------
   HOMEPAGE HERO SECTION
   -------------------------------------------------------------------------- */
.glance-home-hero {
  padding: 96px 0 72px 0 !important;
  background: #ffffff !important;
  position: relative !important;
}

.glance-hero-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 4px 14px !important;
  background: var(--g-surface) !important;
  border: 1px solid var(--g-border) !important;
  border-radius: var(--g-radius-pill) !important;
  margin-bottom: 24px !important;
  font-size: 13px !important;
  color: var(--g-muted) !important;
  font-weight: 500 !important;
}

.glance-hero-badge .badge-tag {
  background: var(--g-blue);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: var(--g-radius-pill);
  font-weight: 700;
  font-size: 11px;
}

.glance-hero-title {
  font-size: clamp(36px, 5vw, 56px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.14 !important;
  color: var(--g-dark) !important;
  max-width: 980px;
  margin: 0 auto 20px auto !important;
}

.glance-hero-title .highlight {
  color: var(--g-blue);
}

.glance-hero-sub {
  font-size: clamp(16px, 2vw, 19px) !important;
  line-height: 1.6 !important;
  color: var(--g-body) !important;
  max-width: 780px;
  margin: 0 auto 36px auto !important;
}

.glance-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   STATISTICS & TRUST BAR
   -------------------------------------------------------------------------- */
.glance-trust-strip {
  border-top: 1px solid var(--g-border);
  border-bottom: 1px solid var(--g-border);
  background: #ffffff;
  padding: 24px 0;
}

.glance-stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.glance-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--g-radius-sm);
  background: var(--g-surface);
  border: 1px solid var(--g-border);
  color: var(--g-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.glance-stat-icon.emerald {
  color: var(--g-green);
  background: var(--g-green-light);
  border-color: rgba(5, 150, 105, 0.2);
}

.glance-stat-val {
  font-size: 20px;
  font-weight: 700;
  color: var(--g-dark);
  line-height: 1.2;
}

.glance-stat-lbl {
  font-size: 13px;
  color: var(--g-muted);
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   SWITCHER GRANT SECTION (High Trust, Transparent, Clean)
   -------------------------------------------------------------------------- */
.glance-switch-section {
  padding: 88px 0;
  background: var(--g-surface);
  border-bottom: 1px solid var(--g-border);
}

.glance-switch-header {
  margin-bottom: 48px;
}

.glance-switch-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--g-green);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.glance-friction-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.glance-friction-card {
  background: #ffffff;
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius-md);
  padding: 24px;
  transition: border-color 0.15s ease;
}

.glance-friction-card:hover {
  border-color: var(--g-border-hover);
}

.glance-friction-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--g-radius-sm);
  background: var(--g-surface);
  color: var(--g-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 16px;
}

.glance-friction-h {
  font-size: 17px !important;
  font-weight: 600 !important;
  margin-bottom: 8px !important;
}

.glance-friction-p {
  font-size: 14px;
  color: var(--g-muted);
  line-height: 1.55;
  margin: 0;
}

/* Comparison Table (Editorial, Clean Lines) */
.glance-compare-table {
  background: #ffffff;
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius-md);
  overflow: hidden;
}

.glance-compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--g-border);
}

.glance-compare-row:last-child {
  border-bottom: none;
}

.glance-compare-col {
  padding: 16px 24px;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}

.glance-compare-col.legacy {
  background: #ffffff;
  color: var(--g-body);
  border-right: 1px solid var(--g-border);
}

.glance-compare-col.legacy i {
  color: #dc2626;
  margin-top: 3px;
}

.glance-compare-col.modern {
  background: #ffffff;
  color: var(--g-dark);
  font-weight: 500;
}

.glance-compare-col.modern i {
  color: var(--g-green);
  margin-top: 3px;
}

@media (max-width: 767px) {
  .glance-friction-cards {
    grid-template-columns: 1fr;
  }
  .glance-compare-row {
    grid-template-columns: 1fr;
  }
  .glance-compare-col.legacy {
    border-right: none;
    border-bottom: 1px solid var(--g-border);
  }
}

/* --------------------------------------------------------------------------
   CORE PRODUCTS SUITE (Structured Grid, Scannable)
   -------------------------------------------------------------------------- */
.glance-suite-section {
  padding: 96px 0;
  background: #ffffff;
}

.glance-product-card {
  background: #ffffff;
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius-md);
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.15s ease;
}

.glance-product-card:hover {
  border-color: var(--g-blue);
  box-shadow: var(--g-shadow-hover);
  transform: translateY(-2px);
}

.glance-product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.glance-icon-emblem {
  width: 44px;
  height: 44px;
  border-radius: var(--g-radius-sm);
  background: var(--g-blue-light);
  color: var(--g-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.glance-icon-emblem.mint-accent {
  background: var(--g-green-light);
  color: var(--g-green);
}

.glance-product-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: var(--g-radius-pill);
  background: var(--g-surface);
  border: 1px solid var(--g-border);
  color: var(--g-muted);
}

.glance-product-h {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--g-dark) !important;
  margin-bottom: 8px !important;
}

.glance-product-desc {
  font-size: 14px;
  color: var(--g-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

.glance-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  font-size: 13.5px;
}

.glance-feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--g-body);
}

.glance-feature-list li i {
  color: var(--g-green);
  font-size: 12px;
}

.glance-product-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--g-blue);
  background: var(--g-surface);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius-sm);
  text-decoration: none;
  transition: all 0.15s ease;
}

.glance-product-btn:hover {
  background: var(--g-blue);
  border-color: var(--g-blue);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   DEPLOYMENT FREEDOM (Cloud vs. On-Premise)
   -------------------------------------------------------------------------- */
.glance-deploy-card {
  background: #ffffff;
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius-md);
  padding: 36px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.glance-deploy-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 32px 0;
  font-size: 14px;
}

.glance-deploy-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  line-height: 1.5;
}

.glance-deploy-list li i {
  color: var(--g-green);
  margin-top: 3px;
}

/* --------------------------------------------------------------------------
   PARTNER PROGRAM SECTION
   -------------------------------------------------------------------------- */
.glance-partner-banner {
  background: var(--g-navy);
  color: #ffffff;
  border-radius: var(--g-radius-lg);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}

.glance-partner-banner h2 {
  color: #ffffff !important;
}

.glance-partner-banner p {
  color: #cbd5e1;
}

/* --------------------------------------------------------------------------
   FAQ SECTION (Clean Accordion)
   -------------------------------------------------------------------------- */
.glance-faq-section {
  padding: 88px 0;
  background: #ffffff;
}

.accordion.s2 {
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius-md);
  overflow: hidden;
}

.accordion.s2 .accordion-section {
  border-bottom: 1px solid var(--g-border);
}

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

.accordion.s2 .accordion-section-title {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--g-dark);
  cursor: pointer;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.15s ease;
}

.accordion.s2 .accordion-section-title:hover {
  background: var(--g-surface);
}

.accordion.s2 .accordion-section-content {
  padding: 0 24px 20px 24px;
  color: var(--g-body);
  font-size: 15px;
  line-height: 1.65;
  background: #ffffff;
}

/* --------------------------------------------------------------------------
   GLOBAL FOOTER (Modern, High Contrast, Legible Design)
   -------------------------------------------------------------------------- */
footer,
footer.section-dark {
  background: #080c16 !important;
  color: #cbd5e1 !important;
  padding: 72px 0 0 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

footer .footer-col-title {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0.08em !important;
  margin-bottom: 20px !important;
  text-transform: uppercase !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

footer .footer-col-title::after {
  content: '';
  display: block;
  height: 2px;
  width: 20px;
  background: var(--g-blue);
  border-radius: 2px;
}

footer ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

footer ul li {
  margin-bottom: 11px !important;
}

footer a {
  color: #cbd5e1 !important;
  text-decoration: none !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  display: inline-block;
  transition: all 0.18s ease !important;
}

footer a:hover {
  color: #ffffff !important;
  transform: translateX(3px);
}

.footer-office-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 9px;
  transition: all 0.2s ease;
}

.footer-office-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}

.footer-office-badge {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
}

.badge-main {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.badge-registered {
  background: rgba(148, 163, 184, 0.2);
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.badge-branch {
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease !important;
}

.footer-social-btn:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  transform: translateY(-2px) !important;
}

.subfooter {
  background: #050811 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  padding: 20px 0 !important;
  margin-top: 50px;
  font-size: 13.5px;
  color: #94a3b8;
}

.subfooter a {
  color: #94a3b8 !important;
}

.subfooter a:hover {
  color: #ffffff !important;
  transform: none !important;
}

/* --------------------------------------------------------------------------
   FORM CONTROLS & CARDS (Clean, Trustworthy)
   -------------------------------------------------------------------------- */
.form-control,
.form-select {
  border: 1px solid var(--g-border-hover) !important;
  border-radius: var(--g-radius-sm) !important;
  padding: 10px 14px !important;
  font-size: 14.5px !important;
  color: var(--g-dark) !important;
  background-color: #ffffff !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--g-blue) !important;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15) !important;
  outline: none !important;
}

.form-label {
  font-weight: 600 !important;
  font-size: 13.5px !important;
  color: var(--g-dark) !important;
  margin-bottom: 6px !important;
}

/* Section Spacing Utilities */
.section-py {
  padding: 88px 0;
}

.section-py-sm {
  padding: 56px 0;
}

.section-border-top {
  border-top: 1px solid var(--g-border);
}

.section-border-bottom {
  border-bottom: 1px solid var(--g-border);
}

/* Media accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Defensive flex text-wrap fix */
.d-flex {
  white-space: normal !important;
}

.de-marquee-list,
.marquee-inner {
  white-space: nowrap !important;
}

/* ==========================================================================
   MODERN SAAS AESTHETICS (Workfast.ai & Glanceify Presentation V2)
   ========================================================================== */

/* Gradient text utility */
.glance-gradient-accent {
  background: linear-gradient(135deg, #1d4ed8 0%, #4f46e5 50%, #06b6d4 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline !important;
}

.glance-gradient-mint {
  background: linear-gradient(135deg, #059669 0%, #10b981 50%, #06b6d4 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline !important;
}

/* Modern Pill Buttons */
.btn-glance-pill-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%) !important;
  color: #ffffff !important;
  font-family: var(--g-font-sans) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  padding: 13px 28px !important;
  border-radius: 9999px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-shadow: 0 8px 20px -4px rgba(79, 70, 229, 0.4) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-glance-pill-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 28px -4px rgba(79, 70, 229, 0.55) !important;
  color: #ffffff !important;
}

.btn-glance-pill-outline {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  background: #ffffff !important;
  color: var(--g-dark) !important;
  font-family: var(--g-font-sans) !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  padding: 13px 26px !important;
  border-radius: 9999px !important;
  border: 1px solid #cbd5e1 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important;
  transition: all 0.2s ease !important;
}

.btn-glance-pill-outline:hover {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
  color: var(--g-dark) !important;
  transform: translateY(-1px) !important;
}

/* Modern Split Hero Section */
.glance-modern-hero {
  padding: 56px 0 64px 0 !important;
  background: radial-gradient(ellipse 90% 60% at 50% -10%, rgba(79, 70, 229, 0.07) 0%, rgba(248, 250, 252, 0) 70%), #ffffff !important;
  position: relative !important;
  overflow: hidden !important;
}

.glance-modern-hero-title {
  font-size: clamp(34px, 4.2vw, 54px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.15 !important;
  color: #0f172a !important;
  margin-bottom: 20px !important;
}

.glance-modern-hero-sub {
  font-size: clamp(16px, 1.8vw, 18px) !important;
  line-height: 1.65 !important;
  color: #475569 !important;
  margin-bottom: 32px !important;
  max-width: 580px;
}

.glance-hero-pill-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 6px 14px !important;
  background: rgba(79, 70, 229, 0.06) !important;
  border: 1px solid rgba(79, 70, 229, 0.16) !important;
  border-radius: 9999px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #4338ca !important;
  margin-bottom: 22px !important;
}

.glance-hero-pill-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.glance-trust-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
  margin-top: 24px;
}

.glance-trust-pill-list span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.glance-trust-pill-list i {
  color: #10b981;
}

/* Interactive Visual Ecosystem Hub (Workfast Inspired) */
.glance-ecosystem-visual {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  padding: 24px;
  position: relative;
}

.glance-hub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.glance-hub-tag {
  font-size: 12px;
  font-weight: 700;
  color: #4f46e5;
  background: #eef2ff;
  padding: 4px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.glance-hub-status {
  font-size: 12px;
  color: #10b981;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.glance-hub-core {
  background: linear-gradient(135deg, #4f46e5 0%, #2563eb 100%);
  border-radius: 16px;
  color: #ffffff;
  padding: 18px;
  text-align: center;
  box-shadow: 0 10px 25px -4px rgba(79, 70, 229, 0.35);
  margin-bottom: 20px;
  position: relative;
}

.glance-hub-core h4 {
  color: #ffffff !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  margin-bottom: 4px !important;
}

.glance-hub-core p {
  color: #e0e7ff !important;
  font-size: 12.5px !important;
  margin-bottom: 0 !important;
}

.glance-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.glance-hub-node {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
}

.glance-hub-node:hover {
  border-color: #6366f1;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -4px rgba(79, 70, 229, 0.15);
}

.glance-hub-node-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.node-hms .glance-hub-node-icon { background: #eff6ff; color: #2563eb; }
.node-lims .glance-hub-node-icon { background: #ecfdf5; color: #059669; }
.node-cms .glance-hub-node-icon { background: #f5f3ff; color: #7c3aed; }
.node-sqm .glance-hub-node-icon { background: #fff7ed; color: #ea580c; }
.node-pms .glance-hub-node-icon { background: #fdf2f8; color: #db2777; }
.node-lmc .glance-hub-node-icon { background: #ecfeff; color: #0891b2; }

.glance-hub-node-title {
  font-weight: 700;
  font-size: 13.5px;
  color: #0f172a;
  line-height: 1.2;
}

.glance-hub-node-sub {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.25;
}

.glance-hub-footer-strip {
  background: #f1f5f9;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #475569;
}

.glance-hub-footer-strip strong {
  color: #0f172a;
}

/* Section 2: Healthcare Reality Cards (Workfast "Every Founder Starts Here" Style) */
.glance-reality-section {
  padding: 84px 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.glance-reality-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.glance-reality-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -6px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.glance-reality-num {
  font-size: 12px;
  font-weight: 800;
  color: #ef4444;
  background: #fef2f2;
  border: 1px solid #fee2e2;
  padding: 3px 10px;
  border-radius: 6px;
  display: inline-block !important;
  width: fit-content !important;
  align-self: flex-start !important;
  margin-bottom: 14px;
}

.glance-reality-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fff1f2;
  color: #e11d48;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.glance-reality-title {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin-bottom: 8px !important;
  line-height: 1.3 !important;
}

.glance-reality-desc {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 0;
}

/* Section 3: 6 Core Products with Visual Workflow Pipelines */
.glance-products-v2-section {
  padding: 92px 0;
  background: #ffffff;
}

.glance-product-v2-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  position: relative;
}

.glance-product-v2-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(79, 70, 229, 0.12);
  border-color: #c7d2fe;
}

.glance-product-v2-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.glance-product-num-badge {
  font-size: 13px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 9999px;
  background: #eef2ff;
  color: #4f46e5;
  border: 1px solid #e0e7ff;
}

.glance-product-tag {
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #475569;
}

.glance-product-v2-title {
  font-size: 21px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin-bottom: 6px !important;
}

.glance-product-v2-tagline {
  font-size: 14px;
  color: #4f46e5;
  font-weight: 600;
  margin-bottom: 14px;
}

.glance-product-v2-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 20px;
}

.glance-product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 22px 0;
}

.glance-product-features li {
  font-size: 13.5px;
  color: #334155;
  margin-bottom: 9px;
  position: relative;
  padding-left: 24px;
  line-height: 1.5;
  display: block;
}

.glance-product-features li:last-child {
  margin-bottom: 0;
}

.glance-product-features li i {
  position: absolute;
  left: 0;
  top: 3px;
  color: #10b981;
  font-size: 13.5px;
  line-height: 1;
}

.glance-product-features li strong {
  color: #0f172a;
  font-weight: 600;
}

/* Pricing feature checklists with clean hanging indent */
.pricing-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-feature-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 9px;
  line-height: 1.5;
  display: block;
  font-size: 13.5px;
  color: #334155;
}

.pricing-feature-list li:last-child {
  margin-bottom: 0;
}

.pricing-feature-list li > i {
  position: absolute;
  left: 0;
  top: 3px;
  line-height: 1;
}

/* Visual Workflow Pipeline Pill Chain */
.glance-workflow-chain {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 22px;
}

.glance-workflow-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.glance-workflow-steps {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.glance-step-pill {
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #e2e8f0;
}

.glance-step-arrow {
  color: #94a3b8;
  font-size: 10px;
}

/* Section 4: Why Choose Glanceify */
.glance-why-section {
  padding: 92px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-top: 1px solid #e2e8f0;
}

.glance-why-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 26px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.glance-why-card:hover {
  transform: translateY(-3px);
  border-color: #818cf8;
  box-shadow: 0 12px 24px -4px rgba(79, 70, 229, 0.1);
}

.glance-why-num {
  font-size: 13px;
  font-weight: 800;
  color: #4f46e5;
  background: #eef2ff;
  border-radius: 9999px;
  padding: 3px 12px;
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 14px;
}

.glance-why-title {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin-bottom: 8px !important;
}

.glance-why-desc {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Section 5: Support Beyond the Software */
.glance-support-strip {
  padding: 80px 0;
  background: #0f172a;
  color: #ffffff;
}

.glance-support-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  height: 100%;
  transition: all 0.2s ease;
}

.glance-support-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.glance-support-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(79, 70, 229, 0.25);
  color: #818cf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.glance-support-card h4 {
  color: #ffffff !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  margin-bottom: 8px !important;
}

.glance-support-card p {
  color: #94a3b8 !important;
  font-size: 13.5px !important;
  line-height: 1.55 !important;
  margin-bottom: 0 !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .glance-modern-hero {
    padding: 36px 0 48px 0 !important;
    text-align: center;
  }
  .glance-modern-hero-sub {
    margin-left: auto;
    margin-right: auto;
  }
  .glance-modern-hero .d-flex.flex-wrap {
    justify-content: center;
  }
  .glance-trust-pill-list {
    justify-content: center;
  }
  .glance-ecosystem-visual {
    margin-top: 36px;
  }
}

