/* Product page — 3D icons, white stage (no blue washes), brand-blue accents */

/* Hero — clean title + lead, no page tag */
body.fgs .fgs-product-hero .fgs-hero__glow { display: none !important; }
body.fgs .fgs-product-hero.fgs-hero--page {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
body.fgs .fgs-product-hero > .fgs-container {
  display: flex;
  justify-content: center;
}
body.fgs .fgs-product-hero .fgs-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: min(1100px, 100%);
  width: 100%;
  margin-inline: auto;
  padding-top: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(8px, 2vw, 20px);
}
body.fgs .fgs-product-hero .fgs-h1,
body.fgs .fgs-product-hero .fgpm-hero-title {
  margin: 0 auto 14px;
  width: max-content;
  max-width: 100%;
  letter-spacing: -0.035em;
  white-space: nowrap;
  text-align: center;
  overflow: visible;
}
body.fgs .fgs-product-hero .fgs-lead,
body.fgs .fgs-product-hero .fgpm-hero-lead {
  margin: 0 auto;
  width: max-content;
  max-width: 100%;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.55;
  color: #94a0b6;
  white-space: nowrap;
  text-align: center;
}
@media (max-width: 860px) {
  body.fgs .fgs-product-hero .fgs-h1,
  body.fgs .fgs-product-hero .fgpm-hero-title,
  body.fgs .fgs-product-hero .fgs-lead,
  body.fgs .fgs-product-hero .fgpm-hero-lead {
    white-space: normal;
    width: auto;
    text-wrap: balance;
  }
}

/* Feature bento — kill blue wash borders, keep brand icon accents */
body.fgs .fgx-card__border {
  opacity: 0 !important;
  animation: none !important;
  background: none !important;
}
body.fgs .fgx-card {
  border-color: #e6e4df !important;
  background: #0a101b !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 14px 32px -20px rgba(13, 12, 10, 0.16) !important;
}
body.fgs .fgx-card:hover,
body.fgs .fgx-card.is-lifted {
  border-color: color-mix(in srgb, var(--brand-blue, #0a6cff) 35%, #e6e4df) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 22px 44px -22px rgba(10, 108, 255, 0.18) !important;
}

body.fgs .fgx-card__icon,
body.fgs .fgx-card__icon--sky,
body.fgs .fgx-card__icon--mint {
  color: var(--brand-blue, #5bc8ff) !important;
  background: linear-gradient(145deg, #0a101b 0%, rgba(91, 200, 255, 0.1) 100%) !important;
  border: 1px solid rgba(10, 108, 255, 0.18);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 5px 0 -1px #c7e0ff,
    0 6px 0 0 #9ec8ff,
    0 12px 16px -10px rgba(10, 108, 255, 0.35) !important;
  animation: none !important;
  transform: rotateX(10deg) rotateY(-8deg);
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
body.fgs .fgx-card:hover .fgx-card__icon {
  transform: rotateX(4deg) rotateY(-3deg) translateY(-2px);
}

/* Deploy ticks → real feature icons */
body.fgs .fgx-ticks li::before { display: none !important; }
body.fgs .fgx-ticks li {
  align-items: flex-start;
  gap: 10px;
}
body.fgs .fgx-ticks .fgs-fi {
  margin-top: 0;
}

/* Pipeline — brand-blue active state */
body.fgs .fgx-pipeline__step.is-done,
body.fgs .fgx-pipeline__step.is-active {
  background: var(--brand-gradient, linear-gradient(105deg, #0a6cff 0%, #44d1fd 100%)) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 10px 20px -12px rgba(10, 108, 255, 0.45) !important;
}
body.fgs .fgx-pipeline__beam {
  background: linear-gradient(90deg, #c7e0ff, #0d1524) !important;
}

/* Deep-dive feature lists — 3D brand icons */
body.fgs .fgs-feature-list .tick {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  color: var(--brand-blue, #5bc8ff);
  background: linear-gradient(145deg, #0a101b 0%, rgba(91, 200, 255, 0.1) 100%);
  border: 1px solid rgba(10, 108, 255, 0.18);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 4px 0 -1px #c7e0ff,
    0 5px 0 0 #9ec8ff,
    0 8px 12px -8px rgba(10, 108, 255, 0.35);
}
body.fgs .fgs-feature-list a {
  color: var(--brand-blue, #5bc8ff);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Steps — extruded brand number tiles */
body.fgs .fgs-step__num {
  background: var(--brand-gradient, linear-gradient(105deg, #0a6cff 0%, #44d1fd 100%)) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 6px 0 -1px #0553c7,
    0 12px 18px -10px rgba(10, 108, 255, 0.45) !important;
  border-radius: 12px;
}

/* Info cards */
body.fgs .fgs-card {
  background: #0a101b !important;
  border: 1px solid #e6e4df !important;
  box-shadow: 0 12px 28px -20px rgba(13, 12, 10, 0.16) !important;
}
body.fgs .fgs-card--violet {
  background: #0a101b !important;
}
body.fgs .fgs-card__icon {
  color: var(--brand-blue, #5bc8ff) !important;
  background: linear-gradient(145deg, #0a101b 0%, rgba(91, 200, 255, 0.1) 100%) !important;
  border: 1px solid rgba(10, 108, 255, 0.18);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 5px 0 -1px #c7e0ff,
    0 6px 0 0 #9ec8ff,
    0 12px 16px -10px rgba(10, 108, 255, 0.35) !important;
}
body.fgs .fgs-card--violet .fgs-card__icon {
  color: #fff !important;
  background: linear-gradient(145deg, #9b8cff 0%, #7c5cff 100%) !important;
  border-color: rgba(124, 92, 255, 0.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 5px 0 -1px #9b8cff,
    0 6px 0 0 #5b3fd4,
    0 12px 16px -10px rgba(124, 92, 255, 0.4) !important;
}

@media (prefers-reduced-motion: reduce) {
  body.fgs .fgx-card__icon,
  body.fgs .fgx-card:hover .fgx-card__icon {
    transform: none;
  }
}
