/* Move only the TRACE grid; the logo, glow, and labels stay still. */
.platform-product-trace .platform-product-visual {
  background-image:
    linear-gradient(rgba(79, 168, 201, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 168, 201, 0.14) 1px, transparent 1px),
    radial-gradient(circle at 50% 48%, rgba(149, 181, 82, 0.14), transparent 38%),
    linear-gradient(#102b3d, #102b3d);
}

@media (prefers-reduced-motion: no-preference) {
  .platform-product-trace .platform-product-visual {
    animation: trace-engine-grid-drift 6s linear infinite;
  }
}

@keyframes trace-engine-grid-drift {
  from { background-position: 0 0, 0 0, center, center; }
  to { background-position: 24px 24px, 24px 24px, center, center; }
}

/* A decorative walkthrough: roles, candidates, then a progress sweep. */
@media (prefers-reduced-motion: no-preference) {
  .platform-product-talent .talent-role-card {
    animation: talent-workflow-select 9s ease-in-out infinite;
  }
  .platform-product-talent .talent-role-card:nth-child(2) {
    animation-delay: 2.5s;
  }
  .platform-product-talent .talent-signal-row span {
    animation: talent-workflow-progress 9s ease-in-out infinite;
    transform-origin: left center;
  }
  .platform-product-talent .talent-signal-row span:nth-child(2) { animation-delay: 0.3s; }
  .platform-product-talent .talent-signal-row span:nth-child(3) { animation-delay: 0.6s; }
  .platform-product-talent .talent-signal-row span:nth-child(4) { animation-delay: 0.9s; }
}

@keyframes talent-workflow-select {
  0%, 30%, 100% {
    background-color: rgba(255, 255, 255, 0.055);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
  }
  8%, 22% {
    background-color: rgba(79, 168, 201, 0.2);
    border-color: rgba(105, 189, 220, 0.65);
    box-shadow: inset 3px 0 0 #69bddc, 0 0 14px rgba(79, 168, 201, 0.12);
  }
}

@keyframes talent-workflow-progress {
  0%, 48%, 82%, 100% { transform: scaleX(1); opacity: 0.75; }
  53% { transform: scaleX(0.2); opacity: 0.45; }
  70% { transform: scaleX(1); opacity: 1; background-color: #b9dc6b; }
}

/* Decorative pointer follows the same nine-second walkthrough as the rows. */
@media (prefers-reduced-motion: no-preference) {
  .platform-product-talent .talent-workspace-body {
    position: relative;
  }
  .platform-product-talent .talent-workspace-body::after {
    content: '';
    position: absolute;
    z-index: 5;
    top: 2.6rem;
    left: 76%;
    width: 1.15rem;
    height: 1.5rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 26'%3E%3Cpath d='M2 2v19l5-5 4 8 4-2-4-8h7Z' fill='%23f4fbff' stroke='%232b6078' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.45));
    pointer-events: none;
    transform-origin: top left;
    animation: talent-workflow-cursor 9s ease-in-out infinite;
  }
}

@keyframes talent-workflow-cursor {
  0%, 100% { opacity: 0; transform: translate(1rem, 1rem); }
  5%, 7%, 11%, 24% { opacity: 1; transform: translate(0, 0) scale(1); }
  8% { opacity: 1; transform: translate(0, 0) scale(0.82); }
  33%, 35%, 39%, 65% { opacity: 1; transform: translate(-0.45rem, 4.2rem) scale(1); }
  36% { opacity: 1; transform: translate(-0.45rem, 4.2rem) scale(0.82); }
  76%, 95% { opacity: 0; transform: translate(0.5rem, 5rem); }
}
