/* ═══════════════════════════════════════════════
   THRIVE TECHNICAL TALENT — DESIGN ENHANCEMENTS
   Layers on top of styles.css — no overrides
   ═══════════════════════════════════════════════ */

/* ── TICKER (replaces topbar static content) ── */
.topbar {
  overflow: hidden !important;
  padding: 0 !important;
  cursor: default;
}
.ticker-wrapper {
  display: flex;
  align-items: center;
  height: 100%;
  overflow: hidden;
  width: 100%;
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: thrive-ticker 45s linear infinite;
  will-change: transform;
}
.ticker-track:hover {
  animation-play-state: paused;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 2.8rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9CA3AF;
  white-space: nowrap;
  flex-shrink: 0;
}
.ticker-item.ticker-blue {
  color: #38B6FF;
}
.ticker-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(56, 182, 255, 0.4);
  flex-shrink: 0;
}
@keyframes thrive-ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── DIAGONAL SECTION DIVIDER ── */
.section-diag {
  overflow: hidden;
  line-height: 0;
  margin: 0;
  padding: 0;
  height: 44px;
  pointer-events: none;
}
.section-diag svg {
  display: block;
  width: 100%;
  height: 44px;
}

/* ── SECTOR CARD TILT ── */
.sector-card {
  will-change: transform;
  transition: box-shadow 0.4s ease, transform 0.5s ease;
}
.sector-card:hover {
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(56,182,255,0.15);
}

/* ── PROCESS LINE DRAW ANIMATION ── */
.proc-draw-line {
  position: absolute;
  top: 20px;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, rgba(56,182,255,0.6), rgba(56,182,255,0.2));
  transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 0;
}
.proc-draw-line.drawn {
  width: 100%;
}
@keyframes circle-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(56,182,255,0.5); }
  60%  { box-shadow: 0 0 0 12px rgba(56,182,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(56,182,255,0); }
}
.proc-circle.pulse-in {
  animation: circle-pulse 1s ease-out forwards;
}

/* ── PAGE HERO GRID ATMOSPHERE ── */
.page-hero {
  position: relative;
  overflow: hidden;
}
.page-hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56,182,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,182,255,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
}
.page-hero-glow-bg {
  position: absolute;
  top: -80px;
  right: 8%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(56,182,255,0.09) 0%, transparent 68%);
  pointer-events: none;
  border-radius: 50%;
  z-index: 0;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
}

/* ── MOUSE-FOLLOW HERO GLOW ── */
.hero-cursor-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(56,182,255,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease;
  top: 0;
  left: 0;
}

/* ── ROLE PILL STAGGER REVEAL ── */
.role-pill-hidden {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s, color 0.2s;
}
.role-pill-hidden.pill-shown {
  opacity: 1;
  transform: scale(1);
}

/* ── COMPARISON CARD ENTRANCE ── */
.grid-2 .reveal:nth-child(2) {
  transition-delay: 0.12s;
}

/* ── KPI ANIMATE ── */
.kpi-big, .mini-kpi .n {
  will-change: contents;
}

/* ── STATS STRIP ITEM REVEAL ── */
.stat-block {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
