/* GetMyAI ecosystem leftovers — products mega menu styles only
   (Meet your AI Employees / orbit / journey styles removed) */

/* —— Products mega menu (HubSpot-style) —— */
.header-con .navbar-light .navbar-nav .dropdown-menu.mega-menu.gmp-products-mega {
  padding: 1.75rem 2rem 2rem !important;
}

@media (max-width: 1440px) {
  .header-con .navbar-light .navbar-nav .dropdown-menu.mega-menu.gmp-products-mega {
    padding: 1.25rem 1.25rem 1.5rem !important;
  }
}

.gmp-products-mega__header {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 1.5rem !important;
  padding-bottom: 1.25rem !important;
  margin-bottom: 1.25rem !important;
  border-bottom: 1px solid #e9e9e9 !important;
}

.gmp-products-mega__header-text h6 {
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  color: var(--e-global-color-black, #0f172a) !important;
  margin: 0 0 0.4rem !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  background: transparent !important;
  text-align: left !important;
  padding: 0 !important;
}

.gmp-products-mega__header-text p {
  margin: 0 !important;
  color: #64748b !important;
  font-size: 0.9375rem !important;
  line-height: 1.5 !important;
  max-width: 36rem !important;
}

.gmp-products-mega__header-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 0.65rem !important;
  flex-shrink: 0 !important;
}

.gmp-products-mega__btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  padding: 0.55rem 0.9rem !important;
  border: 1px solid #d1d5db !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  color: var(--e-global-color-accent, #245ae2) !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease !important;
}

.gmp-products-mega__btn svg {
  font-size: 0.85rem !important;
}

.gmp-products-mega__btn:hover,
.gmp-products-mega__btn:focus-visible {
  background: rgba(36, 90, 226, 0.06) !important;
  border-color: rgba(36, 90, 226, 0.35) !important;
  color: var(--e-global-color-accent-dark, #2051cb) !important;
  text-decoration: none !important;
  outline: none !important;
}

.gmp-products-mega__grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0.35rem !important;
}

@media (min-width: 768px) {
  .gmp-products-mega__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.5rem 1rem !important;
  }
}

@media (min-width: 1200px) {
  .gmp-products-mega__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0.5rem 1.25rem !important;
  }
}

.gmp-products-mega__item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.75rem !important;
  padding: 0.85rem 0.75rem !important;
  border-radius: 8px !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  text-decoration: none !important;
  color: inherit !important;
  transition: background 0.2s ease !important;
}

.gmp-products-mega__item:hover,
.gmp-products-mega__item:focus-visible {
  background: #f5f5f5 !important;
  outline: none !important;
  text-decoration: none !important;
  color: inherit !important;
}

.gmp-products-mega__item-icon {
  flex-shrink: 0 !important;
  width: 1.35rem !important;
  height: 1.35rem !important;
  margin-top: 0.15rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.15rem !important;
  line-height: 1 !important;
}

.gmp-products-mega__item[data-theme="blue"] .gmp-products-mega__item-icon {
  color: #2563eb !important;
}

.gmp-products-mega__item[data-theme="green"] .gmp-products-mega__item-icon {
  color: #059669 !important;
}

.gmp-products-mega__item[data-theme="orange"] .gmp-products-mega__item-icon {
  color: #d97706 !important;
}

.gmp-products-mega__item[data-theme="purple"] .gmp-products-mega__item-icon {
  color: #7c3aed !important;
}

.gmp-products-mega__item-body {
  min-width: 0 !important;
}

.gmp-products-mega__item-title {
  font-size: 0.9375rem !important;
  font-weight: 700 !important;
  color: var(--e-global-color-black, #0f172a) !important;
  line-height: 1.35 !important;
  margin: 0 0 0.35rem !important;
}

.gmp-products-mega__item-desc {
  font-size: 0.8125rem !important;
  color: #64748b !important;
  line-height: 1.5 !important;
  margin: 0 0 0.55rem !important;
}

.gmp-products-mega__item-link {
  display: inline-block !important;
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  color: var(--e-global-color-black, #0f172a) !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}

.gmp-products-mega__item:hover .gmp-products-mega__item-link,
.gmp-products-mega__item:focus-visible .gmp-products-mega__item-link {
  color: var(--e-global-color-accent, #245ae2) !important;
}

@media (max-width: 991px) {
  .gmp-products-mega__header {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .gmp-products-mega__header-actions {
    justify-content: flex-start !important;
  }
}

/* —— Workspace showcase product selector (removed) —— */
.workspace-showcase-heading {
  margin-bottom: 28px !important;
}

/*
.workspace-product-selector {
  max-width: 420px !important;
  margin: 0 auto 8px !important;
  text-align: center !important;
  position: relative !important;
  z-index: 5 !important;
}
*/

.workspace-product-selector__label {
  display: block !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  color: var(--e-global-color-text, #5f5f5f) !important;
  margin-bottom: 10px !important;
}

.workspace-product-selector__control {
  position: relative !important;
}

.workspace-product-selector__trigger {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 12px 18px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(36, 90, 226, 0.14) !important;
  background: #ffffff !important;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08) !important;
  color: var(--e-global-color-dark, #2f2f2f) !important;
  font-family: inherit !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  cursor: pointer !important;
  transition: border-color 0.25s ease-in-out, box-shadow 0.25s ease-in-out,
    background 0.25s ease-in-out, color 0.25s ease-in-out !important;
}

.workspace-product-selector__trigger:hover {
  border-color: rgba(36, 90, 226, 0.35) !important;
  box-shadow: 0 18px 45px rgba(36, 90, 226, 0.12) !important;
}

.workspace-product-selector__trigger:focus {
  outline: none !important;
}

.workspace-product-selector__trigger:focus-visible {
  border-color: var(--e-global-color-accent, #245ae2) !important;
  box-shadow: 0 0 0 3px rgba(36, 90, 226, 0.22),
    0 18px 45px rgba(15, 23, 42, 0.08) !important;
}

.workspace-product-selector__trigger.is-open {
  border-color: var(--e-global-color-accent, #245ae2) !important;
  box-shadow: 0 0 0 3px rgba(36, 90, 226, 0.16),
    0 18px 45px rgba(15, 23, 42, 0.08) !important;
}

.workspace-product-selector__value {
  text-align: left !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.workspace-product-selector__chevron {
  flex-shrink: 0 !important;
  font-size: 0.75rem !important;
  color: var(--e-global-color-accent, #245ae2) !important;
  transition: transform 0.25s ease-in-out !important;
}

.workspace-product-selector__trigger.is-open .workspace-product-selector__chevron {
  transform: rotate(180deg) !important;
}

.workspace-product-selector__menu {
  list-style: none !important;
  margin: 8px 0 0 !important;
  padding: 8px !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: calc(100% + 2px) !important;
  border-radius: 14px !important;
  border: 1px solid rgba(36, 90, 226, 0.12) !important;
  background: #ffffff !important;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12) !important;
  z-index: 20 !important;
  animation: workspace-product-menu-in 0.2s ease-out !important;
}

.workspace-product-selector__option {
  width: 100% !important;
  display: block !important;
  text-align: left !important;
  border: 0 !important;
  background: transparent !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  font-family: inherit !important;
  font-size: 0.9375rem !important;
  font-weight: 500 !important;
  color: var(--e-global-color-text, #5f5f5f) !important;
  cursor: pointer !important;
  transition: background 0.2s ease-in-out, color 0.2s ease-in-out !important;
}

.workspace-product-selector__option:hover,
.workspace-product-selector__option:focus-visible {
  background: linear-gradient(90deg, #f6f8ff 0%, #f0f5ff 50%, #fef6ff 100%) !important;
  color: var(--e-global-color-accent, #245ae2) !important;
  outline: none !important;
}

.workspace-product-selector__option.is-selected {
  background: var(--e-global-color-accent, #245ae2) !important;
  color: #ffffff !important;
  box-shadow: 0px 7px 14px 0px rgb(0 0 0 / 15%),
    0px -5px 0px 0px rgb(20 58 154 / 62%) inset,
    0px 4px 0px 0px rgb(255 255 255 / 60%) inset !important;
}

.workspace-showcase-tabs {
  margin-top: 36px !important;
  transition: opacity 0.25s ease-in-out !important;
}

.workspace-showcase-tabs .platform-tab-content .tab-pane {
  transition: opacity 0.3s ease-in-out !important;
}

@keyframes workspace-product-menu-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 767px) {
  .workspace-product-selector {
    max-width: 100% !important;
    padding: 0 4px !important;
    margin-bottom: 4px !important;
  }

  .workspace-showcase-heading {
    margin-bottom: 22px !important;
  }
}
