/* Grounded Studios hub landing polish.
   Ambient glassmorphism, premium app tiles, featured pricing, trust bar. */

/* Ambient indigo/cyan/amber glow field behind the whole page. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(640px 420px at 14% -2%, rgba(99, 102, 241, .16), transparent 62%),
    radial-gradient(520px 320px at 86% 4%, rgba(34, 211, 238, .12), transparent 60%),
    radial-gradient(760px 520px at 50% 112%, rgba(245, 158, 11, .10), transparent 62%);
}

/* Hero: layered ambient gradient. */
header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(245, 158, 11, .16), transparent 70%),
    radial-gradient(ellipse 45% 35% at 22% 0%, rgba(99, 102, 241, .18), transparent 70%),
    radial-gradient(ellipse 45% 35% at 78% 0%, rgba(34, 211, 238, .14), transparent 70%);
}

/* App tiles: glass lift + glow. */
#apps .grid > div {
  background: rgba(28, 25, 23, .52);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .08);
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), box-shadow .28s, border-color .28s;
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
  #apps .grid > div:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 158, 11, .25);
    box-shadow:
      0 26px 54px -22px rgba(0, 0, 0, .72),
      0 0 44px -12px rgba(245, 158, 11, .18);
  }
}

/* Pricing tiles: glass + featured glow on Pro. */
#pricing .grid > div {
  background: rgba(28, 25, 23, .52);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .08);
}
#pricing .grid > div:nth-child(3) {
  position: relative;
  box-shadow: 0 0 54px -14px rgba(245, 158, 11, .4);
}
#pricing .grid > div:nth-child(3)::before {
  content: "Most Popular";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #1c1917;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .06em;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

/* CTA warmth. */
#pricing a:hover,
#apps a:hover {
  filter: brightness(1.08);
}

/* Trust bar. */
#gs-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}
#gs-trust .gs-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  font-size: 16px;
  font-weight: 500;
  color: #e7e5e4;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
#gs-trust .gs-trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 10px rgba(52, 211, 153, .8);
}

/* Mobile nav sizing — keep the banner compact on small screens. */
@media (max-width: 639px) {
  nav a img { height: 64px !important; }
  nav a span { font-size: 1.125rem !important; }
}
