/**
 * Shared hub-page hero shell — matches homepage enterprise hero:
 * centered on small screens, left copy + right visual from 1024px.
 */

.gw-hub-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .gw-hub-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.5rem;
  }
}

.gw-hub-hero__content {
  text-align: center;
}

@media (min-width: 1024px) {
  .gw-hub-hero__content {
    text-align: left;
  }
}

.gw-hub-hero__content .gw-be-breadcrumb,
.gw-hub-hero__content .gw-pe-breadcrumb,
.gw-hub-hero__content .gw-fc-breadcrumb {
  justify-content: center;
}

@media (min-width: 1024px) {
  .gw-hub-hero__content .gw-be-breadcrumb,
  .gw-hub-hero__content .gw-pe-breadcrumb,
  .gw-hub-hero__content .gw-fc-breadcrumb {
    justify-content: flex-start;
  }
}

.gw-hub-hero__content .gw-be-hero__desc,
.gw-hub-hero__content .gw-pe-hero__desc,
.gw-hub-hero__content .gw-fc-hero__desc,
.gw-hub-hero__content .gw-cp-hero__desc,
.gw-hub-hero__content .gw-ab-hero__desc {
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1024px) {
  .gw-hub-hero__content .gw-be-hero__desc,
  .gw-hub-hero__content .gw-pe-hero__desc,
  .gw-hub-hero__content .gw-fc-hero__desc,
  .gw-hub-hero__content .gw-cp-hero__desc,
  .gw-hub-hero__content .gw-ab-hero__desc {
    margin-left: 0;
    margin-right: 0;
  }
}

.gw-hub-hero__content .gw-pe-detail-meta,
.gw-hub-hero__content .gw-cs-chips {
  justify-content: center;
}

@media (min-width: 1024px) {
  .gw-hub-hero__content .gw-pe-detail-meta,
  .gw-hub-hero__content .gw-cs-chips {
    justify-content: flex-start;
  }
}

.gw-hub-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  justify-content: center;
  margin-top: 2.25rem;
}

@media (min-width: 1024px) {
  .gw-hub-hero__actions {
    justify-content: flex-start;
  }
}

.gw-hub-hero__trust {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  justify-content: center;
  font-size: 0.8125rem;
  color: color-mix(in srgb, var(--color-text-body, #1b1b1b) 78%, transparent);
}

@media (min-width: 1024px) {
  .gw-hub-hero__trust {
    justify-content: flex-start;
  }
}

.gw-hub-hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.gw-hub-hero__trust li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--color-button-primary-bg, #137f15);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-button-primary-bg, #137f15) 18%, transparent);
}

/* Right visual collage */
.gw-hub-hero__visual {
  display: none;
  position: relative;
  min-height: 22rem;
}

@media (min-width: 1024px) {
  .gw-hub-hero__visual {
    display: block;
  }
}

.gw-hub-hero__stage {
  position: relative;
  width: 100%;
  max-width: 28rem;
  margin-left: auto;
  min-height: 22rem;
}

.gw-hub-hero__card {
  position: absolute;
  padding: 1rem 1.15rem;
  border-radius: 1rem;
  background: color-mix(in srgb, var(--color-surface-raised, #fff) 92%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-text-heading, #13009a) 12%, transparent);
  box-shadow: 0 18px 44px color-mix(in srgb, var(--color-text-heading, #13009a) 10%, transparent);
  backdrop-filter: blur(10px);
  animation: gw-hub-hero-float 8s ease-in-out infinite;
}

.gw-hub-hero__card--main {
  top: 8%;
  left: 4%;
  width: 62%;
  animation-delay: 0s;
}

.gw-hub-hero__card--metric {
  top: 36%;
  right: 0;
  width: 48%;
  animation-delay: -2.5s;
}

.gw-hub-hero__card--chip {
  bottom: 10%;
  left: 18%;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-heading, #13009a);
  animation-delay: -5s;
}

.gw-hub-hero__card-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--color-text-body, #1b1b1b) 70%, transparent);
  margin-bottom: 0.65rem;
}

.gw-hub-hero__dot,
.gw-hub-hero__chip-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--color-button-primary-bg, #137f15);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-button-primary-bg, #137f15) 18%, transparent);
  flex-shrink: 0;
}

.gw-hub-hero__bars {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  height: 3.25rem;
}

.gw-hub-hero__bars span {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(
    to top,
    var(--color-button-primary-bg, #137f15),
    color-mix(in srgb, var(--color-text-heading, #13009a) 40%, var(--color-button-primary-bg, #137f15))
  );
}

.gw-hub-hero__bars span:nth-child(1) { height: 42%; }
.gw-hub-hero__bars span:nth-child(2) { height: 68%; }
.gw-hub-hero__bars span:nth-child(3) { height: 55%; }
.gw-hub-hero__bars span:nth-child(4) { height: 88%; }
.gw-hub-hero__bars span:nth-child(5) { height: 62%; }

.gw-hub-hero__metric {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-text-heading, #13009a);
  line-height: 1;
}

.gw-hub-hero__metric-label {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: color-mix(in srgb, var(--color-text-body, #1b1b1b) 72%, transparent);
}

@keyframes gw-hub-hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .gw-hub-hero__card {
    animation: none;
  }
}

html.dark .gw-hub-hero__card {
  background: color-mix(in srgb, var(--color-dm-elevated, #121826) 92%, transparent);
  border-color: color-mix(in srgb, var(--color-dm-text, #e8ecf8) 12%, transparent);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}

html.dark .gw-hub-hero__metric,
html.dark .gw-hub-hero__card--chip {
  color: var(--color-dm-text, #e8ecf8);
}
