/* Landing page specific styles (shared styles are in shared.css) */

/* ── ATS abbreviation tooltip ─────────────────────────── */
.abbr-ats {
  position: relative;
  text-decoration: none;
  cursor: help;
  padding-bottom: 2px;
  border-bottom: 2px dashed #0077b5;
  /* Re-apply gradient since parent background-clip:text makes child text invisible */
  background: linear-gradient(135deg, #0077b5 0%, #00a0dc 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* Tooltip box */
.abbr-ats::before {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%) translateY(6px);
  white-space: nowrap;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: #f1f5f9;
  -webkit-text-fill-color: #f1f5f9;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 8px 14px;
  border-radius: 8px;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.05);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 50;
}

.abbr-ats:hover::before,
.abbr-ats:focus::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Counter animation placeholder */
.counter-value {
  display: inline-block;
}

/* Smooth image reveal */
.img-reveal {
  overflow: hidden;
}

.img-reveal img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Subtle background parallax */
.parallax-bg {
  will-change: transform;
}

/* Hide scrollbar for carousel */
#templatesCarousel::-webkit-scrollbar {
  display: none;
}

#templatesCarousel {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
