/* Custom utilities and overrides for VisualAnalytics.com */

.tm-mark sup {
  font-size: 0.55em;
  vertical-align: top;
  margin-left: 0.05rem;
}

.gradient-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1f2937 35%, rgba(236,72,153,0.35) 70%, rgba(59,130,246,0.4) 100%);
}

.rainbow-border {
  position: relative;
  isolation: isolate;
}

.rainbow-border::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 1rem;
  padding: 2px;
  background: linear-gradient(135deg, #ec4899, #f59e0b, #22d3ee, #6366f1);
  z-index: -2;
}

.rainbow-border::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: calc(1rem - 1px);
  background: #0f172a;
  z-index: -1;
}

.pin-stripe {
  background-image: linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 8px 100%;
}

.sticky-nav-shadow {
  box-shadow: 0 1px 12px rgba(15, 23, 42, 0.25);
}

.nav-overlay {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
}

.nav-overlay-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
}

.ad-unit {
  border-radius: 1rem;
  border: 3px double rgba(148, 163, 184, 0.25);
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.35);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.ad-unit img {
  width: 100%;
  height: auto;
  display: block;
}

.tag-pill {
  border-radius: 9999px;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.6);
}

.footer-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.billboard-slot {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(192, 38, 211, 0.15));
}

.leaderboard-slot {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(96, 165, 250, 0.15));
}

.leaderboard-slot .ad-unit,
.billboard-slot .ad-unit {
  padding: 0.35rem;
  width: 100%;
  max-width: 728px;
  margin: 0 auto;
}

.billboard-slot .ad-unit {
  max-width: 970px;
}

.square-slot {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(16, 185, 129, 0.2));
  padding: 1rem;
  display: flex;
  justify-content: center;
}

.square-slot .ad-unit {
  max-width: 250px;
  width: 100%;
  padding: 0.25rem;
}

.halfpage-slot {
  background: linear-gradient(135deg, rgba(248, 113, 113, 0.2), rgba(251, 191, 36, 0.2));
  padding: 1rem;
  display: flex;
  justify-content: center;
}

.halfpage-slot .ad-unit {
  max-width: 300px;
  width: 100%;
  padding: 0.25rem;
}

.blog-hero {
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.6), rgba(236, 72, 153, 0.4));
}

.cta-gradient {
  background: linear-gradient(135deg, #ec4899, #6366f1);
}

.cta-gradient:hover {
  background: linear-gradient(135deg, #6366f1, #ec4899);
}
